aboutsummaryrefslogtreecommitdiff
path: root/lib/libsqlite3
diff options
context:
space:
mode:
authorGilad Ben Yakov <giladben@amazon.com>2026-05-05 10:02:13 +0000
committerArthur Kiyanovski <akiyano@FreeBSD.org>2026-10-29 03:25:50 +0000
commit2d4d2ed3fef6acda9269f545f6703d6f32f2f0b7 (patch)
tree1722c9e97c58730d220273e42d2b30b5ce39e083 /lib/libsqlite3
parent3d1e732a43eda16f20dea3fe2671ce6fca8a03a6 (diff)
ena: Reinit RSS table on device restore when queue count shrinks
When ena_restore_device() is called after a reset, pci_alloc_msix() may return fewer MSI-X vectors than requested, causing num_io_queues to shrink. When this happens, the RSS indirection table retains entries referencing queues that no longer exist, routing packets to non-existent queues and causing connectivity loss. Extract ena_set_io_queue_count() to pair the queue count update with ena_com_rss_destroy(), ensuring the RSS table is always invalidated when the queue count changes. Use it from both ena_update_io_rings() and ena_restore_device(). Reviewed by: cperciva Fixes: e2735b095b7e ("Fix assumptions about number of IO queues in the ENA") MFC after: 3 days Sponsored by: Amazon, Inc.
Diffstat (limited to 'lib/libsqlite3')
0 files changed, 0 insertions, 0 deletions