automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw127837-127839 [PATCH] [v3, 3/3] net/sfc: support VLAN stripping offload
@ 2023-06-09 22:35 dpdklab
  0 siblings, 0 replies; 3+ messages in thread
From: dpdklab @ 2023-06-09 22:35 UTC (permalink / raw)
  To: test-report; +Cc: dpdk-test-reports

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

_apply patch failure_

Submitter: Artemii Morozov <Artemii.Morozov@arknetworks.am>
Date: Thursday, June 01 2023 14:35:45 
Applied on: CommitID:c9df59bcc9bec67783de98486879594e52bdc418
Apply patch set 127837-127839 failed:

Checking patch drivers/common/sfc_efx/base/ef10_filter.c...
error: while searching for:
		    FILTER_OP_V3_IN_MATCH_SET_FLAG, 1);
	}

	efx_mcdi_execute(enp, &req);

	if (req.emr_rc != 0) {

error: patch failed: drivers/common/sfc_efx/base/ef10_filter.c:338
Hunk #2 succeeded at 852 (offset -5 lines).
Hunk #3 succeeded at 2020 (offset -5 lines).
Hunk #4 succeeded at 2155 (offset -5 lines).
Hunk #5 succeeded at 2168 (offset -5 lines).
Checking patch drivers/common/sfc_efx/base/ef10_impl.h...
Hunk #1 succeeded at 1286 (offset -1 lines).
Checking patch drivers/common/sfc_efx/base/efx.h...
Checking patch drivers/common/sfc_efx/base/efx_filter.c...
Checking patch drivers/common/sfc_efx/base/efx_impl.h...
Checking patch drivers/common/sfc_efx/base/efx_rx.c...
error: while searching for:
		}
	}

	enp->en_rx_qcount++;
	*erpp = erp;

	return (0);

fail5:
	EFSYS_PROBE(fail5);


error: patch failed: drivers/common/sfc_efx/base/efx_rx.c:943
Checking patch drivers/common/sfc_efx/base/rhead_rx.c...
Applying patch drivers/common/sfc_efx/base/ef10_filter.c with 1 reject...
Rejected hunk #1.
Hunk #2 applied cleanly.
Hunk #3 applied cleanly.
Hunk #4 applied cleanly.
Hunk #5 applied cleanly.
Applied patch drivers/common/sfc_efx/base/ef10_impl.h cleanly.
Applied patch drivers/common/sfc_efx/base/efx.h cleanly.
Applied patch drivers/common/sfc_efx/base/efx_filter.c cleanly.
Applied patch drivers/common/sfc_efx/base/efx_impl.h cleanly.
Applying patch drivers/common/sfc_efx/base/efx_rx.c with 1 reject...
Hunk #1 applied cleanly.
Rejected hunk #2.
Applied patch drivers/common/sfc_efx/base/rhead_rx.c cleanly.
hint: Use 'git am --show-current-patch' to see the failed patch
diff a/drivers/common/sfc_efx/base/ef10_filter.c b/drivers/common/sfc_efx/base/ef10_filter.c	(rejected hunks)
@@ -338,6 +338,11 @@ efx_mcdi_filter_op_add(
 		    FILTER_OP_V3_IN_MATCH_SET_FLAG, 1);
 	}
 
+	if (spec->efs_flags & EFX_FILTER_FLAG_VLAN_STRIP) {
+		MCDI_IN_SET_DWORD_FIELD(req, FILTER_OP_V3_IN_MATCH_ACTION_FLAGS,
+			FILTER_OP_V3_IN_MATCH_STRIP_VLAN, 1);
+	}
+
 	efx_mcdi_execute(enp, &req);
 
 	if (req.emr_rc != 0) {
diff a/drivers/common/sfc_efx/base/efx_rx.c b/drivers/common/sfc_efx/base/efx_rx.c	(rejected hunks)
@@ -943,11 +944,27 @@ efx_rx_qcreate_internal(
 		}
 	}
 
+	if (flags & EFX_RXQ_FLAG_VLAN_STRIP) {
+		const efx_rx_prefix_layout_t *erplp = &erp->er_prefix_layout;
+		const efx_rx_prefix_field_info_t *vlan_tci_field;
+
+		vlan_tci_field =
+		    &erplp->erpl_fields[EFX_RX_PREFIX_FIELD_VLAN_STRIP_TCI];
+		if (vlan_tci_field->erpfi_width_bits == 0) {
+			rc = ENOTSUP;
+			goto fail6;
+		}
+
+		erp->er_flags |= EFX_RXQ_FLAG_VLAN_STRIP;
+	}
+
 	enp->en_rx_qcount++;
 	*erpp = erp;
 
 	return (0);
 
