From 6680ff47e1398d1ede99fb703853d5bcff6ea92f Mon Sep 17 00:00:00 2001
From: Stefan Assmann <sassmann@redhat.com>
Date: Wed, 6 Nov 2019 13:04:55 -0500
Subject: [PATCH] [netdrv] i40e: enable X710 support
Message-id: <20191106130455.27305-1-sassmann@redhat.com>
Patchwork-id: 283508
O-Subject: [RHEL7.8 PATCH] i40e: enable X710 support
Bugzilla: 1764987
RH-Acked-by: David Arcari <darcari@redhat.com>
RH-Acked-by: Dean Nelson <dnelson@redhat.com>
RH-Acked-by: John Linville <linville@redhat.com>
RH-Acked-by: Ken Cox <jkc@redhat.com>
From: Alice Michael <alice.michael@intel.com>
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1764987
Brew: https://brewweb.devel.redhat.com/taskinfo?taskID=24507533
Testing: Build test only, we don't have the hardware yet.
The I40E_DEV_ID_10G_BASE_T_BC device id was added previously,
but was not enabled in all the appropriate places. Adding it
to enable it's use.
Signed-off-by: Alice Michael <alice.michael@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Stefan Assmann <sassmann@redhat.com>
(cherry picked from commit 3df5b9a6a9ec3c1e4431bf1db3426b54dc92dd91)
Signed-off-by: Jan Stancek <jstancek@redhat.com>
---
drivers/net/ethernet/intel/i40e/i40e_common.c | 2 ++
1 file changed, 2 insertions(+)
Index: src/drivers/net/ethernet/intel/i40e/i40e_common.c
===================================================================
--- src.orig/drivers/net/ethernet/intel/i40e/i40e_common.c 2019-11-26 14:23:19.956074291 +0100
+++ src/drivers/net/ethernet/intel/i40e/i40e_common.c 2019-11-26 14:30:29.655662234 +0100
@@ -28,6 +28,7 @@
case I40E_DEV_ID_QSFP_C:
case I40E_DEV_ID_10G_BASE_T:
case I40E_DEV_ID_10G_BASE_T4:
+ case I40E_DEV_ID_10G_BASE_T_BC:
case I40E_DEV_ID_20G_KR2:
case I40E_DEV_ID_20G_KR2_A:
case I40E_DEV_ID_25G_B:
@@ -4837,6 +4838,7 @@
break;
case I40E_DEV_ID_10G_BASE_T:
case I40E_DEV_ID_10G_BASE_T4:
+ case I40E_DEV_ID_10G_BASE_T_BC:
case I40E_DEV_ID_10G_BASE_T_X722:
case I40E_DEV_ID_25G_B:
case I40E_DEV_ID_25G_SFP28:
@@ -4873,6 +4875,7 @@
break;
case I40E_DEV_ID_10G_BASE_T:
case I40E_DEV_ID_10G_BASE_T4:
+ case I40E_DEV_ID_10G_BASE_T_BC:
case I40E_DEV_ID_10G_BASE_T_X722:
case I40E_DEV_ID_25G_B:
case I40E_DEV_ID_25G_SFP28: