Skip to contentSkip to conversation

i40e/i40evf: add VIRTCHNL_VF_OFFLOAD flag

PATCH New Bowers 1 participant 16 messages Jul 29, 2015 – Aug 3, 2015 30 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 68C85B5FC2FE974B87244D7222BC92783EA1EB55@ORSMSX102.amr.corp.intel.com

Bowers

#3 lore raw

PATCH 13/15 i40e/i40evf: add VIRTCHNL_VF_OFFLOAD flag

Quoted 13 lines
Quoted 13 lines

-----Original Message-----
From: e1000-patches-bounces at isotope.jf.intel.com [mailto:e1000-patches- bounces at isotope.jf.intel.com] On Behalf Of Sullivan, Catherine
Sent: Thursday, July 09, 2015 11:27 AM
To: e1000-patches at isotope.jf.intel.com
Subject: [e1000-patches][net-next PATCH S8 13/15] i40e/i40evf: add VIRTCHNL_VF_OFFLOAD flag

From: Anjali Singhai Jain <[email protected]>

Add virtual channel offload capability to support RX polling mode in the VF.

Quoted 9 lines
Quoted 9 lines
Change-ID Ib643ae2a7506dfc75fc489fc207493fabefa4832
---
 drivers/net/ethernet/intel/i40e/i40e_register.h    |  7 +++++++
 drivers/net/ethernet/intel/i40e/i40e_virtchnl.h    |  1 +
 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 12 ++++++++++++
drivers/net/ethernet/intel/i40evf/i40e_virtchnl.h  |  1 +
 4 files changed, 21 insertions(+)

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 68C85B5FC2FE974B87244D7222BC92783EA1EB5D@ORSMSX102.amr.corp.intel.com

#6 lore raw

PATCH 14/15 i40e/i40evf: Cache the CEE TLV status returned from firmware

Quoted 14 lines
Quoted 14 lines

-----Original Message-----
From: e1000-patches-bounces at isotope.jf.intel.com [mailto:e1000-patches- bounces at isotope.jf.intel.com] On Behalf Of Sullivan, Catherine
Sent: Thursday, July 09, 2015 11:27 AM
To: e1000-patches at isotope.jf.intel.com
Subject: [e1000-patches][net-next PATCH S8 14/15] i40e/i40evf: Cache the CEE TLV status returned from firmware

From: Neerav Parikh <[email protected]>

Store the CEE TLV status returned by firmware to allow drivers to dump that for debug purposes.

Quoted 7 lines
Quoted 7 lines
Change-ID Ie3c4cf8cebabee4f15e1e3fdc4fc8a68bbca40ee
---
 drivers/net/ethernet/intel/i40e/i40e_dcb.c    | 4 ++++
 drivers/net/ethernet/intel/i40e/i40e_type.h   | 1 +
 drivers/net/ethernet/intel/i40evf/i40e_type.h | 1 +
 3 files changed, 6 insertions(+)

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 68C85B5FC2FE974B87244D7222BC92783EA1EB64@ORSMSX102.amr.corp.intel.com

#9 lore raw

PATCH 15/15 i40e/i40evf: Bump i40e to 1.3.9 and i40evf to 1.3.5

Quoted 9 lines
Quoted 9 lines

-----Original Message-----
From: e1000-patches-bounces at isotope.jf.intel.com [mailto:e1000-patches- bounces at isotope.jf.intel.com] On Behalf Of Sullivan, Catherine
Sent: Thursday, July 09, 2015 11:27 AM
To: e1000-patches at isotope.jf.intel.com
Subject: [e1000-patches][net-next PATCH S8 15/15] i40e/i40evf: Bump i40e to 1.3.9 and i40evf to 1.3.5

Quoted 8 lines
Quoted 8 lines

Bump version and update the copyright year for i40evf.

