aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_adapter.c
diff options
context:
space:
mode:
authorPiotr Gardocki <[email protected]>2024-06-14 10:38:11 +0000
committerTony Nguyen <[email protected]>2024-06-28 18:18:39 +0000
commitfdd288e9b7647557c51a28e72fd1003e3a9bf906 (patch)
tree343aeeead3de06e39d7e6453cc34ea8e11246a36 /drivers/net/ethernet/intel/ice/ice_adapter.c
parentice: Allow different FW API versions based on MAC type (diff)
downloadkernel-fdd288e9b7647557c51a28e72fd1003e3a9bf906.tar.gz
kernel-fdd288e9b7647557c51a28e72fd1003e3a9bf906.zip
ice: Distinguish driver reset and removal for AQ shutdown
Admin queue command for shutdown AQ contains a flag to indicate driver unload. However, the flag is always set in the driver, even for resets. It can cause the firmware to consider driver as unloaded once the PF reset is triggered on all ports of device, which could lead to unexpected results. Add an additional function parameter to functions that shutdown AQ, indicating whether the driver is actually unloading. Reviewed-by: Ahmed Zaki <[email protected]> Reviewed-by: Przemek Kitszel <[email protected]> Signed-off-by: Piotr Gardocki <[email protected]> Signed-off-by: Marcin Szycik <[email protected]> Reviewed-by: Simon Horman <[email protected]> Tested-by: Pucha Himasekhar Reddy <[email protected]> (A Contingent worker at Intel) Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_adapter.c')
0 files changed, 0 insertions, 0 deletions