interface: full poll vector on adaptive mode 32/32232/8
authorMaxime Peim <mpeim@cisco.com>
Thu, 6 May 2021 10:17:25 +0000 (12:17 +0200)
committerMohammed Hawari <mohammed@hawari.fr>
Tue, 7 Sep 2021 13:48:37 +0000 (15:48 +0200)
commit5b22339973feaa3eba48ead1e9fb428b1816c0cc
treea00efedefde3ddec7693bde6b109267e61b8ad83
parent277ae8ba43cdfcf9c22adfb675cf5b15b8b4f898
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 <mpeim@cisco.com>
Change-Id: I249bcb20ae0dd28afb0a5ca32993092bafd2f6b1
src/vnet/interface.h
src/vnet/interface/runtime.c
src/vnet/interface/rx_queue.c
src/vnet/interface/rx_queue_funcs.h