diff options
author | Damjan Marion <damarion@cisco.com> | 2024-10-08 23:14:49 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2024-10-08 23:33:02 +0000 |
commit | cda500bddc758da5b4289b259b7ac70bbb5f3039 (patch) | |
tree | fc5879193c42b50f071ae45890ae5fa4ed452450 /src/plugins/dev_iavf/port.c | |
parent | 623147bfdaf55ea14569209d14d429d675f56a5f (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.c | 2 |
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 |