From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id C5860B62 for ; Tue, 26 Apr 2016 19:40:35 +0200 (CEST) Received: from hmsreliant.think-freely.org ([2001:470:8:a08:7aac:c0ff:fec2:933b] helo=localhost) by smtp.tuxdriver.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1av6yK-0002m3-UR; Tue, 26 Apr 2016 13:40:32 -0400 From: Neil Horman To: dev@dpdk.org Cc: David Marchand , Stephen Hemminger , bruce.richardson@intel.com, Panu Matilainen , Thomas Monjalon , Neil Horman Date: Tue, 26 Apr 2016 13:39:49 -0400 Message-Id: <1461692391-30093-3-git-send-email-nhorman@tuxdriver.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1461692391-30093-1-git-send-email-nhorman@tuxdriver.com> References: <1461692391-30093-1-git-send-email-nhorman@tuxdriver.com> X-Spam-Score: -1.0 (-) X-Spam-Status: No Subject: [dpdk-dev] [RFC PATCH 2/4] pmds: export this_pmd_driver* symbols X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2016 17:40:36 -0000 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 CC: David Marchand CC: Stephen Hemminger CC: "Richardson, Bruce" CC: Panu Matilainen CC: Thomas Monjalon --- 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 --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: *; }; -- 2.5.5