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| pw115461 [PATCH] net/ice: support original represented_port action
Date: Fri, 26 Aug 2022 07:02:31 -0400 (EDT)	[thread overview]
Message-ID: <20220826110231.667F16D509@noxus.dpdklab.iol.unh.edu> (raw)

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

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

_apply patch failure_

Submitter: Zeng, ZhichaoX <zhichaox.zeng@intel.com>
Date: Friday, August 26 2022 07:25:44 
Applied on: CommitID:a61b319674a99f5f6ad45442a18a65b88df27690
Apply patch set 115461 failed:

Checking patch drivers/net/ice/ice_switch_filter.c...
error: while searching for:
	const struct rte_eth_dev *repr_dev;
	enum rte_flow_action_type action_type;
	uint16_t rule_port_id, backer_port_id;

	for (action = actions; action->type !=
				RTE_FLOW_ACTION_TYPE_END; action++) {

error: patch failed: drivers/net/ice/ice_switch_filter.c:1623
error: while searching for:

			rule_port_id = ad->parent.pf.dev_data->port_id;
			backer_port_id = repr_dev->data->backer_port_id;

			if (backer_port_id != rule_port_id)
				goto invalid;

			rule_info->sw_act.vsi_handle = repr_dev->data->representor_id;

error: patch failed: drivers/net/ice/ice_switch_filter.c:1638
Applying patch drivers/net/ice/ice_switch_filter.c with 2 rejects...
Rejected hunk #1.
Rejected hunk #2.
diff a/drivers/net/ice/ice_switch_filter.c b/drivers/net/ice/ice_switch_filter.c	(rejected hunks)
@@ -1623,6 +1623,7 @@ ice_switch_parse_dcf_action(struct ice_dcf_adapter *ad,
 	const struct rte_eth_dev *repr_dev;
 	enum rte_flow_action_type action_type;
 	uint16_t rule_port_id, backer_port_id;
+	const char *pf_dev_name;
 
 	for (action = actions; action->type !=
 				RTE_FLOW_ACTION_TYPE_END; action++) {
@@ -1638,8 +1639,11 @@ ice_switch_parse_dcf_action(struct ice_dcf_adapter *ad,
 
 			rule_port_id = ad->parent.pf.dev_data->port_id;
 			backer_port_id = repr_dev->data->backer_port_id;
+			pf_dev_name = ad->parent.pf.dev_data->name;
 
-			if (backer_port_id != rule_port_id)
+			if (backer_port_id != rule_port_id &&
+					strncmp(pf_dev_name, repr_dev->data->name,
+							strlen(pf_dev_name)))
 				goto invalid;
 
 			rule_info->sw_act.vsi_handle = repr_dev->data->representor_id;

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

UNH-IOL DPDK Community Lab

                 reply	other threads:[~2022-08-26 11:02 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=20220826110231.667F16D509@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).