diff options
author | Catherine Sullivan <catherine.sullivan@intel.com> | 2015-12-09 15:50:25 -0800 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2016-02-03 20:17:15 -0800 |
commit | 48b1804ee3cdad7bf115666eb35edf12a734710f (patch) | |
tree | 2faaeb02dc89187ae98d60596b6b340d68275380 /drivers/net/ethernet/intel/i40e/i40e.h | |
parent | 6e35c04cf633e55648acb9ccabff42aa37bd4044 (diff) | |
download | linux-48b1804ee3cdad7bf115666eb35edf12a734710f.tar.gz linux-48b1804ee3cdad7bf115666eb35edf12a734710f.tar.bz2 linux-48b1804ee3cdad7bf115666eb35edf12a734710f.zip |
i40e: Replace X722 mac check in ethtool get_settings
100M SGMII is only supported on X722. Replace the mac check with
a feature flag check that is only set for the X722 device.
Change-ID: I53452d9af6af8cd9dca8500215fbc6ce93418f52
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e.h')
-rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e.h b/drivers/net/ethernet/intel/i40e/i40e.h index 68f2204ec6f3..47f6c0a9c9fe 100644 --- a/drivers/net/ethernet/intel/i40e/i40e.h +++ b/drivers/net/ethernet/intel/i40e/i40e.h @@ -339,6 +339,7 @@ struct i40e_pf { #define I40E_FLAG_VEB_MODE_ENABLED BIT_ULL(40) #define I40E_FLAG_GENEVE_OFFLOAD_CAPABLE BIT_ULL(41) #define I40E_FLAG_NO_PCI_LINK_CHECK BIT_ULL(42) +#define I40E_FLAG_100M_SGMII_CAPABLE BIT_ULL(43) #define I40E_FLAG_PF_MAC BIT_ULL(50) /* tracks features that get auto disabled by errors */ |