automatic DPDK test reports
 help / color / mirror / Atom feed
From: dpdklab@iol.unh.edu
To: test-report@dpdk.org
Cc: dpdk-test-reports@iol.unh.edu
Subject: |WARNING| pw115697 [PATCH] net/i40e: fix incorrect VLAN stripping for QinQ
Date: Wed, 31 Aug 2022 22:31:19 -0400 (EDT)	[thread overview]
Message-ID: <20220901023119.749406D509@noxus.dpdklab.iol.unh.edu> (raw)

[-- Attachment #1: Type: text/plain, Size: 3672 bytes --]

Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/115697

_apply patch failure_

Submitter: Kevin Liu <kevinx.liu@intel.com>
Date: Thursday, September 01 2022 10:05:49 
Applied on: CommitID:4aee6110bb10b0225fa9562f2e48af233a9058a1
Apply patch set 115697 failed:

Checking patch doc/guides/nics/i40e.rst...
error: while searching for:
If FW version >= 8.4, there'll be some Vlan related issues:

#. TCI input set for QinQ  is invalid.
#. Fail to configure TPID for QinQ.
#. Fail to strip outer Vlan.

Example of getting best performance with l3fwd example
------------------------------------------------------

error: patch failed: doc/guides/nics/i40e.rst:982
Checking patch drivers/net/i40e/i40e_ethdev.c...
error: while searching for:
		if (rxmode->offloads & RTE_ETH_RX_OFFLOAD_VLAN_EXTEND) {
			if (pf->fw8_3gt) {
				i40e_vsi_config_qinq(vsi, TRUE);
			} else {
				i40e_vsi_config_double_vlan(vsi, TRUE);
				/* Set global registers with default ethertype. */

error: patch failed: drivers/net/i40e/i40e_ethdev.c:4068
error: while searching for:
							RTE_ETHER_TYPE_VLAN);
			}
		} else {
			if (pf->fw8_3gt)
				i40e_vsi_config_qinq(vsi, FALSE);
			else
				i40e_vsi_config_double_vlan(vsi, FALSE);
		}
		/*restore mac/vlan filters of all ports*/
		for (j = 0; j < port_num; j++) {

error: patch failed: drivers/net/i40e/i40e_ethdev.c:4077
Hunk #5 succeeded at 4073 (offset -39 lines).
Hunk #6 succeeded at 5215 (offset -39 lines).
Hunk #7 succeeded at 5226 (offset -39 lines).
Hunk #8 succeeded at 5868 (offset -39 lines).
Hunk #9 succeeded at 6171 (offset -39 lines).
Checking patch drivers/net/i40e/i40e_ethdev.h...
Applying patch doc/guides/nics/i40e.rst with 1 reject...
Rejected hunk #1.
Applying patch drivers/net/i40e/i40e_ethdev.c with 2 rejects...
Hunk #1 applied cleanly.
Hunk #2 applied cleanly.
Rejected hunk #3.
Rejected hunk #4.
Hunk #5 applied cleanly.
Hunk #6 applied cleanly.
Hunk #7 applied cleanly.
Hunk #8 applied cleanly.
Hunk #9 applied cleanly.
Applied patch drivers/net/i40e/i40e_ethdev.h cleanly.
diff a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst	(rejected hunks)
@@ -982,8 +982,6 @@ Vlan related Features miss when FW >= 8.4
 If FW version >= 8.4, there'll be some Vlan related issues:
 
 #. TCI input set for QinQ  is invalid.
-#. Fail to configure TPID for QinQ.
-#. Fail to strip outer Vlan.
 
 Example of getting best performance with l3fwd example
 ------------------------------------------------------
diff a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c	(rejected hunks)
@@ -4068,6 +4075,10 @@ i40e_vlan_offload_set(struct rte_eth_dev *dev, int mask)
 		if (rxmode->offloads & RTE_ETH_RX_OFFLOAD_VLAN_EXTEND) {
 			if (pf->fw8_3gt) {
 				i40e_vsi_config_qinq(vsi, TRUE);
+				if (rxmode->offloads & RTE_ETH_RX_OFFLOAD_VLAN_STRIP) {
+					i40e_vsi_config_vlan_stripping(vsi, FALSE);
+					i40e_vsi_config_vlan_stripping_v1(vsi, TRUE);
+				}
 			} else {
 				i40e_vsi_config_double_vlan(vsi, TRUE);
 				/* Set global registers with default ethertype. */
@@ -4077,10 +4088,15 @@ i40e_vlan_offload_set(struct rte_eth_dev *dev, int mask)
 							RTE_ETHER_TYPE_VLAN);
 			}
 		} else {
-			if (pf->fw8_3gt)
+			if (pf->fw8_3gt) {
 				i40e_vsi_config_qinq(vsi, FALSE);
-			else
+				if (rxmode->offloads & RTE_ETH_RX_OFFLOAD_VLAN_STRIP) {
+					i40e_vsi_config_vlan_stripping_v1(vsi, FALSE);
+					i40e_vsi_config_vlan_stripping(vsi, TRUE);
+				}
+			} else {
 				i40e_vsi_config_double_vlan(vsi, FALSE);
+			}
 		}
 		/*restore mac/vlan filters of all ports*/
 		for (j = 0; j < port_num; j++) {

https://lab.dpdk.org/results/dashboard/patchsets/23364/

UNH-IOL DPDK Community Lab

                 reply	other threads:[~2022-09-01  2:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220901023119.749406D509@noxus.dpdklab.iol.unh.edu \
    --to=dpdklab@iol.unh.edu \
    --cc=dpdk-test-reports@iol.unh.edu \
    --cc=test-report@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).