aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/dev_iavf/port.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2024-10-08 23:14:49 +0200
committerFlorin Coras <florin.coras@gmail.com>2024-10-08 23:33:02 +0000
commitcda500bddc758da5b4289b259b7ac70bbb5f3039 (patch)
treefc5879193c42b50f071ae45890ae5fa4ed452450 /src/plugins/dev_iavf/port.c
parent623147bfdaf55ea14569209d14d429d675f56a5f (diff)
dev: add helper functions
Type: improvement Change-Id: I7c9e882b1cdf141b34e84dbfed46b392624d1f62 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/dev_iavf/port.c')
-rw-r--r--src/plugins/dev_iavf/port.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/dev_iavf/port.c b/src/plugins/dev_iavf/port.c
index f1578fccb59..54f5f1d1515 100644
--- a/src/plugins/dev_iavf/port.c
+++ b/src/plugins/dev_iavf/port.c
@@ -263,7 +263,7 @@ avf_msix_n_handler (vlib_main_t *vm, vnet_dev_t *dev, u16 line)
iavf_reg_write (ad, IAVF_VFINT_DYN_CTLN (line), dyn_ctln_enabled.as_u32);
vlib_node_set_interrupt_pending (vlib_get_main_by_index (line),
- port->intf.rx_node_index);
+ vnet_dev_get_port_rx_node_idex (port));
}
vnet_dev_rv_t