patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Kevin Traynor <ktraynor@redhat.com>
To: Gregory Etelson <getelson@nvidia.com>
Cc: Dariusz Sosnowski <dsosnowski@nvidia.com>, dpdk stable <stable@dpdk.org>
Subject: patch 'net/mlx5: remove unsupported flow meter action in HWS' has been queued to stable release 24.11.3
Date: Fri, 18 Jul 2025 20:29:26 +0100	[thread overview]
Message-ID: <20250718193247.1008129-32-ktraynor@redhat.com> (raw)
In-Reply-To: <20250718193247.1008129-1-ktraynor@redhat.com>

Hi,

FYI, your patch has been queued to stable release 24.11.3

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 07/23/25. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/ad77925778d2e8798609cf8142b4ab0ddbf10e9a

Thanks.

Kevin

---
From ad77925778d2e8798609cf8142b4ab0ddbf10e9a Mon Sep 17 00:00:00 2001
From: Gregory Etelson <getelson@nvidia.com>
Date: Sun, 4 May 2025 08:23:50 +0300
Subject: [PATCH] net/mlx5: remove unsupported flow meter action in HWS

[ upstream commit 645f240d1cd57d0be1b773c739a5845a7663eeed ]

METER flow action is not supported in MLX5 HWS mode.
Application must use METER_MARK flow action.

The patch removes METER action from HWS code.

Fixes: 48fbb0e93d06 ("net/mlx5: support flow meter mark indirect action with HWS")

Signed-off-by: Gregory Etelson <getelson@nvidia.com>
Acked-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
---
 drivers/net/mlx5/mlx5_flow_hw.c    |  85 -----
 drivers/net/mlx5/mlx5_flow_meter.c | 552 -----------------------------
 2 files changed, 637 deletions(-)

diff --git a/drivers/net/mlx5/mlx5_flow_hw.c b/drivers/net/mlx5/mlx5_flow_hw.c
index e15466117b..99cb4eba8d 100644
--- a/drivers/net/mlx5/mlx5_flow_hw.c
+++ b/drivers/net/mlx5/mlx5_flow_hw.c
@@ -1750,33 +1750,4 @@ flow_hw_represented_port_compile(struct rte_eth_dev *dev,
 }
 
