ixgbe: Disable DCB and FCoE for X550EM_x and x550em_a
Subsystems (2)
PATCH 1/1 ixgbe: Disable DCB and FCoE for X550EM_x and x550em_a
This patch adds IXGBE_FLAG_DCB_CAPABLE flag that is set for all MACs other than X550EM_x and x550em_a. DCB and FCoE is disabled for these MACS. DCB initialization code is moved to a seperate function.
--- drivers/net/ethernet/intel/ixgbe/ixgbe.h | 1 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 111 ++++++++++++++++--------- drivers/net/ethernet/intel/ixgbe/ixgbe_type.h | 1 3 files changed, 71 insertions(+), 42 deletions(-)
drivers/net/ethernet/intel/ixgbe/ixgbe.h +1 -0
@@ -644,6 +644,7 @@ struct ixgbe_adapter {#define IXGBE_FLAG_VXLAN_OFFLOAD_CAPABLE BIT(24)#define IXGBE_FLAG_RX_HWTSTAMP_ENABLED BIT(25)#define IXGBE_FLAG_RX_HWTSTAMP_IN_REGISTER BIT(26) +#define IXGBE_FLAG_DCB_CAPABLE BIT(27)u32 flags2;#define IXGBE_FLAG2_RSC_CAPABLE BIT(0)
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c +69 -42
147 lines not on this page · raw message
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h +1 -0
@@ -548,6 +548,7 @@ struct ixgbe_thermal_sensor_data {/* DCB registers */ #define MAX_TRAFFIC_CLASS 8#define X540_TRAFFIC_CLASS 4 +#define DEF_TRAFFIC_CLASS 1#define IXGBE_RMCS 0x03D00#define IXGBE_DPMCS 0x07F40#define IXGBE_PDPMCS 0x0CD00
Bynoe
PATCH 1/1 ixgbe: Disable DCB and FCoE for X550EM_x and x550em_a
________________________________________
From: Intel-wired-lan [intel-wired-lan-bounces at lists.osuosl.org] on behalf of Usha Ketineni [usha.k.ketineni at intel.com]
Sent: Tuesday, April 26, 2016 5:00 AM
To: [email protected]
Subject: [Intel-wired-lan] [PATCH] ixgbe: Disable DCB and FCoE for X550EM_x and x550em_a
This patch adds IXGBE_FLAG_DCB_CAPABLE flag that is set for all MACs other than X550EM_x and x550em_a. DCB and FCoE is disabled for these MACS. DCB initialization code is moved to a seperate function.
--- drivers/net/ethernet/intel/ixgbe/ixgbe.h | 1 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 111 ++++++++++++++++--------- drivers/net/ethernet/intel/ixgbe/ixgbe_type.h | 1 3 files changed, 71 insertions(+), 42 deletions(-)
drivers/net/ethernet/intel/ixgbe/ixgbe.h +1 -0
@@ -644,6 +644,7 @@ struct ixgbe_adapter {#define IXGBE_FLAG_VXLAN_OFFLOAD_CAPABLE BIT(24)#define IXGBE_FLAG_RX_HWTSTAMP_ENABLED BIT(25)#define IXGBE_FLAG_RX_HWTSTAMP_IN_REGISTER BIT(26) +#define IXGBE_FLAG_DCB_CAPABLE BIT(27)u32 flags2;#define IXGBE_FLAG2_RSC_CAPABLE BIT(0)
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c +69 -42
147 lines not on this page · raw message
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h +1 -0
@@ -548,6 +548,7 @@ struct ixgbe_thermal_sensor_data {/* DCB registers */ #define MAX_TRAFFIC_CLASS 8#define X540_TRAFFIC_CLASS 4 +#define DEF_TRAFFIC_CLASS 1#define IXGBE_RMCS 0x03D00#define IXGBE_DPMCS 0x07F40#define IXGBE_PDPMCS 0x0CD00
Our validation found nothing wrong with this patch, works as expected, thanks Usha!
_______________________________________________
Intel-wired-lan mailing list
Intel-wired-lan at lists.osuosl.org
http://lists.osuosl.org/mailman/listinfo/intel-wired-lan
PATCH 1/1 ixgbe: Disable DCB and FCoE for X550EM_x and x550em_a
In reply to Usha KetineniQuoted 6 lines · Usha Ketineni
This patch adds
IXGBE_FLAG_DCB_CAPABLEflag that is set for all MACs other thanX550EM_xandx550em_a. DCB and FCoE is disabled for these MACS. DCB initialization code is moved to a seperate function.Signed-off-by Usha Ketineni <[email protected]>
Our validation found nothing wrong with this patch, works as expected,
thanks Usha!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20160426/387ee483/attachment-0001.asc>