diff mbox

[dpdk-dev,RFC,2/4] pmds: export this_pmd_driver* symbols

Message ID 1461692391-30093-3-git-send-email-nhorman@tuxdriver.com (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Neil Horman April 26, 2016, 5:39 p.m. UTC
Because the DPDK DSO's are opt-in for symbol export, we need to add the symbols
that the modified PMD_REGISTER_DRIVER macro creates so that external
applications can see them

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
CC: David Marchand <david.marchand@6wind.com>
CC: Stephen Hemminger <stephen@networkplumber.org>
CC: "Richardson, Bruce" <bruce.richardson@intel.com>
CC: Panu Matilainen <pmatilai@redhat.com>
CC: Thomas Monjalon <thomas.monjalon@6wind.com>
---
 drivers/crypto/aesni_gcm/rte_pmd_aesni_gcm_version.map | 1 +
 drivers/crypto/aesni_mb/rte_pmd_aesni_version.map      | 1 +
 drivers/crypto/null/rte_pmd_null_crypto_version.map    | 1 +
 drivers/crypto/qat/rte_pmd_qat_version.map             | 3 ++-
 drivers/crypto/snow3g/rte_pmd_snow3g_version.map       | 1 +
 drivers/net/af_packet/rte_pmd_af_packet_version.map    | 2 +-
 drivers/net/bnx2x/rte_pmd_bnx2x_version.map            | 1 +
 drivers/net/bonding/rte_eth_bond_version.map           | 1 +
 drivers/net/cxgbe/rte_pmd_cxgbe_version.map            | 2 +-
 drivers/net/e1000/rte_pmd_e1000_version.map            | 2 +-
 drivers/net/ena/rte_pmd_ena_version.map                | 1 +
 drivers/net/enic/rte_pmd_enic_version.map              | 1 +
 drivers/net/fm10k/rte_pmd_fm10k_version.map            | 1 +
 drivers/net/i40e/rte_pmd_i40e_version.map              | 1 +
 drivers/net/ixgbe/rte_pmd_ixgbe_version.map            | 2 +-
 drivers/net/mlx4/rte_pmd_mlx4_version.map              | 1 +
 drivers/net/mlx5/rte_pmd_mlx5_version.map              | 1 +
 drivers/net/mpipe/rte_pmd_mpipe_version.map            | 1 +
 drivers/net/nfp/rte_pmd_nfp_version.map                | 1 +
 drivers/net/null/rte_pmd_null_version.map              | 2 +-
 drivers/net/pcap/rte_pmd_pcap_version.map              | 2 +-
 drivers/net/szedata2/rte_pmd_szedata2_version.map      | 1 +
 drivers/net/vhost/rte_pmd_vhost_version.map            | 1 +
 drivers/net/virtio/rte_pmd_virtio_version.map          | 2 +-
 drivers/net/vmxnet3/rte_pmd_vmxnet3_version.map        | 2 +-
 25 files changed, 26 insertions(+), 9 deletions(-)
diff mbox

Patch

diff --git a/drivers/crypto/aesni_gcm/rte_pmd_aesni_gcm_version.map b/drivers/crypto/aesni_gcm/rte_pmd_aesni_gcm_version.map
index dc4d417..62341f9 100644
--- a/drivers/crypto/aesni_gcm/rte_pmd_aesni_gcm_version.map
+++ b/drivers/crypto/aesni_gcm/rte_pmd_aesni_gcm_version.map
@@ -1,3 +1,4 @@ 
 DPDK_16.04 {
+	global: this_pmd_driver*;
 	local: *;
 };
diff --git a/drivers/crypto/aesni_mb/rte_pmd_aesni_version.map b/drivers/crypto/aesni_mb/rte_pmd_aesni_version.map
index ad607bb..6f727b0 100644
--- a/drivers/crypto/aesni_mb/rte_pmd_aesni_version.map
+++ b/drivers/crypto/aesni_mb/rte_pmd_aesni_version.map
@@ -1,3 +1,4 @@ 
 DPDK_2.2 {
+	global: this_pmd_driver*;
 	local: *;
 };
diff --git a/drivers/crypto/null/rte_pmd_null_crypto_version.map b/drivers/crypto/null/rte_pmd_null_crypto_version.map
index dc4d417..62341f9 100644
--- a/drivers/crypto/null/rte_pmd_null_crypto_version.map
+++ b/drivers/crypto/null/rte_pmd_null_crypto_version.map
@@ -1,3 +1,4 @@ 
 DPDK_16.04 {
+	global: this_pmd_driver*;
 	local: *;
 };
diff --git a/drivers/crypto/qat/rte_pmd_qat_version.map b/drivers/crypto/qat/rte_pmd_qat_version.map
index bbaf1c8..6f727b0 100644
--- a/drivers/crypto/qat/rte_pmd_qat_version.map
+++ b/drivers/crypto/qat/rte_pmd_qat_version.map
@@ -1,3 +1,4 @@ 
 DPDK_2.2 {
+	global: this_pmd_driver*;
 	local: *;
-};
\ No newline at end of file
+};
diff --git a/drivers/crypto/snow3g/rte_pmd_snow3g_version.map b/drivers/crypto/snow3g/rte_pmd_snow3g_version.map
index dc4d417..62341f9 100644
--- a/drivers/crypto/snow3g/rte_pmd_snow3g_version.map
+++ b/drivers/crypto/snow3g/rte_pmd_snow3g_version.map
@@ -1,3 +1,4 @@ 
 DPDK_16.04 {
+	global: this_pmd_driver*;
 	local: *;
 };
