automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw115461 [PATCH] net/ice: support original represented_port action
@ 2022-08-26 11:02 dpdklab
  0 siblings, 0 replies; only message in thread
From: dpdklab @ 2022-08-26 11:02 UTC (permalink / raw)
  To: test-report; +Cc: dpdk-test-reports

[-- 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-26 11:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-26 11:02 |WARNING| pw115461 [PATCH] net/ice: support original represented_port action 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).