diff options
author | Ivan Vecera <ivecera@redhat.com> | 2023-11-08 17:01:03 +0100 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2024-02-12 16:58:07 -0800 |
commit | c73729b64bb692186da080602cd13612783f52ac (patch) | |
tree | fd55d091420aab0ac88bbf7d8d3292a727a72f8c /net/switchdev/switchdev.c | |
parent | 5b3fbd61b9d1f4ed2db95aaf03f9adae0373784d (diff) | |
download | linux-c73729b64bb692186da080602cd13612783f52ac.tar.gz linux-c73729b64bb692186da080602cd13612783f52ac.tar.bz2 linux-c73729b64bb692186da080602cd13612783f52ac.zip |
i40e: Fix waiting for queues of all VSIs to be disabled
The function i40e_pf_wait_queues_disabled() iterates all PF's VSIs
up to 'pf->hw.func_caps.num_vsis' but this is incorrect because
the real number of VSIs can be up to 'pf->num_alloc_vsi' that
can be higher. Fix this loop.
Fixes: 69129dc39fac ("i40e: Modify Tx disable wait flow in case of DCB reconfiguration")
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions