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

2024-07-22 Thread Jun Wang
} /usr/local/bin/dpdk-devbind.py --status Network devices using DPDK-compatible driver :00:04.0 '82540EM Gigabit Ethernet Controller 100e' drv=uio_pci_generic unused= Network devices using kernel driver === :00:03.0 '82540EM Gigabit Ethernet Controller 100e' if=eth0 drv=e1000 unused=uio_pci_generic *Active* Jun Wang

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

2024-07-14 Thread Jun Wang
>> The code to update link status is not safe in secondary process. >> If called from secondary it will crash, example from dumpcap: >> eth_em_link_update >> >> Signed-off-by: Jun Wang > > Wouldn't it be better to fix the code in e1000_check_link

[PATCH v1] net/e1000: do not update link status in secondary process

2024-07-12 Thread Jun Wang
The code to update link status is not safe in secondary process. If called from secondary it will crash, example from dumpcap: eth_em_link_update Signed-off-by: Jun Wang --- drivers/net/e1000/em_ethdev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/e1000/em_ethdev.c b

[PATCH v1] net/mlx5: error cqe handle Tx queue need assert

2024-06-12 Thread Jun Wang
When encountering errors in handling some queues, we should assert here; otherwise, some queues will fail to send packets continuously, leading to traffic forwarding issues. Bugzilla ID: 1449 Signed-off-by: Jun Wang --- drivers/net/mlx5/mlx5_tx.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] net/ixgbe: using dpdk-dumpcap capture packet coredump

2024-03-19 Thread Jun Wang
Signed-off-by: Jun Wang --- drivers/net/ixgbe/ixgbe_ethdev.c | 73 1 file changed, 37 insertions(+), 36 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index c61c52b..0e624f5 100644 --- a/drivers/net/ixgbe