-static __rte_always_inline int
-flow_hw_meter_compile(struct rte_eth_dev *dev,
-		      const struct mlx5_flow_template_table_cfg *cfg,
-		      uint16_t aso_mtr_pos,
-		      uint16_t jump_pos,
-		      const struct rte_flow_action *action,
-		      struct mlx5_hw_actions *acts,
-		      struct rte_flow_error *error)
-{
-	struct mlx5_priv *priv = dev->data->dev_private;
-	struct mlx5_aso_mtr *aso_mtr;
-	const struct rte_flow_action_meter *meter = action->conf;
-	uint32_t group = cfg->attr.flow_attr.group;
-
-	aso_mtr = mlx5_aso_meter_by_idx(priv, meter->mtr_id);
-	acts->rule_acts[aso_mtr_pos].action = priv->mtr_bulk.action;
-	acts->rule_acts[aso_mtr_pos].aso_meter.offset = aso_mtr->offset;
-	acts->jump = flow_hw_jump_action_register
-		(dev, cfg, aso_mtr->fm.group, error);
-	if (!acts->jump)
-		return -ENOMEM;
-	acts->rule_acts[jump_pos].action = (!!group) ?
-				    acts->jump->hws_action :
-				    acts->jump->root_action;
-	if (mlx5_aso_mtr_wait(priv, aso_mtr, true))
-		return -ENOMEM;
-	return 0;
-}
-
 static __rte_always_inline int
 flow_hw_cnt_compile(struct rte_eth_dev *dev, uint32_t  start_pos,
@@ -2494,5 +2465,4 @@ __flow_hw_translate_actions_template(struct rte_eth_dev *dev,
 	bool recom_used = false;
 	unsigned int of_vlan_offset;
-	uint16_t jump_pos;
 	uint32_t ct_idx;
 	int ret, err;
@@ -2768,25 +2738,4 @@ __flow_hw_translate_actions_template(struct rte_eth_dev *dev,
 				goto err;
 			break;
-		case RTE_FLOW_ACTION_TYPE_METER:
-			/*
-			 * METER action is compiled to 2 DR actions - ASO_METER and FT.
-			 * Calculated DR offset is stored only for ASO_METER and FT
-			 * is assumed to be the next action.
-			 */
-			jump_pos = dr_pos + 1;
-			if (actions->conf && masks->conf &&
-			    ((const struct rte_flow_action_meter *)
-			     masks->conf)->mtr_id) {
-				err = flow_hw_meter_compile(dev, cfg,
-							    dr_pos, jump_pos, actions, acts,
-							    &sub_error);
-				if (err)
-					goto err;
-			} else if (__flow_hw_act_data_general_append(priv, acts,
-								     actions->type,
-								     src_pos,
-								     dr_pos))
-				goto err;
-			break;
 		case RTE_FLOW_ACTION_TYPE_AGE:
 			ret = flow_hw_translate_group(dev, cfg, attr->group,
@@ -3476,5 +3425,4 @@ flow_hw_actions_construct(struct rte_eth_dev *dev,
 	const struct rte_flow_item *enc_item = NULL;
 	const struct rte_flow_action_ethdev *port_action = NULL;
-	const struct rte_flow_action_meter *meter = NULL;
 	const struct rte_flow_action_age *age = NULL;
 	const struct rte_flow_action_nat64 *nat64_c = NULL;
@@ -3649,26 +3597,4 @@ flow_hw_actions_construct(struct rte_eth_dev *dev,
 						act_data->shared_meter.id);
 			break;
-		case RTE_FLOW_ACTION_TYPE_METER:
-			meter = action->conf;
-			mtr_id = meter->mtr_id;
-			aso_mtr = mlx5_aso_meter_by_idx(priv, mtr_id);
-			rule_acts[act_data->action_dst].action =
-				priv->mtr_bulk.action;
-			rule_acts[act_data->action_dst].aso_meter.offset =
-								aso_mtr->offset;
-			jump = flow_hw_jump_action_register
-				(dev, &table->cfg, aso_mtr->fm.group, NULL);
-			if (!jump)
-				goto error;
-			MLX5_ASSERT
-				(!rule_acts[act_data->action_dst + 1].action);
-			rule_acts[act_data->action_dst + 1].action =
-					(!!attr.group) ? jump->hws_action :
-							 jump->root_action;
-			flow->jump = jump;
-			flow->flags |= MLX5_FLOW_HW_FLOW_FLAG_FATE_JUMP;
-			if (mlx5_aso_mtr_wait(priv, aso_mtr, true))
-				goto error;
-			break;
 		case RTE_FLOW_ACTION_TYPE_AGE:
 			aux = mlx5_flow_hw_aux(dev->data->port_id, flow);
@@ -7232,8 +7158,4 @@ mlx5_flow_hw_actions_validate(struct rte_eth_dev *dev,
 			action_flags |= MLX5_FLOW_ACTION_IPV6_ROUTING_REMOVE;
 			break;
-		case RTE_FLOW_ACTION_TYPE_METER:
-			/* TODO: Validation logic */
-			action_flags |= MLX5_FLOW_ACTION_METER;
-			break;
 		case RTE_FLOW_ACTION_TYPE_METER_MARK:
 			ret = flow_hw_validate_action_meter_mark(dev, action, false, error);
@@ -7563,11 +7485,4 @@ flow_hw_parse_flow_actions_to_dr_actions(struct rte_eth_dev *dev,
 			}
 			break;
-		case RTE_FLOW_ACTION_TYPE_METER:
-			at->dr_off[i] = curr_off;
-			action_types[curr_off++] = MLX5DR_ACTION_TYP_ASO_METER;
-			if (curr_off >= MLX5_HW_MAX_ACTS)
-				goto err_actions_num;
-			action_types[curr_off++] = MLX5DR_ACTION_TYP_TBL;
-			break;
 		case RTE_FLOW_ACTION_TYPE_OF_PUSH_VLAN:
 			type = mlx5_hw_dr_action_types[at->actions[i].type];
diff --git a/drivers/net/mlx5/mlx5_flow_meter.c b/drivers/net/mlx5/mlx5_flow_meter.c
index 804f4371a4..4426470c8a 100644
--- a/drivers/net/mlx5/mlx5_flow_meter.c
+++ b/drivers/net/mlx5/mlx5_flow_meter.c
@@ -1157,47 +1157,4 @@ mlx5_flow_meter_policy_validate(struct rte_eth_dev *dev,
 }
 
-#if defined(HAVE_MLX5_HWS_SUPPORT)
-/**
- * Callback to check MTR policy action validate for HWS
- *
- * @param[in] dev
- *   Pointer to Ethernet device.
- * @param[in] actions
- *   Pointer to meter policy action detail.
- * @param[out] error
- *   Pointer to the error structure.
- *
- * @return
- *   0 on success, a negative errno value otherwise and rte_errno is set.
- */
-static int
-mlx5_flow_meter_policy_hws_validate(struct rte_eth_dev *dev,
-	struct rte_mtr_meter_policy_params *policy,
-	struct rte_mtr_error *error)
-{
-	struct mlx5_priv *priv = dev->data->dev_private;
-	const struct rte_flow_actions_template_attr attr = {
-		.transfer = priv->sh->config.dv_esw_en ? 1 : 0 };
-	int ret;
-	int i;
-
-	if (mlx5_hws_active(dev) && !mlx5_hw_ctx_validate(dev, NULL))
-		return -rte_mtr_error_set(error, EINVAL,
-					  RTE_MTR_ERROR_TYPE_UNSPECIFIED, NULL,
-					  "non-template flow engine was not configured");
-	if (!priv->mtr_en || !priv->sh->meter_aso_en)
-		return -rte_mtr_error_set(error, ENOTSUP,
-				RTE_MTR_ERROR_TYPE_METER_POLICY,
-				NULL, "meter policy unsupported.");
-	for (i = 0; i < RTE_COLORS; i++) {
-		ret = mlx5_flow_actions_validate(dev, &attr, policy->actions[i],
-						 policy->actions[i], NULL);
-		if (ret)
-			return ret;
-	}
-	return 0;
-}
-#endif
-
 static int
 __mlx5_flow_meter_policy_delete(struct rte_eth_dev *dev,
@@ -1531,332 +1488,4 @@ mlx5_flow_meter_policy_get(struct rte_eth_dev *dev,
 }
 
-#if defined(HAVE_MLX5_HWS_SUPPORT)
-/**
- * Callback to delete MTR policy for HWS.
- *
- * @param[in] dev
- *   Pointer to Ethernet device.
- * @param[in] policy_id
- *   Meter policy id.
- * @param[out] error
- *   Pointer to the error structure.
- *
- * @return
- *   0 on success, a negative errno value otherwise and rte_errno is set.
- */
-static int
-mlx5_flow_meter_policy_hws_delete(struct rte_eth_dev *dev,
-			  uint32_t policy_id,
-			  struct rte_mtr_error *error)
-{
-	struct mlx5_priv *priv = dev->data->dev_private;
-	struct mlx5_flow_meter_policy *mtr_policy;
-	uint32_t i, j;
-	uint32_t nb_flows = 0;
-	int ret;
-	struct rte_flow_op_attr op_attr = { .postpone = 1 };
-	struct rte_flow_op_result result[RTE_COLORS * MLX5_MTR_DOMAIN_MAX];
-
-	if (!priv->mtr_policy_arr)
-		return mlx5_flow_meter_policy_delete(dev, policy_id, error);
-	/* Meter policy must exist. */
-	mtr_policy = mlx5_flow_meter_policy_find(dev, policy_id, NULL);
-	if (!mtr_policy->initialized)
-		return -rte_mtr_error_set(error, ENOENT,
-			RTE_MTR_ERROR_TYPE_METER_POLICY_ID, NULL,
-			"Meter policy does not exists.");
-	/* Check policy is unused. */
-	if (mtr_policy->ref_cnt)
-		return -rte_mtr_error_set(error, EBUSY,
-					  RTE_MTR_ERROR_TYPE_METER_POLICY_ID,
-					  NULL, "Meter policy is in use.");
-	rte_spinlock_lock(&priv->hw_ctrl_lock);
-	for (i = 0; i < MLX5_MTR_DOMAIN_MAX; i++) {
-		for (j = 0; j < RTE_COLORS; j++) {
-			if (mtr_policy->hws_flow_rule[i][j]) {
-				ret = rte_flow_async_destroy(dev->data->port_id,
-					CTRL_QUEUE_ID(priv), &op_attr,
-					mtr_policy->hws_flow_rule[i][j],
-					NULL, NULL);
-				if (ret < 0)
-					continue;
-				nb_flows++;
-			}
-		}
-	}
-	ret = rte_flow_push(dev->data->port_id, CTRL_QUEUE_ID(priv), NULL);
-	while (nb_flows && (ret >= 0)) {
-		ret = rte_flow_pull(dev->data->port_id,
-					CTRL_QUEUE_ID(priv), result,
-					nb_flows, NULL);
-		nb_flows -= ret;
-	}
-	for (i = 0; i < MLX5_MTR_DOMAIN_MAX; i++) {
-		if (mtr_policy->hws_flow_table[i])
-			rte_flow_template_table_destroy(dev->data->port_id,
-				 mtr_policy->hws_flow_table[i], NULL);
-	}
-	for (i = 0; i < RTE_COLORS; i++) {
-		if (mtr_policy->hws_act_templ[i])
-			rte_flow_actions_template_destroy(dev->data->port_id,
-				 mtr_policy->hws_act_templ[i], NULL);
-	}
-	if (mtr_policy->hws_item_templ)
-		rte_flow_pattern_template_destroy(dev->data->port_id,
-				mtr_policy->hws_item_templ, NULL);
-	rte_spinlock_unlock(&priv->hw_ctrl_lock);
-	memset(mtr_policy, 0, sizeof(struct mlx5_flow_meter_policy));
-	return 0;
-}
-
-/**
- * Callback to add MTR policy for HWS.
- *
- * @param[in] dev
- *   Pointer to Ethernet device.
- * @param[out] policy_id
- *   Pointer to policy id
- * @param[in] actions
- *   Pointer to meter policy action detail.
- * @param[out] error
- *   Pointer to the error structure.
- *
- * @return
- *   0 on success, a negative errno value otherwise and rte_errno is set.
- */
-static int
-mlx5_flow_meter_policy_hws_add(struct rte_eth_dev *dev,
-			uint32_t policy_id,
-			struct rte_mtr_meter_policy_params *policy,
-			struct rte_mtr_error *error)
-{
-	struct mlx5_priv *priv = dev->data->dev_private;
-	struct mlx5_flow_meter_policy *mtr_policy = NULL;
-	const struct rte_flow_action *act;
-	const struct rte_flow_action_meter *mtr;
-	struct mlx5_flow_meter_info *fm;
-	struct mlx5_flow_meter_policy *plc;
-	uint8_t domain_color = MLX5_MTR_ALL_DOMAIN_BIT;
-	bool is_rss = false;
-	bool is_hierarchy = false;
-	int i, j;
-	uint32_t nb_colors = 0;
-	uint32_t nb_flows = 0;
-	int color;
-	int ret;
-	struct rte_flow_pattern_template_attr pta = {0};
-	struct rte_flow_actions_template_attr ata = {0};
-	struct rte_flow_template_table_attr ta = { {0}, 0 };
-	struct rte_flow_op_attr op_attr = { .postpone = 1 };
-	struct rte_flow_op_result result[RTE_COLORS * MLX5_MTR_DOMAIN_MAX];
-	const uint32_t color_mask = (UINT32_C(1) << MLX5_MTR_COLOR_BITS) - 1;
-	int color_reg_c_idx = mlx5_flow_get_reg_id(dev, MLX5_MTR_COLOR,
-						   0, NULL);
-	struct rte_flow_item_tag tag_spec = {
-		.data = 0,
-		.index = color_reg_c_idx
-	};
-	struct rte_flow_item_tag tag_mask = {
-		.data = color_mask,
-		.index = 0xff};
-	struct rte_flow_item pattern[] = {
-		[0] = {
-			.type = (enum rte_flow_item_type)
-				MLX5_RTE_FLOW_ITEM_TYPE_TAG,
-			.spec = &tag_spec,
-			.mask = &tag_mask,
-		},
-		[1] = { .type = RTE_FLOW_ITEM_TYPE_END }
-	};
-
-	if (mlx5_hws_active(dev) && !mlx5_hw_ctx_validate(dev, NULL))
-		return -rte_mtr_error_set(error, EINVAL,
-					  RTE_MTR_ERROR_TYPE_UNSPECIFIED, NULL,
-					  "non-template flow engine was not configured");
-	if (!priv->mtr_policy_arr)
-		return mlx5_flow_meter_policy_add(dev, policy_id, policy, error);
-	mtr_policy = mlx5_flow_meter_policy_find(dev, policy_id, NULL);
-	if (mtr_policy->initialized)
-		return -rte_mtr_error_set(error, EEXIST,
-			RTE_MTR_ERROR_TYPE_METER_POLICY_ID,
-			NULL, "Meter policy already exists.");
-	if (!policy ||
-	    (!policy->actions[RTE_COLOR_RED] &&
-	    !policy->actions[RTE_COLOR_YELLOW] &&
-	    !policy->actions[RTE_COLOR_GREEN]))
-		return -rte_mtr_error_set(error, EINVAL,
-					  RTE_MTR_ERROR_TYPE_METER_POLICY,
-					  NULL, "Meter policy actions are not valid.");
-	if (policy->actions[RTE_COLOR_RED] == RTE_FLOW_ACTION_TYPE_END)
-		mtr_policy->skip_r = 1;
-	if (policy->actions[RTE_COLOR_YELLOW] == RTE_FLOW_ACTION_TYPE_END)
-		mtr_policy->skip_y = 1;
-	if (policy->actions[RTE_COLOR_GREEN] == RTE_FLOW_ACTION_TYPE_END)
-		mtr_policy->skip_g = 1;
-	if (mtr_policy->skip_r && mtr_policy->skip_y && mtr_policy->skip_g)
-		return -rte_mtr_error_set(error, ENOTSUP,
-					  RTE_MTR_ERROR_TYPE_METER_POLICY_ID,
-					  NULL, "Meter policy actions are empty.");
-	for (i = 0; i < RTE_COLORS; i++) {
-		act = policy->actions[i];
-		while (act && act->type != RTE_FLOW_ACTION_TYPE_END) {
-			switch (act->type) {
-			case RTE_FLOW_ACTION_TYPE_PORT_ID:
-				/* fall-through. */
-			case RTE_FLOW_ACTION_TYPE_REPRESENTED_PORT:
-				domain_color &= ~(MLX5_MTR_DOMAIN_INGRESS_BIT |
-						  MLX5_MTR_DOMAIN_EGRESS_BIT);
-				break;
-			case RTE_FLOW_ACTION_TYPE_RSS:
-				is_rss = true;
-				/* fall-through. */
-			case RTE_FLOW_ACTION_TYPE_QUEUE:
-				domain_color &= ~(MLX5_MTR_DOMAIN_EGRESS_BIT |
-						  MLX5_MTR_DOMAIN_TRANSFER_BIT);
-				break;
-			case RTE_FLOW_ACTION_TYPE_METER:
-				is_hierarchy = true;
-				mtr = act->conf;
-				fm = mlx5_flow_meter_find(priv,
-							  mtr->mtr_id, NULL);
-				if (!fm)
-					return -rte_mtr_error_set(error, EINVAL,
-						RTE_MTR_ERROR_TYPE_MTR_ID, NULL,
-						"Meter not found in meter hierarchy.");
-				plc = mlx5_flow_meter_policy_find(dev,
-								  fm->policy_id,
-								  NULL);
-				MLX5_ASSERT(plc);
-				domain_color &= MLX5_MTR_ALL_DOMAIN_BIT &
-					(plc->ingress <<
-					 MLX5_MTR_DOMAIN_INGRESS);
-				domain_color &= MLX5_MTR_ALL_DOMAIN_BIT &
-					(plc->egress <<
-					 MLX5_MTR_DOMAIN_EGRESS);
-				domain_color &= MLX5_MTR_ALL_DOMAIN_BIT &
-					(plc->transfer <<
-					 MLX5_MTR_DOMAIN_TRANSFER);
-				break;
-			default:
-				break;
-			}
-			act++;
-		}
-	}
-	if (priv->sh->config.dv_esw_en)
-		domain_color &= ~(MLX5_MTR_DOMAIN_EGRESS_BIT |
-				  MLX5_MTR_DOMAIN_TRANSFER_BIT);
-	else
-		domain_color &= ~MLX5_MTR_DOMAIN_TRANSFER_BIT;
-	if (!domain_color)
-		return -rte_mtr_error_set(error, ENOTSUP,
-					  RTE_MTR_ERROR_TYPE_METER_POLICY_ID,
-					  NULL, "Meter policy domains are conflicting.");
-	mtr_policy->is_rss = is_rss;
-	mtr_policy->ingress = !!(domain_color & MLX5_MTR_DOMAIN_INGRESS_BIT);
-	pta.ingress = mtr_policy->ingress;
-	mtr_policy->egress = !!(domain_color & MLX5_MTR_DOMAIN_EGRESS_BIT);
-	pta.egress = mtr_policy->egress;
-	mtr_policy->transfer = !!(domain_color & MLX5_MTR_DOMAIN_TRANSFER_BIT);
-	pta.transfer = mtr_policy->transfer;
-	mtr_policy->group = MLX5_FLOW_TABLE_HWS_POLICY - policy_id;
-	mtr_policy->is_hierarchy = is_hierarchy;
-	mtr_policy->initialized = 1;
-	rte_spinlock_lock(&priv->hw_ctrl_lock);
-	mtr_policy->hws_item_templ =
-		rte_flow_pattern_template_create(dev->data->port_id,
-						 &pta, pattern, NULL);
-	if (!mtr_policy->hws_item_templ)
-		goto policy_add_err;
-	for (i = 0; i < RTE_COLORS; i++) {
-		if (mtr_policy->skip_g && i == RTE_COLOR_GREEN)
-			continue;
-		if (mtr_policy->skip_y && i == RTE_COLOR_YELLOW)
-			continue;
-		if (mtr_policy->skip_r && i == RTE_COLOR_RED)
-			continue;
-		mtr_policy->hws_act_templ[nb_colors] =
-			rte_flow_actions_template_create(dev->data->port_id,
-						&ata, policy->actions[i],
-						policy->actions[i], NULL);
-		if (!mtr_policy->hws_act_templ[nb_colors])
-			goto policy_add_err;
-		nb_colors++;
-	}
-	for (i = 0; i < MLX5_MTR_DOMAIN_MAX; i++) {
-		memset(&ta, 0, sizeof(ta));
-		ta.nb_flows = RTE_COLORS;
-		ta.flow_attr.group = mtr_policy->group;
-		if (i == MLX5_MTR_DOMAIN_INGRESS) {
-			if (!mtr_policy->ingress)
-				continue;
-			ta.flow_attr.ingress = 1;
-		} else if (i == MLX5_MTR_DOMAIN_EGRESS) {
-			if (!mtr_policy->egress)
-				continue;
-			ta.flow_attr.egress = 1;
-		} else if (i == MLX5_MTR_DOMAIN_TRANSFER) {
-			if (!mtr_policy->transfer)
-				continue;
-			ta.flow_attr.transfer = 1;
-		}
-		mtr_policy->hws_flow_table[i] =
-			rte_flow_template_table_create(dev->data->port_id,
-					&ta, &mtr_policy->hws_item_templ, 1,
-					mtr_policy->hws_act_templ, nb_colors,
-					NULL);
-		if (!mtr_policy->hws_flow_table[i])
-			goto policy_add_err;
-		nb_colors = 0;
-		for (j = 0; j < RTE_COLORS; j++) {
-			if (mtr_policy->skip_g && j == RTE_COLOR_GREEN)
-				continue;
-			if (mtr_policy->skip_y && j == RTE_COLOR_YELLOW)
-				continue;
-			if (mtr_policy->skip_r && j == RTE_COLOR_RED)
-				continue;
-			color = rte_col_2_mlx5_col((enum rte_color)j);
-			tag_spec.data = color;
-			mtr_policy->hws_flow_rule[i][j] =
-				rte_flow_async_create(dev->data->port_id,
-					CTRL_QUEUE_ID(priv), &op_attr,
-					mtr_policy->hws_flow_table[i],
-					pattern, 0, policy->actions[j],
-					nb_colors, NULL, NULL);
-			if (!mtr_policy->hws_flow_rule[i][j])
-				goto policy_add_err;
-			nb_colors++;
-			nb_flows++;
-		}
-		ret = rte_flow_push(dev->data->port_id,
-				    CTRL_QUEUE_ID(priv), NULL);
-		if (ret < 0)
-			goto policy_add_err;
-		while (nb_flows) {
-			ret = rte_flow_pull(dev->data->port_id,
-					    CTRL_QUEUE_ID(priv), result,
-					    nb_flows, NULL);
-			if (ret < 0)
-				goto policy_add_err;
-			for (j = 0; j < ret; j++) {
-				if (result[j].status == RTE_FLOW_OP_ERROR)
-					goto policy_add_err;
-			}
-			nb_flows -= ret;
-		}
-	}
-	rte_spinlock_unlock(&priv->hw_ctrl_lock);
-	return 0;
-policy_add_err:
-	rte_spinlock_unlock(&priv->hw_ctrl_lock);
-	ret = mlx5_flow_meter_policy_hws_delete(dev, policy_id, error);
-	memset(mtr_policy, 0, sizeof(struct mlx5_flow_meter_policy));
-	if (ret)
-		return ret;
-	return -rte_mtr_error_set(error, ENOTSUP,
-				  RTE_MTR_ERROR_TYPE_UNSPECIFIED,
-				  NULL, "Failed to create meter policy.");
-}
-#endif
 /**
  * Check meter validation.
@@ -2230,103 +1859,4 @@ error:
 }
 
-#if defined(HAVE_MLX5_HWS_SUPPORT)
-/**
- * Create meter rules.
- *
- * @param[in] dev
- *   Pointer to Ethernet device.
- * @param[in] meter_id
- *   Meter id.
- * @param[in] params
- *   Pointer to rte meter parameters.
- * @param[in] shared
- *   Meter shared with other flow or not.
- * @param[out] error
- *   Pointer to rte meter error structure.
- *
- * @return
- *   0 on success, a negative errno value otherwise and rte_errno is set.
- */
-static int
-mlx5_flow_meter_hws_create(struct rte_eth_dev *dev, uint32_t meter_id,
-		       struct rte_mtr_params *params, int shared,
-		       struct rte_mtr_error *error)
-{
-	struct mlx5_priv *priv = dev->data->dev_private;
-	struct mlx5_flow_meter_profile *profile;
-	struct mlx5_flow_meter_info *fm;
-	struct mlx5_flow_meter_policy *policy = NULL;
-	struct mlx5_aso_mtr *aso_mtr;
-	struct mlx5_hw_q_job *job;
-	int ret;
-
-	if (mlx5_hws_active(dev) && !mlx5_hw_ctx_validate(dev, NULL))
-		return -rte_mtr_error_set(error, EINVAL,
-					  RTE_MTR_ERROR_TYPE_UNSPECIFIED, NULL,
-					  "non-template flow engine was not configured");
-	if (!priv->mtr_profile_arr ||
-	    !priv->mtr_policy_arr ||
-	    !priv->mtr_bulk.aso)
-		return -rte_mtr_error_set(error, ENOTSUP,
-			RTE_MTR_ERROR_TYPE_UNSPECIFIED, NULL,
-			"Meter bulk array is not allocated.");
-	/* Meter profile must exist. */
-	profile = mlx5_flow_meter_profile_find(priv, params->meter_profile_id);
-	if (!profile->initialized)
-		return -rte_mtr_error_set(error, ENOENT,
-			RTE_MTR_ERROR_TYPE_METER_PROFILE_ID,
-			NULL, "Meter profile id not valid.");
-	/* Meter policy must exist. */
-	policy = mlx5_flow_meter_policy_find(dev,
-			params->meter_policy_id, NULL);
-	if (!policy->initialized)
-		return -rte_mtr_error_set(error, ENOENT,
-			RTE_MTR_ERROR_TYPE_METER_POLICY_ID,
-			NULL, "Meter policy id not valid.");
-	/* Meter ID must be valid. */
-	if (meter_id >= priv->mtr_config.nb_meters)
-		return -rte_mtr_error_set(error, EINVAL,
-			RTE_MTR_ERROR_TYPE_MTR_ID,
-			NULL, "Meter id not valid.");
-	/* Find ASO object. */
-	aso_mtr = mlx5_aso_meter_by_idx(priv, meter_id);
-	fm = &aso_mtr->fm;
-	if (fm->initialized)
-		return -rte_mtr_error_set(error, ENOENT,
-					  RTE_MTR_ERROR_TYPE_MTR_ID,
-					  NULL, "Meter object already exists.");
-	/* Fill the flow meter parameters. */
-	fm->meter_id = meter_id;
-	fm->policy_id = params->meter_policy_id;
-	fm->profile = profile;
-	fm->meter_offset = meter_id;
-	fm->group = policy->group;
-	/* Add to the flow meter list. */
-	fm->active_state = 1; /* Config meter starts as active. */
-	fm->is_enable = params->meter_enable;
-	fm->shared = !!shared;
-	fm->initialized = 1;
-	/* Update ASO flow meter by wqe. */
-	job = mlx5_flow_action_job_init(priv, MLX5_HW_INV_QUEUE, NULL, NULL,
-					NULL, MLX5_HW_Q_JOB_TYPE_CREATE, NULL);
-	if (!job)
-		return -rte_mtr_error_set(error, ENOMEM,
-					  RTE_MTR_ERROR_TYPE_MTR_ID,
-					  NULL, "No job context.");
-	ret = mlx5_aso_meter_update_by_wqe(priv, MLX5_HW_INV_QUEUE, aso_mtr,
-					   &priv->mtr_bulk, job, true);
-	if (ret) {
-		flow_hw_job_put(priv, job, CTRL_QUEUE_ID(priv));
-		return -rte_mtr_error_set(error, ENOTSUP,
-					  RTE_MTR_ERROR_TYPE_UNSPECIFIED,
-					  NULL, "Failed to create devx meter.");
-	}
-	fm->active_state = params->meter_enable;
-	rte_atomic_fetch_add_explicit(&fm->profile->ref_cnt, 1, rte_memory_order_relaxed);
-	rte_atomic_fetch_add_explicit(&policy->ref_cnt, 1, rte_memory_order_relaxed);
-	return 0;
-}
-#endif
-
 static int
 mlx5_flow_meter_params_flush(struct rte_eth_dev *dev,
@@ -2435,56 +1965,4 @@ mlx5_flow_meter_destroy(struct rte_eth_dev *dev, uint32_t meter_id,
 }
 
-/**
- * Destroy meter rules.
- *
- * @param[in] dev
- *   Pointer to Ethernet device.
- * @param[in] meter_id
- *   Meter id.
- * @param[out] error
- *   Pointer to rte meter error structure.
- *
- * @return
- *   0 on success, a negative errno value otherwise and rte_errno is set.
- */
-static int
-mlx5_flow_meter_hws_destroy(struct rte_eth_dev *dev, uint32_t meter_id,
-			struct rte_mtr_error *error)
-{
-	struct mlx5_priv *priv = dev->data->dev_private;
-	struct mlx5_aso_mtr *aso_mtr;
-	struct mlx5_flow_meter_info *fm;
-	struct mlx5_flow_meter_policy *policy;
-
-	if (!priv->mtr_profile_arr ||
-	    !priv->mtr_policy_arr ||
-	    !priv->mtr_bulk.aso)
-		return -rte_mtr_error_set(error, ENOTSUP,
-			RTE_MTR_ERROR_TYPE_METER_POLICY, NULL,
-			"Meter bulk array is not allocated.");
-	/* Find ASO object. */
-	aso_mtr = mlx5_aso_meter_by_idx(priv, meter_id);
-	fm = &aso_mtr->fm;
-	if (!fm->initialized)
-		return -rte_mtr_error_set(error, ENOENT,
-					  RTE_MTR_ERROR_TYPE_MTR_ID,
-					  NULL, "Meter object id not valid.");
-	/* Meter object must not have any owner. */
-	if (fm->ref_cnt > 0)
-		return -rte_mtr_error_set(error, EBUSY,
-					  RTE_MTR_ERROR_TYPE_UNSPECIFIED,
-					  NULL, "Meter object is being used.");
-	/* Destroy the meter profile. */
-	rte_atomic_fetch_sub_explicit(&fm->profile->ref_cnt,
-						1, rte_memory_order_relaxed);
-	/* Destroy the meter policy. */
-	policy = mlx5_flow_meter_policy_find(dev,
-			fm->policy_id, NULL);
-	rte_atomic_fetch_sub_explicit(&policy->ref_cnt,
-						1, rte_memory_order_relaxed);
-	memset(fm, 0, sizeof(struct mlx5_flow_meter_info));
-	return 0;
-}
-
 /**
  * Modify meter state.
@@ -2826,12 +2304,4 @@ static const struct rte_mtr_ops mlx5_flow_mtr_hws_ops = {
 	.meter_profile_delete = mlx5_flow_meter_profile_hws_delete,
 	.meter_profile_get = mlx5_flow_meter_profile_get,
-	.meter_policy_validate = mlx5_flow_meter_policy_hws_validate,
-	.meter_policy_add = mlx5_flow_meter_policy_hws_add,
-	.meter_policy_delete = mlx5_flow_meter_policy_hws_delete,
-	.meter_policy_get = mlx5_flow_meter_policy_get,
-	.create = mlx5_flow_meter_hws_create,
-	.destroy = mlx5_flow_meter_hws_destroy,
-	.meter_enable = mlx5_flow_meter_enable,
-	.meter_disable = mlx5_flow_meter_disable,
 	.meter_profile_update = mlx5_flow_meter_profile_update,
 	.meter_dscp_table_update = NULL,
@@ -3277,12 +2747,4 @@ mlx5_flow_meter_flush(struct rte_eth_dev *dev, struct rte_mtr_error *error)
 		}
 	}
-	if (priv->mtr_bulk.aso) {
-		for (i = 0; i < priv->mtr_config.nb_meters; i++) {
-			aso_mtr = mlx5_aso_meter_by_idx(priv, i);
-			fm = &aso_mtr->fm;
-			if (fm->initialized)
-				mlx5_flow_meter_hws_destroy(dev, i, error);
-		}
-	}
 	if (priv->policy_idx_tbl) {
 		MLX5_L3T_FOREACH(priv->policy_idx_tbl, i, entry) {
@@ -3310,18 +2772,4 @@ mlx5_flow_meter_flush(struct rte_eth_dev *dev, struct rte_mtr_error *error)
 		priv->policy_idx_tbl = NULL;
 	}
-#if defined(HAVE_MLX5_HWS_SUPPORT)
-	if (priv->mtr_policy_arr) {
-		struct mlx5_flow_meter_policy *policy;
-
-		for (i = 0; i < priv->mtr_config.nb_meter_policies; i++) {
-			policy = mlx5_flow_meter_policy_find(dev, i,
-							     &policy_idx);
-			if (policy->initialized) {
-				mlx5_flow_meter_policy_hws_delete(dev, i,
-								  error);
-			}
-		}
-	}
-#endif
 	if (priv->mtr_profile_tbl) {
 		MLX5_L3T_FOREACH(priv->mtr_profile_tbl, i, entry) {
-- 
2.50.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2025-07-18 20:29:12.222819280 +0100
+++ 0032-net-mlx5-remove-unsupported-flow-meter-action-in-HWS.patch	2025-07-18 20:29:10.887907199 +0100
@@ -1 +1 @@
-From 645f240d1cd57d0be1b773c739a5845a7663eeed Mon Sep 17 00:00:00 2001
+From ad77925778d2e8798609cf8142b4ab0ddbf10e9a Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 645f240d1cd57d0be1b773c739a5845a7663eeed ]
+
@@ -12 +13,0 @@
-Cc: stable@dpdk.org
@@ -22 +23 @@
-index d58f3d10a1..281f23366f 100644
+index e15466117b..99cb4eba8d 100644
@@ -25 +26 @@
-@@ -1796,33 +1796,4 @@ flow_hw_represented_port_compile(struct rte_eth_dev *dev,
+@@ -1750,33 +1750,4 @@ flow_hw_represented_port_compile(struct rte_eth_dev *dev,
@@ -59 +60 @@
-@@ -2546,5 +2517,4 @@ __flow_hw_translate_actions_template(struct rte_eth_dev *dev,
+@@ -2494,5 +2465,4 @@ __flow_hw_translate_actions_template(struct rte_eth_dev *dev,
@@ -65 +66 @@
-@@ -2814,25 +2784,4 @@ __flow_hw_translate_actions_template(struct rte_eth_dev *dev,
+@@ -2768,25 +2738,4 @@ __flow_hw_translate_actions_template(struct rte_eth_dev *dev,
@@ -91 +92 @@
-@@ -3522,5 +3471,4 @@ flow_hw_actions_construct(struct rte_eth_dev *dev,
+@@ -3476,5 +3425,4 @@ flow_hw_actions_construct(struct rte_eth_dev *dev,
@@ -97 +98 @@
-@@ -3695,26 +3643,4 @@ flow_hw_actions_construct(struct rte_eth_dev *dev,
+@@ -3649,26 +3597,4 @@ flow_hw_actions_construct(struct rte_eth_dev *dev,
@@ -124 +125 @@
-@@ -7346,8 +7272,4 @@ mlx5_flow_hw_actions_validate(struct rte_eth_dev *dev,
+@@ -7232,8 +7158,4 @@ mlx5_flow_hw_actions_validate(struct rte_eth_dev *dev,
@@ -133 +134 @@
-@@ -7677,11 +7599,4 @@ flow_hw_parse_flow_actions_to_dr_actions(struct rte_eth_dev *dev,
+@@ -7563,11 +7485,4 @@ flow_hw_parse_flow_actions_to_dr_actions(struct rte_eth_dev *dev,
@@ -146 +147 @@
-index dab3c4bf77..cd6a804593 100644
+index 804f4371a4..4426470c8a 100644
@@ -149 +150 @@
-@@ -1167,47 +1167,4 @@ mlx5_flow_meter_policy_validate(struct rte_eth_dev *dev,
+@@ -1157,47 +1157,4 @@ mlx5_flow_meter_policy_validate(struct rte_eth_dev *dev,
@@ -197 +198 @@
-@@ -1541,332 +1498,4 @@ mlx5_flow_meter_policy_get(struct rte_eth_dev *dev,
+@@ -1531,332 +1488,4 @@ mlx5_flow_meter_policy_get(struct rte_eth_dev *dev,
@@ -530 +531 @@
-@@ -2240,103 +1869,4 @@ error:
+@@ -2230,103 +1859,4 @@ error:
@@ -634 +635 @@
-@@ -2445,56 +1975,4 @@ mlx5_flow_meter_destroy(struct rte_eth_dev *dev, uint32_t meter_id,
+@@ -2435,56 +1965,4 @@ mlx5_flow_meter_destroy(struct rte_eth_dev *dev, uint32_t meter_id,
@@ -691 +692 @@
-@@ -2836,12 +2314,4 @@ static const struct rte_mtr_ops mlx5_flow_mtr_hws_ops = {
+@@ -2826,12 +2304,4 @@ static const struct rte_mtr_ops mlx5_flow_mtr_hws_ops = {
@@ -704 +705 @@
-@@ -3287,12 +2757,4 @@ mlx5_flow_meter_flush(struct rte_eth_dev *dev, struct rte_mtr_error *error)
+@@ -3277,12 +2747,4 @@ mlx5_flow_meter_flush(struct rte_eth_dev *dev, struct rte_mtr_error *error)
@@ -717 +718 @@
-@@ -3320,18 +2782,4 @@ mlx5_flow_meter_flush(struct rte_eth_dev *dev, struct rte_mtr_error *error)
+@@ -3310,18 +2772,4 @@ mlx5_flow_meter_flush(struct rte_eth_dev *dev, struct rte_mtr_error *error)


  parent reply	other threads:[~2025-07-18 19:34 UTC|newest]

Thread overview: 176+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-18 19:28 patch 'net/fm10k/base: fix compilation warnings' " Kevin Traynor
2025-07-18 19:28 ` patch 'net/ixgbe/base: correct definition of endianness macro' " Kevin Traynor
2025-07-18 19:28 ` patch 'net/ixgbe/base: fix compilation warnings' " Kevin Traynor
2025-07-18 19:28 ` patch 'net/i40e/base: fix unused value " Kevin Traynor
2025-07-18 19:28 ` patch 'net/i40e/base: fix compiler " Kevin Traynor
2025-07-18 19:29 ` patch 'acl: fix build with GCC 15 on aarch64' " Kevin Traynor
2025-07-18 19:29 ` patch 'eal/linux: improve ASLR check' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/idpf: fix truncation of constant value' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/e1000: fix EEPROM dump' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/ixgbe: enable ethertype filter for E610' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/ixgbe: fix port mask default value in filter' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/e1000: fix igb Tx queue offloads capability' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/ice: fix flow creation failure' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/ice: fix support for 3 scheduler levels' " Kevin Traynor
2025-07-18 19:29 ` patch 'vhost: fix wrapping on control virtqueue rings' " Kevin Traynor
2025-07-18 19:29 ` patch 'vhost/crypto: fix cipher data length' " Kevin Traynor
2025-07-18 19:29 ` patch 'crypto/virtio: fix cipher data source " Kevin Traynor
2025-07-18 19:29 ` patch 'event/cnxk: fix missing HW state checks' " Kevin Traynor
2025-07-18 19:29 ` patch 'crypto/cnxk: fix uninitialized variable' " Kevin Traynor
2025-07-18 19:29 ` patch 'crypto/cnxk: fix out-of-bounds access in SM2' " Kevin Traynor
2025-07-18 19:29 ` patch 'app/crypto-perf: fix AAD offset alignment' " Kevin Traynor
2025-07-18 19:29 ` patch 'crypto/qat: fix out-of-place header bytes in AEAD raw API' " Kevin Traynor
2025-07-18 19:29 ` patch 'crypto/qat: fix out-of-place chain/cipher/auth headers' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/mlx5: fix header modify action on group 0' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/mlx5: validate GTP PSC QFI width' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/mlx5: fix counter pool init error propagation' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/mlx5: fix counter service cleanup on init failure' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/mlx5: fix validation for GENEVE options' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/mlx5: fix GRE flow item validation' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/mlx5/hws: fix send queue drain on FW WQE destroy' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/mlx5: fix flex tunnel flow validation' " Kevin Traynor
2025-07-18 19:29 ` Kevin Traynor [this message]
2025-07-18 19:29 ` patch 'net/mlx5: fix error notification for large flow patterns' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/mlx5: fix mark action with shared Rx queue' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/mlx5: align PF and VF/SF MAC address handling' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/sfc: fix action order on start failure' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/nfp: fix crash with null RSS hash key' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/nfp: fix hash key length logic' " Kevin Traynor
2025-07-18 19:29 ` patch 'app/testpmd: fix RSS hash key update' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/af_xdp: fix use after free in zero-copy Tx' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/hns3: fix integer overflow in interrupt unmap' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/hns3: fix memory leak on failure' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/hns3: fix extra wait for link up' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/hns3: fix memory leak for indirect flow action' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/hns3: fix interrupt rollback' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/hns3: fix divide by zero' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/hns3: fix resources release on reset' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/nfp: fix flow rule freeing' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/nfp: fix control message overflow' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/nfp: standardize NFDk Tx descriptor endianness' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/qede: fix use after free' " Kevin Traynor
2025-07-18 19:29 ` patch 'bus/fslmc: " Kevin Traynor
2025-07-18 19:29 ` patch 'net/null: fix packet copy' " Kevin Traynor
2025-07-18 19:29 ` patch 'bus/vmbus: use Hyper-V page size' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/netvsc: " Kevin Traynor
2025-07-18 19:29 ` patch 'net/netvsc: add stats counters from VF' " Kevin Traynor
2025-07-18 19:29 ` patch 'app/testpmd: relax number of TCs in DCB command' " Kevin Traynor
2025-07-18 19:29 ` patch 'app/testpmd: fix flow random item token' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/mana: check vendor ID when probing RDMA device' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/ntnic: avoid divide by zero' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/ntnic: fix ring queue operation' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/hns3: fix CRC data segment' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/tap: fix qdisc add failure handling' " Kevin Traynor
2025-07-18 19:29 ` patch 'net/mlx5: fix VLAN stripping on hairpin queue' " Kevin Traynor
2025-07-18 19:29 ` patch 'mem: fix lockup on address space shortage' " Kevin Traynor
2025-07-18 19:30 ` patch 'test/malloc: improve resiliency' " Kevin Traynor
2025-07-18 19:30 ` patch 'trace: fix overflow in per-lcore trace buffer' " Kevin Traynor
2025-07-18 19:30 ` patch 'net/octeon_ep: fix buffer refill' " Kevin Traynor
2025-07-18 19:30 ` patch 'common/cnxk: fix aura offset' " Kevin Traynor
2025-07-18 19:30 ` patch 'common/cnxk: fix E-tag pattern parsing' " Kevin Traynor
2025-07-18 19:30 ` patch 'common/cnxk: fix CQ tail drop' " Kevin Traynor
2025-07-18 19:30 ` patch 'net/cnxk: fix descriptor count update on reconfig' " Kevin Traynor
2025-07-18 19:30 ` patch 'ethdev: fix error struct in flow configure' " Kevin Traynor
2025-07-18 19:30 ` patch 'net/ice/base: fix type conversion' " Kevin Traynor
2025-07-18 19:30 ` patch 'net/ice/base: fix media type check' " Kevin Traynor
2025-07-18 19:30 ` patch 'net/ice/base: fix integer overflow' " Kevin Traynor
2025-07-18 19:30 ` patch 'net/ice/base: fix typo in device ID description' " Kevin Traynor
2025-07-18 19:30 ` patch 'common/dpaax: fix PDCP key command race condition' " Kevin Traynor
2025-07-18 19:30 ` patch 'common/dpaax: fix PDCP AES only 12-bit SN' " Kevin Traynor
2025-07-18 19:30 ` patch 'crypto/dpaa2_sec: fix uninitialized variable' " Kevin Traynor
2025-07-18 19:30 ` patch 'crypto/cnxk: update SG list population' " Kevin Traynor
2025-07-18 19:30 ` patch 'crypto/cnxk: fix QP stats' " Kevin Traynor
2025-07-18 19:30 ` patch 'crypto/virtio: fix driver cleanup' " Kevin Traynor
2025-07-18 19:30 ` patch 'eal: fix return value of lcore role' " Kevin Traynor
2025-07-18 19:30 ` patch 'eal: warn if no lcore is available' " Kevin Traynor
2025-07-18 19:30 ` patch 'test/lcore: fix race in per-lcore test' " Kevin Traynor
2025-07-18 19:30 ` patch 'bus: cleanup device lists' " Kevin Traynor
2025-07-18 19:30 ` patch 'eal/linux: unregister alarm callback before free' " Kevin Traynor
2025-07-18 19:30 ` patch 'eal/freebsd: " Kevin Traynor
2025-07-18 19:30 ` patch 'bus/pci/bsd: fix device existence check' " Kevin Traynor
2025-07-18 19:30 ` patch 'power/intel_uncore: fix crash closing uninitialized driver' " Kevin Traynor
2025-07-18 19:30 ` patch 'net: fix IPv6 check for IPv4 compat' " Kevin Traynor
2025-07-18 19:30 ` patch 'pcapng: fix null dereference in close' " Kevin Traynor
2025-07-18 19:30 ` patch 'crypto/qat: fix size calculation for memset' " Kevin Traynor
2025-07-18 19:30 ` patch 'net/mlx5: fix link on Windows' " Kevin Traynor
2025-07-18 19:30 ` patch 'net/mlx5: avoid setting kernel MTU if not needed' " Kevin Traynor
2025-07-18 19:30 ` patch 'net/mlx5: fix hypervisor detection in VLAN workaround' " Kevin Traynor
2025-07-18 19:30 ` patch 'net/mlx5: fix template flow rule identification' " Kevin Traynor
2025-07-18 19:30 ` patch 'net/ixgbe/base: fix link status for E610' " Kevin Traynor
2025-07-18 19:30 ` patch 'net/hns3: check requirement for hardware GRO' " Kevin Traynor
2025-07-18 19:30 ` patch 'net/hns3: allow Tx vector when fast free not enabled' " Kevin Traynor
2025-07-18 19:30 ` patch 'common/mlx5: fix dependency detection on Windows' " Kevin Traynor
2025-07-18 19:30 ` patch 'net/mlx5: fix crash in HWS counter pool destroy' " Kevin Traynor
2025-07-18 19:30 ` patch 'net/mlx5: fix access to auxiliary flow data' " Kevin Traynor
2025-07-18 19:30 ` patch 'common/mlx5: fix extraction of auxiliary device name' " Kevin Traynor
2025-07-18 19:30 ` patch 'net/mlx5: fix crash on age query with indirect conntrack' " Kevin Traynor
2025-07-18 19:30 ` patch 'net/mlx5: fix WQE size calculation for Tx queue' " Kevin Traynor
2025-07-18 19:30 ` patch 'eal/x86: fix C++ build' " Kevin Traynor
2025-07-18 19:30 ` patch 'net/ixgbe: fix indentation' " Kevin Traynor
2025-07-18 19:30 ` patch 'net/ice: fix querying RSS hash for DCF' " Kevin Traynor
2025-07-18 19:30 ` patch 'net/ice: fix handling empty DCF RSS hash' " Kevin Traynor
2025-07-18 19:30 ` patch 'net/iavf: fix VLAN strip setting after enabling filter' " Kevin Traynor
2025-07-18 19:30 ` patch 'vhost: search virtqueues driver data in read-only area' " Kevin Traynor
2025-07-18 19:30 ` patch 'vhost: fix net control virtqueue used length' " Kevin Traynor
2025-07-18 19:30 ` patch 'eal/unix: fix log message for madvise failure' " Kevin Traynor
2025-07-18 19:30 ` patch 'buildtools/test: scan muti-line registrations' " Kevin Traynor
2025-07-18 19:30 ` patch 'crypto/cnxk: fix includes' " Kevin Traynor
2025-07-18 19:30 ` patch 'common/cnxk: fix qsize in CPT iq enable' " Kevin Traynor
2025-07-18 19:30 ` patch 'crypto/qat: fix out-of-place chain/cipher/auth headers' " Kevin Traynor
2025-07-18 19:30 ` patch 'examples/ipsec-secgw: fix crash with IPv6' " Kevin Traynor
2025-07-18 19:30 ` patch 'examples/ipsec-secgw: fix crash in event vector mode' " Kevin Traynor
2025-07-18 19:30 ` patch 'test/crypto: fix auth and cipher case IV length' " Kevin Traynor
2025-07-18 19:30 ` patch 'test/crypto: set to null after freeing operation' " Kevin Traynor
2025-07-18 19:30 ` patch 'crypto/openssl: include private exponent in RSA session' " Kevin Traynor
2025-07-18 19:30 ` patch 'test/crypto: fix RSA vector as per RFC 8017' " Kevin Traynor
2025-07-18 19:31 ` patch 'test/crypto: fix RSA decrypt validation' " Kevin Traynor
2025-07-18 19:31 ` patch 'test/crypto: fix EdDSA vector description' " Kevin Traynor
2025-07-18 19:31 ` patch 'event/dlb2: fix dequeue with CQ depth <= 16' " Kevin Traynor
2025-07-18 19:31 ` patch 'event/dlb2: fix validaton of LDB port COS ID arguments' " Kevin Traynor
2025-07-18 19:31 ` patch 'event/dlb2: fix num single link ports for DLB2.5' " Kevin Traynor
2025-07-18 19:31 ` patch 'event/dlb2: fix QID depth xstat' " Kevin Traynor
2025-07-18 19:31 ` patch 'event/dlb2: fix default credits based on HW version' " Kevin Traynor
2025-07-18 19:31 ` patch 'event/dlb2: fix public symbol namespace' " Kevin Traynor
2025-07-18 19:31 ` patch 'app/eventdev: fix number of releases sent during cleanup' " Kevin Traynor
2025-07-18 19:31 ` patch 'eventdev: fix flag types consistency' " Kevin Traynor
2025-07-18 19:31 ` patch 'net/ntnic: unmap DMA during queue release' " Kevin Traynor
2025-07-18 19:31 ` patch 'net/txgbe: fix ntuple filter parsing' " Kevin Traynor
2025-07-18 19:31 ` patch 'net/txgbe: fix raw pattern match for FDIR rule' " Kevin Traynor
2025-07-18 19:31 ` patch 'net/txgbe: fix packet type for FDIR filter' " Kevin Traynor
2025-07-18 19:31 ` patch 'net/txgbe: fix to create FDIR filter for SCTP packet' " Kevin Traynor
2025-07-18 19:31 ` patch 'net/txgbe: fix FDIR perfect mode for IPv6' " Kevin Traynor
2025-07-18 19:31 ` patch 'net/txgbe: fix to create FDIR filter for tunnel packet' " Kevin Traynor
2025-07-18 19:31 ` patch 'net/txgbe: fix reserved extra FDIR headroom' " Kevin Traynor
2025-07-18 19:31 ` patch 'net/txgbe: fix MAC control frame forwarding' " Kevin Traynor
2025-07-18 19:31 ` patch 'net/ngbe: " Kevin Traynor
2025-07-18 19:31 ` patch 'net/txgbe: fix device statistics' " Kevin Traynor
2025-07-18 19:31 ` patch 'net/ngbe: " Kevin Traynor
2025-07-18 19:31 ` patch 'net/txgbe: restrict VLAN strip configuration on VF' " Kevin Traynor
2025-07-18 19:31 ` patch 'net/txgbe: add LRO flag in mbuf when enabled' " Kevin Traynor
2025-07-18 19:31 ` patch 'net/hns3: fix queue TC configuration on VF' " Kevin Traynor
2025-07-18 19:31 ` patch 'net/bonding: avoid RSS RETA update in flow isolation mode' " Kevin Traynor
2025-07-18 19:31 ` patch 'net/iavf: fix VLAN strip disabling for ADQ v2 capability' " Kevin Traynor
2025-07-18 19:31 ` patch 'net/i40e: fix RSS on plain IPv4' " Kevin Traynor
2025-07-18 19:31 ` patch 'net/octeon_ep: increase mailbox timeout' " Kevin Traynor
2025-07-18 19:31 ` patch 'bus/auxiliary: fix crash in cleanup' " Kevin Traynor
2025-07-18 19:31 ` patch 'net/mlx5: fix masked indirect age action validation' " Kevin Traynor
2025-07-18 19:31 ` patch 'net/mlx5: fix out-of-order completions in ordinary Rx burst' " Kevin Traynor
2025-07-18 19:31 ` patch 'examples/ntb: check more heap allocations' " Kevin Traynor
2025-07-18 19:31 ` patch 'examples/ipsec-secgw: fix number of queue pairs' " Kevin Traynor
2025-07-18 19:31 ` patch 'dts: fix deterministic doc' " Kevin Traynor
2025-07-18 19:31 ` patch 'net/e1000: fix xstats name' " Kevin Traynor
2025-07-18 19:31 ` patch 'net/mlx5: fix maximal queue size query' " Kevin Traynor
2025-07-18 19:31 ` patch 'bus/vmbus: align ring buffer data to page boundary' " Kevin Traynor
2025-07-18 19:31 ` patch 'crypto/virtio: add request check on request side' " Kevin Traynor
2025-07-18 19:31 ` patch 'ethdev: keep promiscuous/allmulti value before disabling' " Kevin Traynor
2025-07-18 19:31 ` patch 'net/ixgbe/base: fix lock checker errors' " Kevin Traynor
2025-07-18 19:31 ` patch 'net/nfp: standardize Rx descriptor endianness' " Kevin Traynor
2025-07-18 19:31 ` patch 'net/nfp: standardize NFD3 Tx " Kevin Traynor
2025-07-18 19:31 ` patch 'doc: add kernel options required for mlx5' " Kevin Traynor
2025-07-18 19:31 ` patch 'net/ixgbe: remove VLAs' " Kevin Traynor
2025-07-18 19:31 ` patch 'net/ixgbe: skip MACsec stats for E610' " Kevin Traynor
2025-07-18 19:31 ` patch 'net/cnxk: fix lock for security session operations' " Kevin Traynor
2025-07-18 19:31 ` patch 'doc: fix missing feature matrix for event device' " Kevin Traynor
2025-07-18 19:31 ` patch 'net/ena: fix control path interrupt mode' " Kevin Traynor
2025-07-18 19:31 ` patch 'net/ena: fix aenq timeout with low poll interval' " Kevin Traynor
2025-07-18 19:31 ` patch 'examples/flow_filtering: fix make clean' " Kevin Traynor

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=20250718193247.1008129-32-ktraynor@redhat.com \
    --to=ktraynor@redhat.com \
    --cc=dsosnowski@nvidia.com \
    --cc=getelson@nvidia.com \
    --cc=stable@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).