diff --git a/drivers/net/af_packet/rte_pmd_af_packet_version.map b/drivers/net/af_packet/rte_pmd_af_packet_version.map
index ef35398..55e2bb1 100644
--- a/drivers/net/af_packet/rte_pmd_af_packet_version.map
+++ b/drivers/net/af_packet/rte_pmd_af_packet_version.map
@@ -1,4 +1,4 @@ 
 DPDK_2.0 {
-
+	global: this_pmd_driver*;
 	local: *;
 };
diff --git a/drivers/net/bnx2x/rte_pmd_bnx2x_version.map b/drivers/net/bnx2x/rte_pmd_bnx2x_version.map
index bd8138a..0fccfa3 100644
--- a/drivers/net/bnx2x/rte_pmd_bnx2x_version.map
+++ b/drivers/net/bnx2x/rte_pmd_bnx2x_version.map
@@ -1,4 +1,5 @@ 
 DPDK_2.1 {
+	global: this_pmd_driver*;
 
 	local: *;
 };
diff --git a/drivers/net/bonding/rte_eth_bond_version.map b/drivers/net/bonding/rte_eth_bond_version.map
index 22bd920..1071960 100644
--- a/drivers/net/bonding/rte_eth_bond_version.map
+++ b/drivers/net/bonding/rte_eth_bond_version.map
@@ -17,6 +17,7 @@  DPDK_2.0 {
 	rte_eth_bond_slaves_get;
 	rte_eth_bond_xmit_policy_get;
 	rte_eth_bond_xmit_policy_set;
+	this_pmd_driver*;
 
 	local: *;
 };
diff --git a/drivers/net/cxgbe/rte_pmd_cxgbe_version.map b/drivers/net/cxgbe/rte_pmd_cxgbe_version.map
index bd8138a..6d92937 100644
--- a/drivers/net/cxgbe/rte_pmd_cxgbe_version.map
+++ b/drivers/net/cxgbe/rte_pmd_cxgbe_version.map
@@ -1,4 +1,4 @@ 
 DPDK_2.1 {
-
+	global: this_pmd_driver*;
 	local: *;
 };