+fail6:
+	EFSYS_PROBE(fail6);
 fail5:
 	EFSYS_PROBE(fail5);
 
Checking patch doc/guides/nics/sfc_efx.rst...
Checking patch drivers/net/sfc/sfc_ef100_rx.c...
error: while searching for:
	    (rxq->flags & SFC_EF100_RXQ_INGRESS_MPORT))
		return ENOTSUP;

	rxq->prefix_size = pinfo->erpl_length;
	rxq->rearm_data = sfc_ef100_mk_mbuf_rearm_data(rxq->dp.dpq.port_id,
						       rxq->prefix_size);

error: patch failed: drivers/net/sfc/sfc_ef100_rx.c:892
Hunk #5 succeeded at 1007 (offset -16 lines).
Checking patch drivers/net/sfc/sfc_rx.c...
Hunk #3 succeeded at 1701 (offset -3 lines).
Applied patch doc/guides/nics/sfc_efx.rst cleanly.
Applying patch drivers/net/sfc/sfc_ef100_rx.c with 1 reject...
Hunk #1 applied cleanly.
Hunk #2 applied cleanly.
Hunk #3 applied cleanly.
Rejected hunk #4.
Hunk #5 applied cleanly.
Applied patch drivers/net/sfc/sfc_rx.c cleanly.
hint: Use 'git am --show-current-patch' to see the failed patch
diff a/drivers/net/sfc/sfc_ef100_rx.c b/drivers/net/sfc/sfc_ef100_rx.c	(rejected hunks)
@@ -892,6 +905,12 @@ sfc_ef100_rx_qstart(struct sfc_dp_rxq *dp_rxq, unsigned int evq_read_ptr,
 	    (rxq->flags & SFC_EF100_RXQ_INGRESS_MPORT))
 		return ENOTSUP;
 
+	if ((unsup_rx_prefix_fields &
+	     (1U << EFX_RX_PREFIX_FIELD_VLAN_STRIP_TCI)) == 0)
+		rxq->flags |= SFC_EF100_RXQ_VLAN_STRIP;
+	else
+		rxq->flags &= ~SFC_EF100_RXQ_VLAN_STRIP;
+
 	rxq->prefix_size = pinfo->erpl_length;
 	rxq->rearm_data = sfc_ef100_mk_mbuf_rearm_data(rxq->dp.dpq.port_id,
 						       rxq->prefix_size);

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

UNH-IOL DPDK Community Lab

^ permalink raw reply	[flat|nested] 3+ messages in thread

* |WARNING| pw127837-127839 [PATCH] [v3, 3/3] net/sfc: support VLAN stripping offload
@ 2023-06-10 18:53 dpdklab
  0 siblings, 0 replies; 3+ messages in thread
From: dpdklab @ 2023-06-10 18:53 UTC (permalink / raw)
  To: test-report; +Cc: dpdk-test-reports

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

_apply patch failure_

Submitter: Artemii Morozov <Artemii.Morozov@arknetworks.am>
Date: Thursday, June 01 2023 14:35:45 
Applied on: CommitID:c9df59bcc9bec67783de98486879594e52bdc418
Apply patch set 127837-127839 failed:

Checking patch drivers/common/sfc_efx/base/ef10_filter.c...
error: while searching for:
		    FILTER_OP_V3_IN_MATCH_SET_FLAG, 1);
	}

	efx_mcdi_execute(enp, &req);

	if (req.emr_rc != 0) {

error: patch failed: drivers/common/sfc_efx/base/ef10_filter.c:338
Hunk #2 succeeded at 852 (offset -5 lines).
Hunk #3 succeeded at 2020 (offset -5 lines).
Hunk #4 succeeded at 2155 (offset -5 lines).
Hunk #5 succeeded at 2168 (offset -5 lines).
Checking patch drivers/common/sfc_efx/base/ef10_impl.h...
Hunk #1 succeeded at 1286 (offset -1 lines).
Checking patch drivers/common/sfc_efx/base/efx.h...
Checking patch drivers/common/sfc_efx/base/efx_filter.c...
Checking patch drivers/common/sfc_efx/base/efx_impl.h...
Checking patch drivers/common/sfc_efx/base/efx_rx.c...
error: while searching for:
		}
	}

	enp->en_rx_qcount++;
	*erpp = erp;

	return (0);

