Re: [dpdk-dev] [PATCH] drivers/net/bonding: fix updating the slave link status

2017-04-27 Thread Ferruh Yigit
On 4/27/2017 3:28 PM, Declan Doherty wrote: > On 25/04/2017 7:30 AM, wang wei wrote: >> we need to update dev->data->dev_link before handling lsc event. >> Otherwise it will still have the initial value after the startup of >> the program before interrupt callback was executed. >> >> Signed-off-by:

Re: [dpdk-dev] [PATCH] drivers/net/bonding: fix updating the slave link status

2017-04-27 Thread Declan Doherty
On 25/04/2017 7:30 AM, wang wei wrote: we need to update dev->data->dev_link before handling lsc event. Otherwise it will still have the initial value after the startup of the program before interrupt callback was executed. Signed-off-by: wang wei --- drivers/net/bonding/rte_eth_bond_pmd.c | 4

[dpdk-dev] [PATCH] drivers/net/bonding: fix updating the slave link status

2017-04-24 Thread wang wei
we need to update dev->data->dev_link before handling lsc event. Otherwise it will still have the initial value after the startup of the program before interrupt callback was executed. Signed-off-by: wang wei --- drivers/net/bonding/rte_eth_bond_pmd.c | 4 +++- 1 file changed, 3 insertions(+), 1

[dpdk-dev] [PATCH] drivers/net/bonding: fix updating the slave link status

2017-04-24 Thread wang wei
we need to update dev->data->dev_link before handling lsc event. Otherwise it will still have the initial value after the startup of the program before interrupt callback was executed. Signed-off-by: wang wei --- drivers/net/bonding/rte_eth_bond_pmd.c | 4 +++- 1 file changed, 3 insertions(+), 1