Change-ID Iddb81b9dba09f0dc57ab54937b5821ecdd721ff6
---
 drivers/net/ethernet/intel/i40e/i40e_main.c     | 2 +-
 drivers/net/ethernet/intel/i40evf/i40evf_main.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 68C85B5FC2FE974B87244D7222BC92783EA1EB6B@ORSMSX102.amr.corp.intel.com

#12 lore raw

PATCH 12/15 i40e: Remove redundant and unneeded messages

Quoted 20 lines
Quoted 20 lines

-----Original Message-----
From: e1000-patches-bounces at isotope.jf.intel.com [mailto:e1000-patches- bounces at isotope.jf.intel.com] On Behalf Of Sullivan, Catherine
Sent: Thursday, July 09, 2015 11:27 AM
To: e1000-patches at isotope.jf.intel.com
Subject: [e1000-patches][net-next PATCH S8 12/15] i40e: Remove redundant and unneeded messages

From: Greg Rose <[email protected]>

The kernel notifies all VXLAN capable registered drivers, i.e. any driver that implements ndo_add_vxlan_port(), of the addition of a port so that the driver can track which ports are in use. There's no need to log this - it just fills the system log with useless and irksome noise.

Also, when failing to init SR-IOV interfaces the driver was printing the same message twice. Just remove the inner printk and let the outer message catch enable as well as the other failures.

Quoted 7 lines
Quoted 7 lines
Change-ID Id5ecb1d425c2a357ee2bc1635dab24553831dade
---
 drivers/net/ethernet/intel/i40e/i40e_main.c        | 2 --
 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 2 --
 2 files changed, 4 deletions(-)

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 68C85B5FC2FE974B87244D7222BC92783EA1EB84@ORSMSX102.amr.corp.intel.com

#15 lore raw

PATCH 11/15 i40evf: Remove PF specific register definitions from the VF

Quoted 24 lines
Quoted 2 lines

-----Original Message-----
From: e1000-patches-bounces at isotope.jf.intel.com [mailto:e1000-

patches-

Quoted 21 lines

bounces at isotope.jf.intel.com] On Behalf Of Sullivan, Catherine
Sent: Thursday, July 09, 2015 11:27 AM
To: e1000-patches at isotope.jf.intel.com
Subject: [e1000-patches][net-next PATCH S8 11/15] i40evf: Remove PF specific register definitions from the VF

From: Anjali Singhai Jain <[email protected]>

There were quite a few issues when the wrong defines were getting used in the VF driver. This patch fixes the code where PF driver registers were getting used for VF driver, and also removes the registers that are not being used from the VF register file.

Change-ID If116a9730112950d006eb8ec763998fc914cc839
---
 drivers/net/ethernet/intel/i40evf/i40e_adminq.c   |   17 +-
 drivers/net/ethernet/intel/i40evf/i40e_common.c   |    2 +-
 drivers/net/ethernet/intel/i40evf/i40e_register.h | 3093 ---------------------
 3 files changed, 4 insertions(+), 3108 deletions(-)

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 68C85B5FC2FE974B87244D7222BC92783EA1EB8C@ORSMSX102.amr.corp.intel.com

#18 lore raw

PATCH 10/15 i40evf: Use the correct defines to match the VF registers

Quoted 13 lines
Quoted 13 lines

-----Original Message-----
From: e1000-patches-bounces at isotope.jf.intel.com [mailto:e1000-patches- bounces at isotope.jf.intel.com] On Behalf Of Sullivan, Catherine
Sent: Thursday, July 09, 2015 11:27 AM
To: e1000-patches at isotope.jf.intel.com
Subject: [e1000-patches][net-next PATCH S8 10/15] i40evf: Use the correct defines to match the VF registers

From: Anjali Singhai Jain <[email protected]>

Use CTLN1 instead of CTLN for the VF relative register space.

Quoted 8 lines
Quoted 8 lines
Change-ID Iefba63faf0307af55fec8dbb64f26059f7d91318
---
 drivers/net/ethernet/intel/i40evf/i40e_txrx.c   | 28 +++++++++---------
 drivers/net/ethernet/intel/i40evf/i40evf_main.c | 38