fail5:
	EFSYS_PROBE(fail5);


error: patch failed: drivers/common/sfc_efx/base/efx_rx.c:943
Checking patch drivers/common/sfc_efx/base/rhead_rx.c...
Applying patch drivers/common/sfc_efx/base/ef10_filter.c with 1 reject...
Rejected hunk #1.
Hunk #2 applied cleanly.
Hunk #3 applied cleanly.
Hunk #4 applied cleanly.
Hunk #5 applied cleanly.
Applied patch drivers/common/sfc_efx/base/ef10_impl.h cleanly.
Applied patch drivers/common/sfc_efx/base/efx.h cleanly.
Applied patch drivers/common/sfc_efx/base/efx_filter.c cleanly.
Applied patch drivers/common/sfc_efx/base/efx_impl.h cleanly.
Applying patch drivers/common/sfc_efx/base/efx_rx.c with 1 reject...
Hunk #1 applied cleanly.
Rejected hunk #2.
Applied patch drivers/common/sfc_efx/base/rhead_rx.c cleanly.
hint: Use 'git am --show-current-patch' to see the failed patch
diff a/drivers/common/sfc_efx/base/ef10_filter.c b/drivers/common/sfc_efx/base/ef10_filter.c	(rejected hunks)
@@ -338,6 +338,11 @@ efx_mcdi_filter_op_add(
 		    FILTER_OP_V3_IN_MATCH_SET_FLAG, 1);
 	}
 
+	if (spec->efs_flags & EFX_FILTER_FLAG_VLAN_STRIP) {
+		MCDI_IN_SET_DWORD_FIELD(req, FILTER_OP_V3_IN_MATCH_ACTION_FLAGS,
+			FILTER_OP_V3_IN_MATCH_STRIP_VLAN, 1);
+	}
+
 	efx_mcdi_execute(enp, &req);
 
 	if (req.emr_rc != 0) {
diff a/drivers/common/sfc_efx/base/efx_rx.c b/drivers/common/sfc_efx/base/efx_rx.c	(rejected hunks)
@@ -943,11 +944,27 @@ efx_rx_qcreate_internal(
 		}
 	}
 
+	if (flags & EFX_RXQ_FLAG_VLAN_STRIP) {
+		const efx_rx_prefix_layout_t *erplp = &erp->er_prefix_layout;
+		const efx_rx_prefix_field_info_t *vlan_tci_field;
+
+		vlan_tci_field =
+		    &erplp->erpl_fields[EFX_RX_PREFIX_FIELD_VLAN_STRIP_TCI];
+		if (vlan_tci_field->erpfi_width_bits == 0) {
+			rc = ENOTSUP;
+			goto fail6;
+		}
+
+		erp->er_flags |= EFX_RXQ_FLAG_VLAN_STRIP;
+	}
+
 	enp->en_rx_qcount++;
 	*erpp = erp;
 
 	return (0);
 
+fail6:
+	EFSYS_PROBE(fail6);
 fail5:
 	EFSYS_PROBE(fail5);
 
Checking patch doc/guides/nics/sfc_efx.rst...
Checking patch drivers/net/sfc/sfc_ef100_rx.c...
error: while searching for:
	    (rxq->flags & SFC_EF100_RXQ_INGRESS_MPORT))
		return ENOTSUP;

	rxq->prefix_size = pinfo->erpl_length;
	rxq->rearm_data = sfc_ef100_mk_mbuf_rearm_data(rxq->dp.dpq.port_id,
						       rxq->prefix_size);

error: patch failed: drivers/net/sfc/sfc_ef100_rx.c:892
Hunk #5 succeeded at 1007 (offset -16 lines).
Checking patch drivers/net/sfc/sfc_rx.c...
Hunk #3 succeeded at 1701 (offset -3 lines).
Applied patch doc/guides/nics/sfc_efx.rst cleanly.
Applying patch drivers/net/sfc/sfc_ef100_rx.c with 1 reject...
Hunk #1 applied cleanly.
Hunk #2 applied cleanly.
Hunk #3 applied cleanly.
Rejected hunk #4.
Hunk #5 applied cleanly.
Applied patch drivers/net/sfc/sfc_rx.c cleanly.
hint: Use 'git am --show-current-patch' to see the failed patch
diff a/drivers/net/sfc/sfc_ef100_rx.c b/drivers/net/sfc/sfc_ef100_rx.c	(rejected hunks)
@@ -892,6 +905,12 @@ sfc_ef100_rx_qstart(struct sfc_dp_rxq *dp_rxq, unsigned int evq_read_ptr,
 	    (rxq->flags & SFC_EF100_RXQ_INGRESS_MPORT))
 		return ENOTSUP;
 
