aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/dev/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/vnet/dev/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/vnet/dev/port.c')
-rw-r--r--src/vnet/dev/port.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/dev/port.c b/src/vnet/dev/port.c
index df7805c1ff2..0ebe3c4690d 100644
--- a/src/vnet/dev/port.c
+++ b/src/vnet/dev/port.c
@@ -371,7 +371,7 @@ vnet_dev_port_cfg_change (vlib_main_t *vm, vnet_dev_port_t *port,
{
if (req->all_queues == 0)
{
- rxq = vnet_dev_port_get_rx_queue_by_id (port, req->queue_id);
+ rxq = vnet_dev_get_port_rx_queue_by_id (port, req->queue_id);
if (rxq == 0)
return VNET_DEV_ERR_BUG;
}