diff options
author | Michal Jaron <[email protected]> | 2022-10-24 10:19:42 +0200 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2022-12-05 08:30:51 -0800 |
commit | 82e0572b23029b380464fa9fdc125db9c1506d0a (patch) | |
tree | c1ef94fbb0207017007ff96b586d97f3b26d937f /lib/mpi/mpi-sub-ui.c | |
parent | e8b4fc13900b8e8be48debffd0dfd391772501f7 (diff) |
i40e: Fix not setting default xps_cpus after reset
During tx rings configuration default XPS queue config is set and
__I40E_TX_XPS_INIT_DONE is locked. __I40E_TX_XPS_INIT_DONE state is
cleared and set again with default mapping only during queues build,
it means after first setup or reset with queues rebuild. (i.e.
ethtool -L <interface> combined <number>) After other resets (i.e.
ethtool -t <interface>) XPS_INIT_DONE is not cleared and those default
maps cannot be set again. It results in cleared xps_cpus mapping
until queues are not rebuild or mapping is not set by user.
Add clearing __I40E_TX_XPS_INIT_DONE state during reset to let
the driver set xps_cpus to defaults again after it was cleared.
Fixes: 6f853d4f8e93 ("i40e: allow XPS with QoS enabled")
Signed-off-by: Michal Jaron <[email protected]>
Signed-off-by: Kamil Maziarz <[email protected]>
Tested-by: Gurucharan <[email protected]> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions