diff options
| author | Brett Creeley <[email protected]> | 2021-01-21 18:38:05 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2021-01-26 18:44:17 +0000 |
| commit | 943b881e35829403da638fcb34a959125deafef3 (patch) | |
| tree | b1276981713b008d186a609e0f6e80af2fd829c2 /drivers/net/ethernet/intel/ice/ice_lib.c | |
| parent | ice: update dev_addr in ice_set_mac_address even if HW filter exists (diff) | |
| download | kernel-943b881e35829403da638fcb34a959125deafef3.tar.gz kernel-943b881e35829403da638fcb34a959125deafef3.zip | |
ice: Don't allow more channels than LAN MSI-X available
Currently users could create more channels than LAN MSI-X available.
This is happening because there is no check against pf->num_lan_msix
when checking the max allowed channels and will cause performance issues
if multiple Tx and Rx queues are tied to a single MSI-X. Fix this by not
allowing more channels than LAN MSI-X available in pf->num_lan_msix.
Fixes: 87324e747fde ("ice: Implement ethtool ops for channels")
Signed-off-by: Brett Creeley <[email protected]>
Tested-by: Tony Brelinski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions
