[dpdk-dev] [PATCH] i40e: fix no effect wait_to_complete on link_get

2015-04-02 Thread Stephen Hemminger
com] > > Sent: Thursday, April 02, 2015 3:52 AM > > To: Zhang, XiaonanX; Cao, Waterman > > Cc: dev at dpdk.org; Zhang, Helin; Liang, Cunming > > Subject: Re: [dpdk-dev] [PATCH] i40e: fix no effect wait_to_complete on > link_get > > > > Hi, > > >

[dpdk-dev] [PATCH] i40e: fix no effect wait_to_complete on link_get

2015-04-02 Thread Zhang, XiaonanX
[dpdk-dev] [PATCH] i40e: fix no effect wait_to_complete on link_get Hi, 2015-04-01 06:10, Zhang, XiaonanX: > > Tested-by: Xiaonan zhang > > - OS: Fedora21 3.19.1-201.fc21.x86_64 > - GCC: gcc version 4.9.1 20140930 (Red Hat 4.9.1-11) (GCC) > - CPU: Intel(R) Xeon(R) CPU E5-26

[dpdk-dev] [PATCH] i40e: fix no effect wait_to_complete on link_get

2015-04-02 Thread Liang, Cunming
Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Thursday, April 02, 2015 3:52 AM > To: Zhang, XiaonanX; Cao, Waterman > Cc: dev at dpdk.org; Zhang, Helin; Liang, Cunming > Subject: Re: [dpdk-dev] [PATCH] i40e: fix no effect wait_to_complete on > link_get > > Hi, >

[dpdk-dev] [PATCH] i40e: fix no effect wait_to_complete on link_get

2015-04-01 Thread Thomas Monjalon
> > API *rte_eth_link_get* expect to call a wait to complete link_update. > > That's the difference between *rte_eth_link_get_nowait*. > > The patch fixes the issue that i40e link_update ignores the wait_to_complete > > flag. > > The issue impacts those applications calling rte_eth_link_get to get

[dpdk-dev] [PATCH] i40e: fix no effect wait_to_complete on link_get

2015-04-01 Thread Thomas Monjalon
Hi, 2015-04-01 06:10, Zhang, XiaonanX: > > Tested-by: Xiaonan zhang > > - OS: Fedora21 3.19.1-201.fc21.x86_64 > - GCC: gcc version 4.9.1 20140930 (Red Hat 4.9.1-11) (GCC) > - CPU: Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz > - NIC: Ethernet controller [0200]: Intel Corporation Ethernet Controller

[dpdk-dev] [PATCH] i40e: fix no effect wait_to_complete on link_get

2015-04-01 Thread Cunming Liang
API *rte_eth_link_get* expect to call a wait to complete link_update. That's the difference between *rte_eth_link_get_nowait*. The patch fixes the issue that i40e link_update ignores the wait_to_complete flag. The issue impacts those applications calling rte_eth_link_get to get wrong intermediate

[dpdk-dev] [PATCH] i40e: fix no effect wait_to_complete on link_get

2015-04-01 Thread Zhang, XiaonanX
Tested-by: Xiaonan zhang - OS: Fedora21 3.19.1-201.fc21.x86_64 - GCC: gcc version 4.9.1 20140930 (Red Hat 4.9.1-11) (GCC) - CPU: Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz - NIC: Ethernet controller [0200]: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ [8086:1572] (rev 01) - Default x

[dpdk-dev] [PATCH] i40e: fix no effect wait_to_complete on link_get

2015-04-01 Thread Zhang, Helin
> -Original Message- > From: Liang, Cunming > Sent: Wednesday, April 1, 2015 10:34 AM > To: dev at dpdk.org > Cc: Zhang, Helin; Zhang, XiaonanX; Dumitrescu, Cristian; Liang, Cunming > Subject: [PATCH] i40e: fix no effect wait_to_complete on link_get > > API *rte_eth_link_get* expect to c