Re: [dpdk-dev] [PATCH v2] net/ice: invoke callback func when link status change

2019-10-16 Thread Ye Xiaolong
On 10/16, Leyi Rong wrote: >Needs to call _rte_eth_dev_callback_process to run registered >callbacks when link status change. > >Fixes: cf911d90e366 ("net/ice: support link update") > >Signed-off-by: Leyi Rong > >--- >v2: >- adds fixline in commit log. >--- > drivers/net/ice/ice_ethdev.c | 6 +

Re: [dpdk-dev] [PATCH v2] net/ice: invoke callback func when link status change

2019-10-16 Thread Rong, Leyi
> -Original Message- > From: Ye, Xiaolong > Sent: Wednesday, October 16, 2019 2:41 PM > To: Rong, Leyi > Cc: Lu, Wenzhuo ; Zhang, Qi Z ; > dev@dpdk.org > Subject: Re: [PATCH v2] net/ice: invoke callback func when link status change > > On 10/16, Leyi Rong wrote: > >Needs to call _rte_et

Re: [dpdk-dev] [PATCH v2] net/ice: invoke callback func when link status change

2019-10-15 Thread Ye Xiaolong
On 10/16, Leyi Rong wrote: >Needs to call _rte_eth_dev_callback_process to run registered >callbacks when link status change. > Is it a must to call _rte_eth_dev_callback_process after link status change, I see ice_link_update is also called in ice_dev_start, do we need to apply the same change th

[dpdk-dev] [PATCH v2] net/ice: invoke callback func when link status change

2019-10-15 Thread Leyi Rong
Needs to call _rte_eth_dev_callback_process to run registered callbacks when link status change. Fixes: cf911d90e366 ("net/ice: support link update") Signed-off-by: Leyi Rong --- v2: - adds fixline in commit log. --- drivers/net/ice/ice_ethdev.c | 6 +- 1 file changed, 5 insertions(+), 1 d