++++++++++++--------
-----
 2 files changed, 33 insertions(+), 33 deletions(-)

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 68C85B5FC2FE974B87244D7222BC92783EA1EB94@ORSMSX102.amr.corp.intel.com

#21 lore raw

PATCH 8/15 i40e: Fix comment for ethtool diagnostic link test

Quoted 16 lines
Quoted 16 lines

-----Original Message-----
From: e1000-patches-bounces at isotope.jf.intel.com [mailto:e1000-patches- bounces at isotope.jf.intel.com] On Behalf Of Sullivan, Catherine
Sent: Thursday, July 09, 2015 11:27 AM
To: e1000-patches at isotope.jf.intel.com
Subject: [e1000-patches][net-next PATCH S8 08/15] i40e: Fix comment for ethtool diagnostic link test

From: Greg Rose <[email protected]>

The existing comment is incorrect. Add new comment to point out that the PF reset does not affect link but if the reset is changed to a different type that does affect link then the link test would need to be moved to before the reset.

Quoted 6 lines
Quoted 6 lines
Change-ID I28d786f46e9465860babdee61c1dba51016464df
---
 drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 68C85B5FC2FE974B87244D7222BC92783EA1EBA2@ORSMSX102.amr.corp.intel.com

#24 lore raw

PATCH 7/15 i40e/i40evf: Add capability to gather VEB per TC stats

Quoted 15 lines
Quoted 15 lines

-----Original Message-----
From: e1000-patches-bounces at isotope.jf.intel.com [mailto:e1000-patches- bounces at isotope.jf.intel.com] On Behalf Of Sullivan, Catherine
Sent: Thursday, July 09, 2015 11:27 AM
To: e1000-patches at isotope.jf.intel.com
Subject: [e1000-patches][net-next PATCH S8 07/15] i40e/i40evf: Add capability to gather VEB per TC stats

From: Neerav Parikh <[email protected]>

This patch adds capability to update per VEB per TC statistics and dump it via ethtool. It also adds a structure to hold VEB per TC statistics. The fields can be filled by reading the GLVEBTC_* counters.

Quoted 11 lines
Quoted 11 lines
Change-ID I28b4759b9ab6ad5a61f046a1bc9ef6b16fe31538
---
 drivers/net/ethernet/intel/i40e/i40e.h         |  2 ++
 drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 23
++++++++++++++++++++-
 drivers/net/ethernet/intel/i40e/i40e_main.c    | 28
+++++++++++++++++++++++++-
 drivers/net/ethernet/intel/i40e/i40e_type.h    |  8 ++++++++
 drivers/net/ethernet/intel/i40evf/i40e_type.h  |  8 ++++++++
 5 files changed, 67 insertions(+), 2 deletions(-)
#25 lore raw

PATCH 7/15 i40e/i40evf: Add capability to gather VEB per TC stats

In reply to a message not in the archive
Quoted 15 lines
Quoted 15 lines

-----Original Message-----
From: e1000-patches-bounces at isotope.jf.intel.com [mailto:e1000-patches- bounces at isotope.jf.intel.com] On Behalf Of Sullivan, Catherine
Sent: Thursday, July 09, 2015 11:27 AM
To: e1000-patches at isotope.jf.intel.com
Subject: [e1000-patches][net-next PATCH S8 07/15] i40e/i40evf: Add capability to gather VEB per TC stats

From: Neerav Parikh <[email protected]>

This patch adds capability to update per VEB per TC statistics and dump it via ethtool. It also adds a structure to hold VEB per TC statistics. The fields can be filled by reading the GLVEBTC_* counters.

Quoted 11 lines
Quoted 11 lines
Change-ID I28b4759b9ab6ad5a61f046a1bc9ef6b16fe31538
---
 drivers/net/ethernet/intel/i40e/i40e.h         |  2 ++
 drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 23