+	if ((unsup_rx_prefix_fields &
+	     (1U << EFX_RX_PREFIX_FIELD_VLAN_STRIP_TCI)) == 0)
+		rxq->flags |= SFC_EF100_RXQ_VLAN_STRIP;
+	else
+		rxq->flags &= ~SFC_EF100_RXQ_VLAN_STRIP;
+
 	rxq->prefix_size = pinfo->erpl_length;
 	rxq->rearm_data = sfc_ef100_mk_mbuf_rearm_data(rxq->dp.dpq.port_id,
 						       rxq->prefix_size);

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

UNH-IOL DPDK Community Lab

^ permalink raw reply	[flat|nested] 3+ messages in thread

* |WARNING| pw127837-127839 [PATCH] [v3, 3/3] net/sfc: support VLAN stripping offload
@ 2023-06-01 14:50 dpdklab
  0 siblings, 0 replies; 3+ messages in thread
From: dpdklab @ 2023-06-01 14:50 UTC (permalink / raw)
  To: test-report; +Cc: dpdk-test-reports

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

_apply patch failure_

Submitter: Artemii Morozov <Artemii.Morozov@arknetworks.am>
Date: Thursday, June 01 2023 14:35:45 
Applied on: CommitID:c9df59bcc9bec67783de98486879594e52bdc418
Apply patch set 127837-127839 failed:

Checking patch drivers/common/sfc_efx/base/ef10_filter.c...
error: while searching for:
		    FILTER_OP_V3_IN_MATCH_SET_FLAG, 1);
	}

	efx_mcdi_execute(enp, &req);

	if (req.emr_rc != 0) {

error: patch failed: drivers/common/sfc_efx/base/ef10_filter.c:338
Hunk #2 succeeded at 852 (offset -5 lines).
Hunk #3 succeeded at 2020 (offset -5 lines).
Hunk #4 succeeded at 2155 (offset -5 lines).
Hunk #5 succeeded at 2168 (offset -5 lines).
Checking patch drivers/common/sfc_efx/base/ef10_impl.h...
Hunk #1 succeeded at 1286 (offset -1 lines).
Checking patch drivers/common/sfc_efx/base/efx.h...
Checking patch drivers/common/sfc_efx/base/efx_filter.c...
Checking patch drivers/common/sfc_efx/base/efx_impl.h...
Checking patch drivers/common/sfc_efx/base/efx_rx.c...
error: while searching for:
		}
	}

	enp->en_rx_qcount++;
	*erpp = erp;

	return (0);

fail5:
	EFSYS_PROBE(fail5);


error: patch failed: drivers/common/sfc_efx/base/efx_rx.c:943
Checking patch drivers/common/sfc_efx/base/rhead_rx.c...
Applying patch drivers/common/sfc_efx/base/ef10_filter.c with 1 reject...
Rejected hunk #1.
Hunk #2 applied cleanly.
Hunk #3 applied cleanly.
Hunk #4 applied cleanly.
Hunk #5 applied cleanly.
Applied patch drivers/common/sfc_efx/base/ef10_impl.h cleanly.
Applied patch drivers/common/sfc_efx/base/efx.h cleanly.
Applied patch drivers/common/sfc_efx/base/efx_filter.c cleanly.
Applied patch drivers/common/sfc_efx/base/efx_impl.h cleanly.
Applying patch drivers/common/sfc_efx/base/efx_rx.c with 1 reject...
Hunk #1 applied cleanly.
Rejected hunk #2.
Applied patch drivers/common/sfc_efx/base/rhead_rx.c cleanly.
hint: Use 'git am --show-current-patch' to see the failed patch
diff a/drivers/common/sfc_efx/base/ef10_filter.c b/drivers/common/sfc_efx/base/ef10_filter.c	(rejected hunks)
@@ -338,6 +338,11 @@ efx_mcdi_filter_op_add(
 		    FILTER_OP_V3_IN_MATCH_SET_FLAG, 1);
 	}
 
