i40e: define function capabilities in only one place
Subsystems (2)
PATCH v2 8/13 i40e: define function capabilities in only one place
From: Shannon Nelson <[email protected]>
The device capabilities were defined in two places, and neither had all the definitions. It really belongs with the AQ API definition, so this patch removes the other set of definitions and fills out the missing item.
---
V2: remove second signed-off-by
Testing Hints: Apply and compile cleanly
drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h | 1 + drivers/net/ethernet/intel/i40e/i40e_common.c | 85 +++++++--------------- .../net/ethernet/intel/i40evf/i40e_adminq_cmd.h | 1 + 3 files changed, 30 insertions(+), 57 deletions(-)
drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h +1 -0
@@ -422,6 +422,7 @@ struct i40e_aqc_list_capabilities_element_resp {#define I40E_AQ_CAP_ID_LED 0x0061#define I40E_AQ_CAP_ID_SDP 0x0062#define I40E_AQ_CAP_ID_MDIO 0x0063 +#define I40E_AQ_CAP_ID_WSR_PROT 0x0064#define I40E_AQ_CAP_ID_FLEX10 0x00F1#define I40E_AQ_CAP_ID_CEM 0x00F2
drivers/net/ethernet/intel/i40e/i40e_common.c +28 -57
180 lines not on this page · raw message
drivers/net/ethernet/intel/i40evf/i40e_adminq_cmd.h +1 -0
@@ -419,6 +419,7 @@ struct i40e_aqc_list_capabilities_element_resp {#define I40E_AQ_CAP_ID_LED 0x0061#define I40E_AQ_CAP_ID_SDP 0x0062#define I40E_AQ_CAP_ID_MDIO 0x0063 +#define I40E_AQ_CAP_ID_WSR_PROT 0x0064#define I40E_AQ_CAP_ID_FLEX10 0x00F1#define I40E_AQ_CAP_ID_CEM 0x00F2
Signature · 1 line
2.1.0
PATCH v2 12/13 i40e: update features with right offload
From: Jesse Brandeburg <[email protected]>
Synchronize code bases and add SCTP offload support.
---
V2: remove reviewed-by
Testing Hints: Test SCTP in a tunnel like vxlan and make sure TSO is still working. Test GRE tunnels and make sure they work. See already applied GRE upstream commit for instructions.
drivers/net/ethernet/intel/i40e/i40e_main.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
drivers/net/ethernet/intel/i40e/i40e_main.c +6 -4
@@ -8847,10 +8847,12 @@ static int i40e_config_netdev(struct i40e_vsi *vsi) np =netdev_priv (netdev); np->vsi = vsi; - netdev->hw_enc_features |=NETIF_F_IP_CSUM | -NETIF_F_GSO_UDP_TUNNEL | -NETIF_F_GSO_GRE | -NETIF_F_TSO ; + netdev->hw_enc_features |=NETIF_F_IP_CSUM | +NETIF_F_SCTP_CSUM | +NETIF_F_GSO_UDP_TUNNEL | +NETIF_F_GSO_GRE | +NETIF_F_TSO | +0 ; netdev->features =NETIF_F_SG | NETIF_F_IP_CSUM |
Signature · 1 line
2.1.0
Bowers
PATCH v2 12/13 i40e: update features with right offload
Quoted 17 lines
-----Original Message-----
From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On Behalf Of Joshua Hay
Sent: Thursday, December 10, 2015 11:39 AM
To: intel-wired-lan at lists.osuosl.org
Subject: [Intel-wired-lan] [v2 next PATCH S23 12/13] i40e: update features with right offloadFrom: Jesse Brandeburg <[email protected]>
Synchronize code bases and add SCTP offload support.
Signed-off-by Jesse Brandeburg <[email protected]>Change-ID I9f99071f7176225479026930c387bf681a47494e---
V2: remove reviewed-by
Quoted 6 lines
Testing Hints: Test SCTP in a tunnel like vxlan and make sure TSO is still working. Test GRE tunnels and make sure they work. See already applied GRE upstream commit for instructions.
drivers/net/ethernet/intel/i40e/i40e_main.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
Patch code changes correctly applied, GRE tunnels work, SCTP over VxLAN works
PATCH v2 13/13 i40e: bump version to 1.4.10
In reply to Joshua HayFrom: Catherine Sullivan <[email protected]>
Bump.
---
V2: remove second change-id
Testing Hints: check version
drivers/net/ethernet/intel/i40e/i40e_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/intel/i40e/i40e_main.c +1 -1
@@ -48,7 +48,7 @@ static const char i40e_driver_string[] =#define DRV_VERSION_MAJOR 1#define DRV_VERSION_MINOR 4 -#define DRV_VERSION_BUILD 8 +#define DRV_VERSION_BUILD 10#define DRV_VERSION __stringify(DRV_VERSION_MAJOR) "." \ __stringify(DRV_VERSION_MINOR) "." \ __stringify(DRV_VERSION_BUILD) DRV_KERN
Signature · 1 line
2.1.0
Bowers
PATCH v2 13/13 i40e: bump version to 1.4.10
Quoted 14 lines
-----Original Message-----
From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On Behalf Of Joshua Hay
Sent: Thursday, December 10, 2015 11:39 AM
To: intel-wired-lan at lists.osuosl.org
Subject: [Intel-wired-lan] [v2 next PATCH S23 13/13] i40e: bump version to 1.4.10From: Catherine Sullivan <[email protected]>
Bump.
Signed-off-by Catherine Sullivan <[email protected]>Change-ID Ic9a495feb9ab0606f953c3848b0acf67169d3930
Quoted 7 lines
---
V2: remove second change-idTesting Hints: check version
drivers/net/ethernet/intel/i40e/i40e_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Patch code changes correctly applied, driver reports correct version
Bowers
PATCH v2 8/13 i40e: define function capabilities in only one place
In reply to Joshua HayQuoted 20 lines
-----Original Message-----
From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On Behalf Of Joshua Hay
Sent: Thursday, December 10, 2015 11:39 AM
To: intel-wired-lan at lists.osuosl.org
Subject: [Intel-wired-lan] [v2 next PATCH S23 08/13] i40e: define function capabilities in only one placeFrom: Shannon Nelson <[email protected]>
The device capabilities were defined in two places, and neither had all the definitions. It really belongs with the AQ API definition, so this patch removes the other set of definitions and fills out the missing item.
Signed-off-by Shannon Nelson <[email protected]>Acked-by Jesse Brandeburg <[email protected]>Change-ID I273ba7d79a476cd11d2e0ca5825fec1716740de2---
V2: remove second signed-off-by
Quoted 7 lines
Testing Hints: Apply and compile cleanly
drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h | 1 + drivers/net/ethernet/intel/i40e/i40e_common.c | 85 +++++++------------- -- .../net/ethernet/intel/i40evf/i40e_adminq_cmd.h | 1 + 3 files changed, 30 insertions(+), 57 deletions(-)
Patch code changes correctly applied