Re: [dpdk-dev] [DPDK] net/ixgbe: fix status synchronization on BSD

2020-04-25 Thread Peng, ZhihongX
: Stephen Hemminger [mailto:step...@networkplumber.org] Sent: Friday, March 27, 2020 6:02 AM To: Peng, ZhihongX Cc: Ye, Xiaolong ; Lu, Wenzhuo ; Ananyev, Konstantin ; dev@dpdk.org; Wang, Liang-min Subject: Re: [dpdk-dev] [DPDK] net/ixgbe: fix status synchronization on BSD On Tue, 24 Mar 2020 23:31

Re: [dpdk-dev] [DPDK] net/ixgbe: fix status synchronization on BSD

2020-03-26 Thread Stephen Hemminger
On Tue, 24 Mar 2020 23:31:11 -0400 zhihongx.p...@intel.com wrote: > +/*BSD has no interrupt mechanism, so force NIC status synchronization.*/ > +#ifdef RTE_EXEC_ENV_FREEBSD > + wait = 1; > +#endif > + Please format comments correctly. Is there a better way to detect interrupt mechanism with a

[dpdk-dev] [DPDK] net/ixgbe: fix status synchronization on BSD

2020-03-26 Thread zhihongx . peng
From: Peng Zhihong DPDK does not implement interrupt mechanism on BSD, so force NIC status synchronization. Fixes: dc66e5fd01b9 (net/ixgbe: improve link state check on VF) Cc: liang-min.w...@intel.com Signed-off-by: Peng Zhihong --- drivers/net/ixgbe/ixgbe_ethdev.c | 5 + 1 file changed,

[dpdk-dev] [DPDK] net/ixgbe: fix status synchronization on BSD

2020-03-25 Thread zhihongx . peng
From: Peng Zhihong DPDK does not implement interrupt mechanism on BSD, so force NIC status synchronization. Fixes: dc66e5fd01b9 (net/ixgbe: improve link state check on VF) Cc: liang-min.w...@intel.com Signed-off-by: Peng Zhihong --- drivers/net/ixgbe/ixgbe_ethdev.c | 5 + 1 file changed,