aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorAkihiko Odaki <[email protected]>2022-12-01 10:20:03 +0000
committerTony Nguyen <[email protected]>2023-03-16 15:55:56 +0000
commit02c83791ef969c6a8a150b4927193d0d0e50fb23 (patch)
tree1f97b430c9b2b290113755b8d7455d6aa563ed8c /drivers/net/ethernet/intel/igc/igc_main.c
parentintel/igbvf: free irq on the error path in igbvf_request_msix() (diff)
downloadkernel-02c83791ef969c6a8a150b4927193d0d0e50fb23.tar.gz
kernel-02c83791ef969c6a8a150b4927193d0d0e50fb23.zip
igbvf: Regard vf reset nack as success
vf reset nack actually represents the reset operation itself is performed but no address is assigned. Therefore, e1000_reset_hw_vf should fill the "perm_addr" with the zero address and return success on such an occasion. This prevents its callers in netdev.c from saying PF still resetting, and instead allows them to correctly report that no address is assigned. Fixes: 6ddbc4cf1f4d ("igb: Indicate failure on vf reset for empty mac address") Signed-off-by: Akihiko Odaki <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Tested-by: Marek Szlosek <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions