From 5b22339973feaa3eba48ead1e9fb428b1816c0cc Mon Sep 17 00:00:00 2001 From: Maxime Peim Date: Thu, 6 May 2021 12:17:25 +0200 Subject: interface: full poll vector on adaptive mode When an input supports adaptive mode and enters in polling, some rx queues may be missing from the node's rx_poll_vector. To solve the issue, a full poll vector is being computed in vnet_hw_if_update_runtime_data, and returned by vnet_hw_if_get_rxq_poll_vector when the node is polling in adaptive mode. Type: fix Signed-off-by: Maxime Peim Change-Id: I249bcb20ae0dd28afb0a5ca32993092bafd2f6b1 --- src/vnet/interface.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/vnet/interface.h') diff --git a/src/vnet/interface.h b/src/vnet/interface.h index a761b04aff8..92a43c51958 100644 --- a/src/vnet/interface.h +++ b/src/vnet/interface.h @@ -751,7 +751,8 @@ typedef struct typedef struct { - vnet_hw_if_rxq_poll_vector_t *rxq_poll_vector; + vnet_hw_if_rxq_poll_vector_t *rxq_vector_int; + vnet_hw_if_rxq_poll_vector_t *rxq_vector_poll; void *rxq_interrupts; } vnet_hw_if_rx_node_runtime_t; -- cgit 1.2.3-korg