i40e: fix bad CEE status shift value
Fix a shift value that was wrong, ending up with a bad bitmask. Also add a blank line between two sets of #defines for better readability. Change-ID: I3e41fa2a2ab904d3a4e6cbf13972ab0036a10601 Signed-off-by: Shannon Nelson <shannon.nelson@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
df08fd4dbc
commit
725821f340
|
@ -2062,6 +2062,7 @@ I40E_CHECK_CMD_LENGTH(i40e_aqc_lldp_start);
|
|||
#define I40E_AQC_CEE_APP_ISCSI_MASK (0x7 << I40E_AQC_CEE_APP_ISCSI_SHIFT)
|
||||
#define I40E_AQC_CEE_APP_FIP_SHIFT 0x8
|
||||
#define I40E_AQC_CEE_APP_FIP_MASK (0x7 << I40E_AQC_CEE_APP_FIP_SHIFT)
|
||||
|
||||
#define I40E_AQC_CEE_PG_STATUS_SHIFT 0x0
|
||||
#define I40E_AQC_CEE_PG_STATUS_MASK (0x7 << I40E_AQC_CEE_PG_STATUS_SHIFT)
|
||||
#define I40E_AQC_CEE_PFC_STATUS_SHIFT 0x3
|
||||
|
@ -2070,7 +2071,7 @@ I40E_CHECK_CMD_LENGTH(i40e_aqc_lldp_start);
|
|||
#define I40E_AQC_CEE_APP_STATUS_MASK (0x7 << I40E_AQC_CEE_APP_STATUS_SHIFT)
|
||||
#define I40E_AQC_CEE_FCOE_STATUS_SHIFT 0x8
|
||||
#define I40E_AQC_CEE_FCOE_STATUS_MASK (0x7 << I40E_AQC_CEE_FCOE_STATUS_SHIFT)
|
||||
#define I40E_AQC_CEE_ISCSI_STATUS_SHIFT 0xA
|
||||
#define I40E_AQC_CEE_ISCSI_STATUS_SHIFT 0xB
|
||||
#define I40E_AQC_CEE_ISCSI_STATUS_MASK (0x7 << I40E_AQC_CEE_ISCSI_STATUS_SHIFT)
|
||||
#define I40E_AQC_CEE_FIP_STATUS_SHIFT 0x10
|
||||
#define I40E_AQC_CEE_FIP_STATUS_MASK (0x7 << I40E_AQC_CEE_FIP_STATUS_SHIFT)
|
||||
|
|
Loading…
Reference in New Issue