++++++++++++++++++++-
 drivers/net/ethernet/intel/i40e/i40e_main.c    | 28
+++++++++++++++++++++++++-
 drivers/net/ethernet/intel/i40e/i40e_type.h    |  8 ++++++++
 drivers/net/ethernet/intel/i40evf/i40e_type.h  |  8 ++++++++
 5 files changed, 67 insertions(+), 2 deletions(-)

FCOE patch, does not break base driver.

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 68C85B5FC2FE974B87244D7222BC92783EA1EBAA@ORSMSX102.amr.corp.intel.com

#28 lore raw

PATCH 6/15 i40e: Fix ethtool offline diagnostic with netqueues

Quoted 14 lines
Quoted 14 lines

-----Original Message-----
From: e1000-patches-bounces at isotope.jf.intel.com [mailto:e1000-patches- bounces at isotope.jf.intel.com] On Behalf Of Sullivan, Catherine
Sent: Thursday, July 09, 2015 11:27 AM
To: e1000-patches at isotope.jf.intel.com
Subject: [e1000-patches][net-next PATCH S8 06/15] i40e: Fix ethtool offline diagnostic with netqueues

From: Greg Rose <[email protected]>

Treat netqueues the same way we do virtual functions when someone wants to run the ethtool offline diagnostic test.

Quoted 6 lines
Quoted 6 lines
Change-ID Id48d2b933f1fd0db7be06305a93c6ebe3dc821f5
---
 drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 19
+++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 68C85B5FC2FE974B87244D7222BC92783EA1EBC3@ORSMSX102.amr.corp.intel.com

#31 lore raw

PATCH 9/15 i40e: correct spelling error

Quoted 11 lines
Quoted 11 lines

-----Original Message-----
From: e1000-patches-bounces at isotope.jf.intel.com [mailto:e1000-patches- bounces at isotope.jf.intel.com] On Behalf Of Sullivan, Catherine
Sent: Thursday, July 09, 2015 11:27 AM
To: e1000-patches at isotope.jf.intel.com
Subject: [e1000-patches][net-next PATCH S8 09/15] i40e: correct spelling error

From: Mitch Williams <[email protected]>

Quoted 7 lines
Quoted 7 lines

Turns out that 'inavlid' is an inavlid spelling for 'invalid'.

Change-ID Ie1fe2d0f8d1ba75ab880594875ec2e4152a76f61
---
 drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 68C85B5FC2FE974B87244D7222BC92783EA1EBCC@ORSMSX102.amr.corp.intel.com

#34 lore raw

PATCH 3/15 i40e/i40evf: Move helper functions to a header file

Quoted 14 lines
Quoted 14 lines

-----Original Message-----
From: e1000-patches-bounces at isotope.jf.intel.com [mailto:e1000-patches- bounces at isotope.jf.intel.com] On Behalf Of Sullivan, Catherine
Sent: Thursday, July 09, 2015 11:27 AM
To: e1000-patches at isotope.jf.intel.com
Subject: [e1000-patches][net-next PATCH S8 03/15] i40e/i40evf: Move helper functions to a header file

From: Anjali Singhai Jain <[email protected]>

A new header file i40e_helper.h is added to both the PF and VF driver with functions used by both drivers.

Quoted 11 lines
Quoted 11 lines
Change-ID I3c6daedc2ff6f32bc7624bf5eaef05899d35f28b
---
 drivers/net/ethernet/intel/i40e/i40e_helper.h   | 102
++++++++++++++++++++++++
 drivers/net/ethernet/intel/i40e/i40e_main.c     |  72 +----------------
 drivers/net/ethernet/intel/i40evf/i40e_helper.h | 102
++++++++++++++++++++++++
drivers/net/ethernet/intel/i40evf/i40evf_main.c |  80
+------------------
 4 files changed, 206 insertions(+), 150 deletions(-)  create mode

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 68C85B5FC2FE974B87244D7222BC92783EA1EBEA@ORSMSX102.amr.corp.intel.com

