ixgbevf: Improve error handling in mailbox
authorRadoslaw Tyl <radoslawx.tyl@intel.com>
Wed, 30 Jun 2021 08:15:29 +0000 (10:15 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 17 Nov 2021 16:07:42 +0000 (08:07 -0800)
commit887a32031a8ae5d9ad805973f28744ebe685c4e5
tree618d5020e94a709718cf5d3074443678134b3119
parent0edbecd5705728e803a56d646194f4ccdef5845f
ixgbevf: Improve error handling in mailbox

Add new handling for error codes:
 IXGBE_ERR_CONFIG - ixgbe_mbx_operations is not correctly set
 IXGBE_ERR_TIMEOUT - mailbox operation, e.g. poll for message, timeout

Signed-off-by: Radoslaw Tyl <radoslawx.tyl@intel.com>
Tested-by: Tony Brelinski <tony.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ixgbevf/defines.h
drivers/net/ethernet/intel/ixgbevf/mbx.c
drivers/net/ethernet/intel/ixgbevf/mbx.h