Re: [PATCH] net/ixgbe: do not update link status in secondary process

2024-04-04 Thread Bruce Richardson
On Wed, Mar 20, 2024 at 10:33:04AM -0700, Stephen Hemminger wrote: > The code to update link status is not safe in secondary process. > If called from secondary it will crash, example from dumpcap: > ixgbe_dev_link_update_share() > ixgbe_dev_link_update() > rte_eth_link_get() >

Re: [PATCH] net/ixgbe: do not update link status in secondary process

2024-03-20 Thread junwan...@cestc.cn
I tried this modification and it works as well. [root@compute3 /]# /dpdk/app/dpdk-dumpcap -i :18:00.0 File: /tmp/dpdk-dumpcap_0_:18:00.0_20240321043451.pcapng Capturing on ':18:00.0' Packets captured: 499 ^C Packets received/dropped on interface ':18:00.0': 499/0 (100.0) diff --gi