#37 lore raw

PATCH 5/15 i40e: Fix legacy interrupt mode in the driver

Quoted 17 lines
Quoted 17 lines

-----Original Message-----
From: e1000-patches-bounces at isotope.jf.intel.com [mailto:e1000-patches- bounces at isotope.jf.intel.com] On Behalf Of Sullivan, Catherine
Sent: Thursday, July 09, 2015 11:27 AM
To: e1000-patches at isotope.jf.intel.com
Subject: [e1000-patches][net-next PATCH S8 05/15] i40e: Fix legacy interrupt mode in the driver

From: Anjali Singhai Jain <[email protected]>

This patch fixes the driver flow to take into account legacy interrupts. Over time we added code that assumes MSIX is the only mode that the driver runs in. It also enables a legacy workaround to trigger SWINT when the TX ring has non-cache aligned descriptors pending and interrupts are disabled.

Quoted 8 lines
Quoted 8 lines

We work with a single vector in MSI mode too, so apply the same restrictions as Legacy.

Change-ID I826ddff1f9bd45d2dbe11f56a3ddcef0dbf42563
---
 drivers/net/ethernet/intel/i40e/i40e_main.c | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

A message that is not in the archive (sent off-list or not yet received): 68C85B5FC2FE974B87244D7222BC92783EA1EBF5@ORSMSX102.amr.corp.intel.com

#39 lore raw

PATCH 1/15 i40e: Fix mismatched types in comparison

Quoted 9 lines
Quoted 9 lines

-----Original Message-----
From: e1000-patches-bounces at isotope.jf.intel.com [mailto:e1000-patches- bounces at isotope.jf.intel.com] On Behalf Of Sullivan, Catherine
Sent: Thursday, July 09, 2015 11:27 AM
To: e1000-patches at isotope.jf.intel.com
Subject: [e1000-patches][net-next PATCH S8 01/15] i40e: Fix mismatched types in comparison

Quoted 6 lines
Quoted 6 lines

Add a le_to_CPU wrapper to fix mismatched types.

---
 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 68C85B5FC2FE974B87244D7222BC92783EA1EC02@ORSMSX102.amr.corp.intel.com

#42 lore raw

PATCH 4/15 i40e: Move function calls to i40e_shutdown instead of i40e_suspend

Quoted 9 lines
Quoted 9 lines

-----Original Message-----
From: e1000-patches-bounces at isotope.jf.intel.com [mailto:e1000-patches- bounces at isotope.jf.intel.com] On Behalf Of Sullivan, Catherine
Sent: Thursday, July 09, 2015 11:27 AM
To: e1000-patches at isotope.jf.intel.com
Subject: [e1000-patches][net-next PATCH S8 04/15] i40e: Move function calls to i40e_shutdown instead of i40e_suspend

Quoted 7 lines
Quoted 7 lines

We should be stopping the service task and flow director on shutdown not on suspension.

---
 drivers/net/ethernet/intel/i40e/i40e_main.c | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 68C85B5FC2FE974B87244D7222BC92783EA1EC15@ORSMSX102.amr.corp.intel.com

#45 lore raw

PATCH 2/15 i40e: add RX to port CRC errors label

Quoted 11 lines
Quoted 11 lines

-----Original Message-----
From: e1000-patches-bounces at isotope.jf.intel.com [mailto:e1000-patches- bounces at isotope.jf.intel.com] On Behalf Of Sullivan, Catherine
Sent: Thursday, July 09, 2015 11:27 AM
To: e1000-patches at isotope.jf.intel.com
Subject: [e1000-patches][net-next PATCH S8 02/15] i40e: add RX to port CRC errors label

From: Shannon Nelson <[email protected]>

Quoted 7 lines
Quoted 7 lines

The port.crc_errors is really an RX counter, so let's mark it as such.

Change-ID I179afd3f8a95d45229bb4163a6aeb01f0d2d250b
---
 drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)