diff --git a/drivers/net/e1000/rte_pmd_e1000_version.map b/drivers/net/e1000/rte_pmd_e1000_version.map
index ef35398..55e2bb1 100644
--- a/drivers/net/e1000/rte_pmd_e1000_version.map
+++ b/drivers/net/e1000/rte_pmd_e1000_version.map
@@ -1,4 +1,4 @@ 
 DPDK_2.0 {
-
+	global: this_pmd_driver*;
 	local: *;
 };
diff --git a/drivers/net/ena/rte_pmd_ena_version.map b/drivers/net/ena/rte_pmd_ena_version.map
index 349c6e1..1151a0a 100644
--- a/drivers/net/ena/rte_pmd_ena_version.map
+++ b/drivers/net/ena/rte_pmd_ena_version.map
@@ -1,4 +1,5 @@ 
 DPDK_16.04 {
+	global: this_pmd_driver*;
 
 	local: *;
 };
diff --git a/drivers/net/enic/rte_pmd_enic_version.map b/drivers/net/enic/rte_pmd_enic_version.map
index ef35398..c86becc 100644
--- a/drivers/net/enic/rte_pmd_enic_version.map
+++ b/drivers/net/enic/rte_pmd_enic_version.map
@@ -1,4 +1,5 @@ 
 DPDK_2.0 {
+	global: this_pmd_driver*;
 
 	local: *;
 };
diff --git a/drivers/net/fm10k/rte_pmd_fm10k_version.map b/drivers/net/fm10k/rte_pmd_fm10k_version.map
index ef35398..c86becc 100644
--- a/drivers/net/fm10k/rte_pmd_fm10k_version.map
+++ b/drivers/net/fm10k/rte_pmd_fm10k_version.map
@@ -1,4 +1,5 @@ 
 DPDK_2.0 {
+	global: this_pmd_driver*;
 
 	local: *;
 };
diff --git a/drivers/net/i40e/rte_pmd_i40e_version.map b/drivers/net/i40e/rte_pmd_i40e_version.map
index ef35398..c86becc 100644
--- a/drivers/net/i40e/rte_pmd_i40e_version.map
+++ b/drivers/net/i40e/rte_pmd_i40e_version.map
@@ -1,4 +1,5 @@ 
 DPDK_2.0 {
+	global: this_pmd_driver*;
 
 	local: *;
 };
diff --git a/drivers/net/ixgbe/rte_pmd_ixgbe_version.map b/drivers/net/ixgbe/rte_pmd_ixgbe_version.map
index ef35398..55e2bb1 100644
--- a/drivers/net/ixgbe/rte_pmd_ixgbe_version.map
+++ b/drivers/net/ixgbe/rte_pmd_ixgbe_version.map
@@ -1,4 +1,4 @@ 
 DPDK_2.0 {
-
+	global: this_pmd_driver*;
 	local: *;
 };
diff --git a/drivers/net/mlx4/rte_pmd_mlx4_version.map b/drivers/net/mlx4/rte_pmd_mlx4_version.map
index ef35398..c86becc 100644
--- a/drivers/net/mlx4/rte_pmd_mlx4_version.map
+++ b/drivers/net/mlx4/rte_pmd_mlx4_version.map
@@ -1,4 +1,5 @@ 
 DPDK_2.0 {
+	global: this_pmd_driver*;
 
 	local: *;
 };
diff --git a/drivers/net/mlx5/rte_pmd_mlx5_version.map b/drivers/net/mlx5/rte_pmd_mlx5_version.map
index ad607bb..6f727b0 100644
--- a/drivers/net/mlx5/rte_pmd_mlx5_version.map
+++ b/drivers/net/mlx5/rte_pmd_mlx5_version.map
@@ -1,3 +1,4 @@ 
 DPDK_2.2 {
+	global: this_pmd_driver*;
 	local: *;
 };
