Test-Label: iol-testing Test-Status: WARNING http://dpdk.org/patch/115461 _apply patch failure_ Submitter: Zeng, ZhichaoX 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