+	if (spec->efs_flags & EFX_FILTER_FLAG_VLAN_STRIP) {
+		MCDI_IN_SET_DWORD_FIELD(req, FILTER_OP_V3_IN_MATCH_ACTION_FLAGS,
+			FILTER_OP_V3_IN_MATCH_STRIP_VLAN, 1);
+	}
+
 	efx_mcdi_execute(enp, &req);
 
 	if (req.emr_rc != 0) {
diff a/drivers/common/sfc_efx/base/efx_rx.c b/drivers/common/sfc_efx/base/efx_rx.c	(rejected hunks)
@@ -943,11 +944,27 @@ efx_rx_qcreate_internal(
 		}
 	}
 
+	if (flags & EFX_RXQ_FLAG_VLAN_STRIP) {
+		const efx_rx_prefix_layout_t *erplp = &erp->er_prefix_layout;
+		const efx_rx_prefix_field_info_t *vlan_tci_field;
+
+		vlan_tci_field =
+		    &erplp->erpl_fields[EFX_RX_PREFIX_FIELD_VLAN_STRIP_TCI];
+		if (vlan_tci_field->erpfi_width_bits == 0) {
+			rc = ENOTSUP;
+			goto fail6;
+		}
+
+		erp->er_flags |= EFX_RXQ_FLAG_VLAN_STRIP;
+	}
+
 	enp->en_rx_qcount++;
 	*erpp = erp;
 
 	return (0);
 
+fail6:
+	EFSYS_PROBE(fail6);
 fail5:
 	EFSYS_PROBE(fail5);
 
Checking patch doc/guides/nics/sfc_efx.rst...
Checking patch drivers/net/sfc/sfc_ef100_rx.c...
error: while searching for:
	    (rxq->flags & SFC_EF100_RXQ_INGRESS_MPORT))
		return ENOTSUP;

	rxq->prefix_size = pinfo->erpl_length;
	rxq->rearm_data = sfc_ef100_mk_mbuf_rearm_data(rxq->dp.dpq.port_id,
						       rxq->prefix_size);

error: patch failed: drivers/net/sfc/sfc_ef100_rx.c:892
Hunk #5 succeeded at 1007 (offset -16 lines).
Checking patch drivers/net/sfc/sfc_rx.c...
Hunk #3 succeeded at 1701 (offset -3 lines).
Applied patch doc/guides/nics/sfc_efx.rst cleanly.
Applying patch drivers/net/sfc/sfc_ef100_rx.c with 1 reject...
Hunk #1 applied cleanly.
Hunk #2 applied cleanly.
Hunk #3 applied cleanly.
Rejected hunk #4.
Hunk #5 applied cleanly.
Applied patch drivers/net/sfc/sfc_rx.c cleanly.
hint: Use 'git am --show-current-patch' to see the failed patch
diff a/drivers/net/sfc/sfc_ef100_rx.c b/drivers/net/sfc/sfc_ef100_rx.c	(rejected hunks)
@@ -892,6 +905,12 @@ sfc_ef100_rx_qstart(struct sfc_dp_rxq *dp_rxq, unsigned int evq_read_ptr,
 	    (rxq->flags & SFC_EF100_RXQ_INGRESS_MPORT))
 		return ENOTSUP;
 
+	if ((unsup_rx_prefix_fields &
+	     (1U << EFX_RX_PREFIX_FIELD_VLAN_STRIP_TCI)) == 0)
+		rxq->flags |= SFC_EF100_RXQ_VLAN_STRIP;
+	else
+		rxq->flags &= ~SFC_EF100_RXQ_VLAN_STRIP;
+
 	rxq->prefix_size = pinfo->erpl_length;
 	rxq->rearm_data = sfc_ef100_mk_mbuf_rearm_data(rxq->dp.dpq.port_id,
 						       rxq->prefix_size);

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

UNH-IOL DPDK Community Lab

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-06-10 18:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-09 22:35 |WARNING| pw127837-127839 [PATCH] [v3, 3/3] net/sfc: support VLAN stripping offload dpdklab
  -- strict thread matches above, loose matches on Subject: below --
2023-06-10 18:53 dpdklab
2023-06-01 14:50 dpdklab

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).