summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ixgbevf/mbx.h
diff options
context:
space:
mode:
authorRadoslaw Tyl <radoslawx.tyl@intel.com>2021-06-30 11:15:29 +0300
committerTony Nguyen <anthony.l.nguyen@intel.com>2021-11-17 19:07:42 +0300
commit887a32031a8ae5d9ad805973f28744ebe685c4e5 (patch)
tree618d5020e94a709718cf5d3074443678134b3119 /drivers/net/ethernet/intel/ixgbevf/mbx.h
parent0edbecd5705728e803a56d646194f4ccdef5845f (diff)
downloadlinux-887a32031a8ae5d9ad805973f28744ebe685c4e5.tar.xz
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>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbevf/mbx.h')
-rw-r--r--drivers/net/ethernet/intel/ixgbevf/mbx.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ixgbevf/mbx.h b/drivers/net/ethernet/intel/ixgbevf/mbx.h
index a461b7d16206..b3b83c95babf 100644
--- a/drivers/net/ethernet/intel/ixgbevf/mbx.h
+++ b/drivers/net/ethernet/intel/ixgbevf/mbx.h
@@ -7,7 +7,6 @@
#include "vf.h"
#define IXGBE_VFMAILBOX_SIZE 16 /* 16 32 bit words - 64 bytes */
-#define IXGBE_ERR_MBX -100
#define IXGBE_VFMAILBOX 0x002FC
#define IXGBE_VFMBMEM 0x00200