automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw110560 [PATCH] common/cnxk: fix channel number setting in MCAM entries
@ 2022-05-06 17:03 dpdklab
  0 siblings, 0 replies; 2+ messages in thread
From: dpdklab @ 2022-05-06 17:03 UTC (permalink / raw)
  To: test-report; +Cc: dpdk-test-reports

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

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

_apply patch failure_

Submitter: Satheesh Paul <psatheesh@marvell.com>
Date: Monday, May 02 2022 08:47:30 
Applied on: CommitID:28c5d600723a9bb384a4b2f79bf6af8c40950bba
Apply patch set 110560 failed:

Checking patch drivers/common/cnxk/roc_npc_mcam.c...
error: while searching for:
	req->entry_data.kw_mask[0] &= ~(GENMASK(11, 0));
	flow->mcam_data[0] &= ~(GENMASK(11, 0));
	flow->mcam_mask[0] &= ~(GENMASK(11, 0));

	if (is_second_pass) {
		chan = (channel | NIX_CHAN_CPT_CH_START);
		mask = (chan_mask | NIX_CHAN_CPT_CH_START);
	} else {
		/*
		 * Clear bits 10 & 11 corresponding to CPT
		 * channel. By default, rules should match
		 * both first pass packets and second pass
		 * packets from CPT.
		 */
		chan = (channel & NIX_CHAN_CPT_X2P_MASK);
		mask = (chan_mask & NIX_CHAN_CPT_X2P_MASK);
	}

	req->entry_data.kw[0] |= (uint64_t)chan;

error: patch failed: drivers/common/cnxk/roc_npc_mcam.c:508
Applying patch drivers/common/cnxk/roc_npc_mcam.c with 1 reject...
Rejected hunk #1.
diff a/drivers/common/cnxk/roc_npc_mcam.c b/drivers/common/cnxk/roc_npc_mcam.c	(rejected hunks)
@@ -508,19 +508,25 @@ npc_mcam_set_channel(struct roc_npc_flow *flow,
 	req->entry_data.kw_mask[0] &= ~(GENMASK(11, 0));
 	flow->mcam_data[0] &= ~(GENMASK(11, 0));
 	flow->mcam_mask[0] &= ~(GENMASK(11, 0));
+	chan = channel;
+	mask = chan_mask;
 
-	if (is_second_pass) {
-		chan = (channel | NIX_CHAN_CPT_CH_START);
-		mask = (chan_mask | NIX_CHAN_CPT_CH_START);
-	} else {
-		/*
-		 * Clear bits 10 & 11 corresponding to CPT
-		 * channel. By default, rules should match
-		 * both first pass packets and second pass
-		 * packets from CPT.
-		 */
-		chan = (channel & NIX_CHAN_CPT_X2P_MASK);
-		mask = (chan_mask & NIX_CHAN_CPT_X2P_MASK);
+	if (roc_model_runtime_is_cn10k()) {
+		if (is_second_pass) {
+			chan = (channel | NIX_CHAN_CPT_CH_START);
+			mask = (chan_mask | NIX_CHAN_CPT_CH_START);
+		} else {
+			if (!(flow->npc_action & NIX_RX_ACTIONOP_UCAST_IPSEC)) {
+				/*
+				 * Clear bits 10 & 11 corresponding to CPT
+				 * channel. By default, rules should match
+				 * both first pass packets and second pass
+				 * packets from CPT.
+				 */
+				chan = (channel & NIX_CHAN_CPT_X2P_MASK);
+				mask = (chan_mask & NIX_CHAN_CPT_X2P_MASK);
+			}
+		}
 	}
 
 	req->entry_data.kw[0] |= (uint64_t)chan;

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

UNH-IOL DPDK Community Lab

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

* |WARNING| pw110560 [PATCH] common/cnxk: fix channel number setting in MCAM entries
@ 2022-05-02  9:08 dpdklab
  0 siblings, 0 replies; 2+ messages in thread
From: dpdklab @ 2022-05-02  9:08 UTC (permalink / raw)
  To: test-report; +Cc: dpdk-test-reports

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

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

_apply patch failure_

Submitter: Satheesh Paul <psatheesh@marvell.com>
Date: Monday, May 02 2022 08:47:30 
Applied on: CommitID:90bf3f89ed33f78e9f41818caf123e13e508dee7
Apply patch set 110560 failed:

Checking patch drivers/common/cnxk/roc_npc_mcam.c...
error: while searching for:
	req->entry_data.kw_mask[0] &= ~(GENMASK(11, 0));
	flow->mcam_data[0] &= ~(GENMASK(11, 0));
	flow->mcam_mask[0] &= ~(GENMASK(11, 0));

	if (is_second_pass) {
		chan = (channel | NIX_CHAN_CPT_CH_START);
		mask = (chan_mask | NIX_CHAN_CPT_CH_START);
	} else {
		/*
		 * Clear bits 10 & 11 corresponding to CPT
		 * channel. By default, rules should match
		 * both first pass packets and second pass
		 * packets from CPT.
		 */
		chan = (channel & NIX_CHAN_CPT_X2P_MASK);
		mask = (chan_mask & NIX_CHAN_CPT_X2P_MASK);
	}

	req->entry_data.kw[0] |= (uint64_t)chan;

error: patch failed: drivers/common/cnxk/roc_npc_mcam.c:508
Applying patch drivers/common/cnxk/roc_npc_mcam.c with 1 reject...
Rejected hunk #1.
diff a/drivers/common/cnxk/roc_npc_mcam.c b/drivers/common/cnxk/roc_npc_mcam.c	(rejected hunks)
@@ -508,19 +508,25 @@ npc_mcam_set_channel(struct roc_npc_flow *flow,
 	req->entry_data.kw_mask[0] &= ~(GENMASK(11, 0));
 	flow->mcam_data[0] &= ~(GENMASK(11, 0));
 	flow->mcam_mask[0] &= ~(GENMASK(11, 0));
+	chan = channel;
+	mask = chan_mask;
 
-	if (is_second_pass) {
-		chan = (channel | NIX_CHAN_CPT_CH_START);
-		mask = (chan_mask | NIX_CHAN_CPT_CH_START);
-	} else {
-		/*
-		 * Clear bits 10 & 11 corresponding to CPT
-		 * channel. By default, rules should match
-		 * both first pass packets and second pass
-		 * packets from CPT.
-		 */
-		chan = (channel & NIX_CHAN_CPT_X2P_MASK);
-		mask = (chan_mask & NIX_CHAN_CPT_X2P_MASK);
+	if (roc_model_runtime_is_cn10k()) {
+		if (is_second_pass) {
+			chan = (channel | NIX_CHAN_CPT_CH_START);
+			mask = (chan_mask | NIX_CHAN_CPT_CH_START);
+		} else {
+			if (!(flow->npc_action & NIX_RX_ACTIONOP_UCAST_IPSEC)) {
+				/*
+				 * Clear bits 10 & 11 corresponding to CPT
+				 * channel. By default, rules should match
+				 * both first pass packets and second pass
+				 * packets from CPT.
+				 */
+				chan = (channel & NIX_CHAN_CPT_X2P_MASK);
+				mask = (chan_mask & NIX_CHAN_CPT_X2P_MASK);
+			}
+		}
 	}
 
 	req->entry_data.kw[0] |= (uint64_t)chan;

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

UNH-IOL DPDK Community Lab

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

end of thread, other threads:[~2022-05-06 17:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-06 17:03 |WARNING| pw110560 [PATCH] common/cnxk: fix channel number setting in MCAM entries dpdklab
  -- strict thread matches above, loose matches on Subject: below --
2022-05-02  9:08 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).