diff options
author | Mohammed Hawari <mohammed@hawari.fr> | 2020-12-22 15:12:27 +0100 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-01-21 15:59:38 +0000 |
commit | 313380f9501ad36637d32dd9801a75c1b668fdc3 (patch) | |
tree | cb8364689becca1b0dfede9eda99aa4fa5a473bc /src/vnet | |
parent | 91f4a9795561ced2c457b2d24c725995f95fc9a8 (diff) |
interface: fix vnet_hw_if_update_runtime_data
Take into account pending interrupts when resizing rxq_interrupts
Type: fix
Signed-off-by: Mohammed Hawari <mohammed@hawari.fr>
Change-Id: I64f6f4404738c90ed5a2c10d72c7ce59cf96a644
Diffstat (limited to 'src/vnet')
-rw-r--r-- | src/vnet/interface/runtime.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/interface/runtime.c b/src/vnet/interface/runtime.c index c1b096f3c86..f4c09beffd7 100644 --- a/src/vnet/interface/runtime.c +++ b/src/vnet/interface/runtime.c @@ -193,6 +193,7 @@ vnet_hw_if_update_runtime_data (vnet_main_t *vnm, u32 hw_if_index) { clib_interrupt_clear (in, int_num); pending_int = clib_bitmap_set (pending_int, int_num, 1); + last_int = clib_max (last_int, int_num); } } |