From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 9B1A0ADFF for ; Mon, 23 Feb 2015 12:39:26 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 23 Feb 2015 03:39:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,630,1418112000"; d="scan'208";a="670129734" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by fmsmga001.fm.intel.com with ESMTP; 23 Feb 2015 03:39:23 -0800 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.218]) by IRSMSX152.ger.corp.intel.com ([169.254.6.205]) with mapi id 14.03.0195.001; Mon, 23 Feb 2015 11:39:23 +0000 From: "Iremonger, Bernard" To: Tetsuya Mukawa , "dev@dpdk.org" Thread-Topic: [PATCH v11 08/13] ethdev: Add functions that will be used by port hotplug functions Thread-Index: AQHQTycGXLrs6bSSiES9nYKnm59F75z+EQVAgAAJlICAAACccA== Date: Mon, 23 Feb 2015 11:39:23 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C2049EBD4D@IRSMSX108.ger.corp.intel.com> References: <1424414390-18509-6-git-send-email-mukawa@igel.co.jp> <1424668171-8695-1-git-send-email-mukawa@igel.co.jp> <1424668171-8695-9-git-send-email-mukawa@igel.co.jp> <8CEF83825BEC744B83065625E567D7C2049EBD15@IRSMSX108.ger.corp.intel.com> <54EB0FE1.7060301@igel.co.jp> In-Reply-To: <54EB0FE1.7060301@igel.co.jp> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v11 08/13] ethdev: Add functions that will be used by port hotplug functions 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: Mon, 23 Feb 2015 11:39:27 -0000 > >> the pointer diff --git a/lib/librte_ether/rte_ether_version.map > >> b/lib/librte_ether/rte_ether_version.map > >> index f66fd2d..099c769 100644 > >> --- a/lib/librte_ether/rte_ether_version.map > >> +++ b/lib/librte_ether/rte_ether_version.map > >> @@ -6,6 +6,7 @@ DPDK_2.0 { > >> rte_eth_allmulticast_enable; > >> rte_eth_allmulticast_get; > >> rte_eth_dev_allocate; > >> + rte_eth_dev_allocated; > >> rte_eth_dev_bypass_event_show; > >> rte_eth_dev_bypass_event_store; > >> rte_eth_dev_bypass_init; > >> @@ -32,9 +33,14 @@ DPDK_2.0 { > >> rte_eth_dev_filter_supported; > >> rte_eth_dev_flow_ctrl_get; > >> rte_eth_dev_flow_ctrl_set; > >> + rte_eth_dev_get_addr_by_port; > >> + rte_eth_dev_get_changed_port; > > Hi Tetsuya, > > > > rte_eth_dev_get_device_type; > > > > needs to be added to rte_ether_version map to solve linking issue. >=20 > Hi Bernard, >=20 > Thanks. > Could you please let me know how can I check this linking issue on my env= ironment? > I will add it on my test. >=20 > Thanks, > Tetsuya >=20 Hi Tetsuya, In config/common_linuxapp With "CONFIG_RTE_BUILD_SHARED_LIB=3Dy" the follow linking error is occurri= ng LD test /root/dpdk_sforge_2/x86_64-native-linuxapp-gcc/lib/librte_eal.so: undefined= reference to `rte_eth_dev_get_device_type' collect2: error: ld returned 1 exit status make[5]: *** [test] Error 1 make[4]: *** [test] Error 2 make[3]: *** [app] Error 2 make[2]: *** [all] Error 2 make[1]: *** [x86_64-native-linuxapp-gcc_install] Error 2 make: *** [install] Error 2 Regards, Bernard. > > > > Regards, > > > > Bernard. > > > > > >> rte_eth_dev_get_mtu; > >> + rte_eth_dev_get_name_by_port; > >> + rte_eth_dev_get_port_by_addr; > >> rte_eth_dev_get_vlan_offload; > >> rte_eth_dev_info_get; > >> + rte_eth_dev_is_detachable; > >> rte_eth_dev_mac_addr_add; > >> rte_eth_dev_mac_addr_remove; > >> rte_eth_dev_priority_flow_ctrl_set; > >> @@ -44,6 +50,7 @@ DPDK_2.0 { > >> rte_eth_dev_rss_reta_update; > >> rte_eth_dev_rx_queue_start; > >> rte_eth_dev_rx_queue_stop; > >> + rte_eth_dev_save; > >> rte_eth_dev_set_link_down; > >> rte_eth_dev_set_link_up; > >> rte_eth_dev_set_mtu; > >> -- > >> 1.9.1