DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] net/vmxnet3: Don't enable rx queue interrupts on FreeBSD
@ 2024-03-20 13:02 Tom Jones
  2024-03-21  9:50 ` Tom Jones
  2024-03-21 10:31 ` Tom Jones
  0 siblings, 2 replies; 6+ messages in thread
From: Tom Jones @ 2024-03-20 13:02 UTC (permalink / raw)
  To: jbehrens; +Cc: dev, thj

Commit 29a1c9107bb disabled interrupts on FreeBSD for the vmxnet3 driver
as they are not supported. Rx queue interrupts were missed by this
change, don't attempt to enable them on FreeBSD.

Without this change applications enabling interrupts encounter an
immediate abort on FreeBSD.

Signed-off-by: Tom Jones <thj@freebsd.org>
---
 drivers/net/vmxnet3/vmxnet3_ethdev.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c b/drivers/net/vmxnet3/vmxnet3_ethdev.c
index 2707b25148..8b12967fa2 100644
--- a/drivers/net/vmxnet3/vmxnet3_ethdev.c
+++ b/drivers/net/vmxnet3/vmxnet3_ethdev.c
@@ -1938,9 +1938,11 @@ vmxnet3_dev_rx_queue_intr_enable(struct rte_eth_dev *dev, uint16_t queue_id)
 {
 	struct vmxnet3_hw *hw = dev->data->dev_private;
 
+#ifndef RTE_EXEC_ENV_FREEBSD
 	vmxnet3_enable_intr(hw,
 			    rte_intr_vec_list_index_get(dev->intr_handle,
 							       queue_id));
+#endif
 
 	return 0;
 }
-- 
2.43.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-03-21 14:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-20 13:02 [PATCH] net/vmxnet3: Don't enable rx queue interrupts on FreeBSD Tom Jones
2024-03-21  9:50 ` Tom Jones
2024-03-21 10:15   ` David Marchand
2024-03-21 10:33     ` Tom Jones
2024-03-21 10:31 ` Tom Jones
2024-03-21 14:30   ` Ferruh Yigit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).