diff --git a/drivers/net/mpipe/rte_pmd_mpipe_version.map b/drivers/net/mpipe/rte_pmd_mpipe_version.map
index ad607bb..6f727b0 100644
--- a/drivers/net/mpipe/rte_pmd_mpipe_version.map
+++ b/drivers/net/mpipe/rte_pmd_mpipe_version.map
@@ -1,3 +1,4 @@ 
 DPDK_2.2 {
+	global: this_pmd_driver*;
 	local: *;
 };
diff --git a/drivers/net/nfp/rte_pmd_nfp_version.map b/drivers/net/nfp/rte_pmd_nfp_version.map
index ad607bb..6f727b0 100644
--- a/drivers/net/nfp/rte_pmd_nfp_version.map
+++ b/drivers/net/nfp/rte_pmd_nfp_version.map
@@ -1,3 +1,4 @@ 
 DPDK_2.2 {
+	global: this_pmd_driver*;
 	local: *;
 };
diff --git a/drivers/net/null/rte_pmd_null_version.map b/drivers/net/null/rte_pmd_null_version.map
index 84b1d0f..15488cf 100644
--- a/drivers/net/null/rte_pmd_null_version.map
+++ b/drivers/net/null/rte_pmd_null_version.map
@@ -4,7 +4,7 @@  DPDK_2.0 {
 };
 
 DPDK_2.2 {
-	global:
+	global: this_pmd_driver*;
 
 	eth_dev_null_create;
 
diff --git a/drivers/net/pcap/rte_pmd_pcap_version.map b/drivers/net/pcap/rte_pmd_pcap_version.map
index ef35398..55e2bb1 100644
--- a/drivers/net/pcap/rte_pmd_pcap_version.map
+++ b/drivers/net/pcap/rte_pmd_pcap_version.map
@@ -1,4 +1,4 @@ 
 DPDK_2.0 {
-
+	global: this_pmd_driver*;
 	local: *;
 };
diff --git a/drivers/net/szedata2/rte_pmd_szedata2_version.map b/drivers/net/szedata2/rte_pmd_szedata2_version.map
index ad607bb..6f727b0 100644
--- a/drivers/net/szedata2/rte_pmd_szedata2_version.map
+++ b/drivers/net/szedata2/rte_pmd_szedata2_version.map
@@ -1,3 +1,4 @@ 
 DPDK_2.2 {
+	global: this_pmd_driver*;
 	local: *;
 };
diff --git a/drivers/net/vhost/rte_pmd_vhost_version.map b/drivers/net/vhost/rte_pmd_vhost_version.map
index 65bf3a8..16c142a 100644
--- a/drivers/net/vhost/rte_pmd_vhost_version.map
+++ b/drivers/net/vhost/rte_pmd_vhost_version.map
@@ -5,6 +5,7 @@  DPDK_16.04 {
 	rte_eth_vhost_feature_enable;
 	rte_eth_vhost_feature_get;
 	rte_eth_vhost_get_queue_event;
+	this_pmd_driver*;
 
 	local: *;
 };
diff --git a/drivers/net/virtio/rte_pmd_virtio_version.map b/drivers/net/virtio/rte_pmd_virtio_version.map
index ef35398..55e2bb1 100644
--- a/drivers/net/virtio/rte_pmd_virtio_version.map
+++ b/drivers/net/virtio/rte_pmd_virtio_version.map
@@ -1,4 +1,4 @@ 
 DPDK_2.0 {
-
+	global: this_pmd_driver*;
 	local: *;
 };
diff --git a/drivers/net/vmxnet3/rte_pmd_vmxnet3_version.map b/drivers/net/vmxnet3/rte_pmd_vmxnet3_version.map
index ef35398..55e2bb1 100644
--- a/drivers/net/vmxnet3/rte_pmd_vmxnet3_version.map
+++ b/drivers/net/vmxnet3/rte_pmd_vmxnet3_version.map
@@ -1,4 +1,4 @@ 
 DPDK_2.0 {
-
+	global: this_pmd_driver*;
 	local: *;
 };