patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Kevin Traynor <ktraynor@redhat.com>
To: Michael Baum <michaelba@nvidia.com>
Cc: Matan Azrad <matan@nvidia.com>, dpdk stable <stable@dpdk.org>
Subject: patch 'net/mlx5: improve stride parameter names' has been queued to stable release 21.11.1
Date: Mon, 21 Feb 2022 15:33:40 +0000	[thread overview]
Message-ID: <20220221153625.152324-31-ktraynor@redhat.com> (raw)
In-Reply-To: <20220221153625.152324-1-ktraynor@redhat.com>

Hi,

FYI, your patch has been queued to stable release 21.11.1

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 02/26/22. 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/c58aaabeded8ece2321743ca3dc42601804037a3

Thanks.

Kevin

---
From c58aaabeded8ece2321743ca3dc42601804037a3 Mon Sep 17 00:00:00 2001
From: Michael Baum <michaelba@nvidia.com>
Date: Tue, 23 Nov 2021 20:38:04 +0200
Subject: [PATCH] net/mlx5: improve stride parameter names

[ upstream commit 0947ed380febad9d6f794b6f4e9aa9137860a06e ]

In the striding RQ management there are two important parameters, the
size of the single stride in bytes and the number of strides.

Both the data-path structure and config structure keep the log of the
above parameters. However, in their names there is no mention that the
value is a log which may be misleading as if the fields represent the
values themselves.

This patch updates their names describing the values more accurately.

Fixes: ecb160456aed ("net/mlx5: add device parameter for MPRQ stride size")

Signed-off-by: Michael Baum <michaelba@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
---
 drivers/net/mlx5/linux/mlx5_os.c    |  36 +++++-----
 drivers/net/mlx5/linux/mlx5_verbs.c |   4 +-
 drivers/net/mlx5/mlx5.c             |   4 +-
 drivers/net/mlx5/mlx5.h             |   8 +--
 drivers/net/mlx5/mlx5_defs.h        |   4 +-
 drivers/net/mlx5/mlx5_devx.c        |   4 +-
 drivers/net/mlx5/mlx5_rx.c          |  22 +++---
 drivers/net/mlx5/mlx5_rx.h          |  12 ++--
 drivers/net/mlx5/mlx5_rxq.c         | 100 +++++++++++++++-------------
 drivers/net/mlx5/mlx5_rxtx_vec.c    |   8 +--
 10 files changed, 104 insertions(+), 98 deletions(-)

diff --git a/drivers/net/mlx5/linux/mlx5_os.c b/drivers/net/mlx5/linux/mlx5_os.c
index 36f0fbf04a..dd6c637564 100644
--- a/drivers/net/mlx5/linux/mlx5_os.c
+++ b/drivers/net/mlx5/linux/mlx5_os.c
@@ -1550,32 +1550,32 @@ err_secondary:
 		(config->hw_fcs_strip ? "" : "not "));
 	if (config->mprq.enabled && mprq) {
-		if (config->mprq.stride_num_n &&
-		    (config->mprq.stride_num_n > mprq_max_stride_num_n ||
-		     config->mprq.stride_num_n < mprq_min_stride_num_n)) {
-			config->mprq.stride_num_n =
-				RTE_MIN(RTE_MAX(MLX5_MPRQ_STRIDE_NUM_N,
-						mprq_min_stride_num_n),
-					mprq_max_stride_num_n);
+		if (config->mprq.log_stride_num &&
+		    (config->mprq.log_stride_num > mprq_max_stride_num_n ||
+		     config->mprq.log_stride_num < mprq_min_stride_num_n)) {
+			config->mprq.log_stride_num =
+			       RTE_MIN(RTE_MAX(MLX5_MPRQ_DEFAULT_LOG_STRIDE_NUM,
+					       mprq_min_stride_num_n),
+				       mprq_max_stride_num_n);
 			DRV_LOG(WARNING,
 				"the number of strides"
 				" for Multi-Packet RQ is out of range,"
 				" setting default value (%u)",
-				1 << config->mprq.stride_num_n);
+				1 << config->mprq.log_stride_num);
 		}
-		if (config->mprq.stride_size_n &&
-		    (config->mprq.stride_size_n > mprq_max_stride_size_n ||
-		     config->mprq.stride_size_n < mprq_min_stride_size_n)) {
-			config->mprq.stride_size_n =
-				RTE_MIN(RTE_MAX(MLX5_MPRQ_STRIDE_SIZE_N,
-						mprq_min_stride_size_n),
-					mprq_max_stride_size_n);
+		if (config->mprq.log_stride_size &&
+		    (config->mprq.log_stride_size > mprq_max_stride_size_n ||
+		     config->mprq.log_stride_size < mprq_min_stride_size_n)) {
+			config->mprq.log_stride_size =
+			      RTE_MIN(RTE_MAX(MLX5_MPRQ_DEFAULT_LOG_STRIDE_SIZE,
+					      mprq_min_stride_size_n),
+				      mprq_max_stride_size_n);
 			DRV_LOG(WARNING,
 				"the size of a stride"
 				" for Multi-Packet RQ is out of range,"
 				" setting default value (%u)",
-				1 << config->mprq.stride_size_n);
+				1 << config->mprq.log_stride_size);
 		}
-		config->mprq.min_stride_size_n = mprq_min_stride_size_n;
-		config->mprq.max_stride_size_n = mprq_max_stride_size_n;
+		config->mprq.log_min_stride_size = mprq_min_stride_size_n;
+		config->mprq.log_max_stride_size = mprq_max_stride_size_n;
 	} else if (config->mprq.enabled && !mprq) {
 		DRV_LOG(WARNING, "Multi-Packet RQ isn't supported");
diff --git a/drivers/net/mlx5/linux/mlx5_verbs.c b/drivers/net/mlx5/linux/mlx5_verbs.c
index 58556d2bf0..2b6eef44a7 100644
--- a/drivers/net/mlx5/linux/mlx5_verbs.c
+++ b/drivers/net/mlx5/linux/mlx5_verbs.c
@@ -273,6 +273,6 @@ mlx5_rxq_ibv_wq_create(struct mlx5_rxq_priv *rxq)
 		wq_attr.mlx5.comp_mask |= MLX5DV_WQ_INIT_ATTR_MASK_STRIDING_RQ;
 		*mprq_attr = (struct mlx5dv_striding_rq_init_attr){
-			.single_stride_log_num_of_bytes = rxq_data->strd_sz_n,
-			.single_wqe_log_num_of_strides = rxq_data->strd_num_n,
+			.single_stride_log_num_of_bytes = rxq_data->log_strd_sz,
+			.single_wqe_log_num_of_strides = rxq_data->log_strd_num,
 			.two_byte_shift_en = MLX5_MPRQ_TWO_BYTE_SHIFT,
 		};
diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c
index 8b4387d6b4..67eda41a60 100644
--- a/drivers/net/mlx5/mlx5.c
+++ b/drivers/net/mlx5/mlx5.c
@@ -1885,7 +1885,7 @@ mlx5_args_check(const char *key, const char *val, void *opaque)
 		config->mprq.enabled = !!tmp;
 	} else if (strcmp(MLX5_RX_MPRQ_LOG_STRIDE_NUM, key) == 0) {
-		config->mprq.stride_num_n = tmp;
+		config->mprq.log_stride_num = tmp;
 	} else if (strcmp(MLX5_RX_MPRQ_LOG_STRIDE_SIZE, key) == 0) {
-		config->mprq.stride_size_n = tmp;
+		config->mprq.log_stride_size = tmp;
 	} else if (strcmp(MLX5_RX_MPRQ_MAX_MEMCPY_LEN, key) == 0) {
 		config->mprq.max_memcpy_len = tmp;
diff --git a/drivers/net/mlx5/mlx5.h b/drivers/net/mlx5/mlx5.h
index b55f5816af..fa9af1db44 100644
--- a/drivers/net/mlx5/mlx5.h
+++ b/drivers/net/mlx5/mlx5.h
@@ -276,8 +276,8 @@ struct mlx5_dev_config {
 	struct {
 		unsigned int enabled:1; /* Whether MPRQ is enabled. */
-		unsigned int stride_num_n; /* Number of strides. */
-		unsigned int stride_size_n; /* Size of a stride. */
-		unsigned int min_stride_size_n; /* Min size of a stride. */
-		unsigned int max_stride_size_n; /* Max size of a stride. */
+		unsigned int log_stride_num; /* Log number of strides. */
+		unsigned int log_stride_size; /* Log size of a stride. */
+		unsigned int log_min_stride_size; /* Log min size of a stride.*/
+		unsigned int log_max_stride_size; /* Log max size of a stride.*/
 		unsigned int max_memcpy_len;
 		/* Maximum packet size to memcpy Rx packets. */
diff --git a/drivers/net/mlx5/mlx5_defs.h b/drivers/net/mlx5/mlx5_defs.h
index 258475ed2c..36b384fa08 100644
--- a/drivers/net/mlx5/mlx5_defs.h
+++ b/drivers/net/mlx5/mlx5_defs.h
@@ -114,8 +114,8 @@
 
 /* Log 2 of the default number of strides per WQE for Multi-Packet RQ. */
-#define MLX5_MPRQ_STRIDE_NUM_N 6U
+#define MLX5_MPRQ_DEFAULT_LOG_STRIDE_NUM 6U
 
 /* Log 2 of the default size of a stride per WQE for Multi-Packet RQ. */
-#define MLX5_MPRQ_STRIDE_SIZE_N 11U
+#define MLX5_MPRQ_DEFAULT_LOG_STRIDE_SIZE 11U
 
 /* Two-byte shift is disabled for Multi-Packet RQ. */
diff --git a/drivers/net/mlx5/mlx5_devx.c b/drivers/net/mlx5/mlx5_devx.c
index 105c3d67f0..91243f684f 100644
--- a/drivers/net/mlx5/mlx5_devx.c
+++ b/drivers/net/mlx5/mlx5_devx.c
@@ -258,9 +258,9 @@ mlx5_rxq_create_devx_rq_resources(struct mlx5_rxq_priv *rxq)
 		 */
 		rq_attr.wq_attr.single_wqe_log_num_of_strides =
-				rxq_data->strd_num_n -
+				rxq_data->log_strd_num -
 				MLX5_MIN_SINGLE_WQE_LOG_NUM_STRIDES;
 		/* Stride size = (2^single_stride_log_num_of_bytes)*64B. */
 		rq_attr.wq_attr.single_stride_log_num_of_bytes =
-				rxq_data->strd_sz_n -
+				rxq_data->log_strd_sz -
 				MLX5_MIN_SINGLE_STRIDE_LOG_NUM_BYTES;
 		wqe_size = sizeof(struct mlx5_wqe_mprq);
diff --git a/drivers/net/mlx5/mlx5_rx.c b/drivers/net/mlx5/mlx5_rx.c
index c8d2f407c9..f388fcc313 100644
--- a/drivers/net/mlx5/mlx5_rx.c
+++ b/drivers/net/mlx5/mlx5_rx.c
@@ -74,5 +74,5 @@ rx_queue_count(struct mlx5_rxq_data *rxq)
 	const unsigned int sges_n = (1 << rxq->sges_n);
 	const unsigned int elts_n = (1 << rxq->elts_n);
-	const unsigned int strd_n = (1 << rxq->strd_num_n);
+	const unsigned int strd_n = RTE_BIT32(rxq->log_strd_num);
 	const unsigned int cqe_cnt = cqe_n - 1;
 	unsigned int cq_ci, used;
@@ -168,6 +168,6 @@ mlx5_rxq_info_get(struct rte_eth_dev *dev, uint16_t rx_queue_id,
 	qinfo->scattered_rx = dev->data->scattered_rx;
 	qinfo->nb_desc = mlx5_rxq_mprq_enabled(rxq) ?
-		(1 << rxq->elts_n) * (1 << rxq->strd_num_n) :
-		(1 << rxq->elts_n);
+		RTE_BIT32(rxq->elts_n) * RTE_BIT32(rxq->log_strd_num) :
+		RTE_BIT32(rxq->elts_n);
 }
 
@@ -355,8 +355,8 @@ mlx5_rxq_initialize(struct mlx5_rxq_data *rxq)
 			scat = &((volatile struct mlx5_wqe_mprq *)
 				rxq->wqes)[i].dseg;
-			addr = (uintptr_t)mlx5_mprq_buf_addr(buf,
-							 1 << rxq->strd_num_n);
-			byte_count = (1 << rxq->strd_sz_n) *
-					(1 << rxq->strd_num_n);
+			addr = (uintptr_t)mlx5_mprq_buf_addr
+					(buf, RTE_BIT32(rxq->log_strd_num));
+			byte_count = RTE_BIT32(rxq->log_strd_sz) *
+				     RTE_BIT32(rxq->log_strd_num);
 			lkey = mlx5_rx_addr2mr(rxq, addr);
 		} else {
@@ -384,5 +384,5 @@ mlx5_rxq_initialize(struct mlx5_rxq_data *rxq)
 	};
 	rxq->elts_ci = mlx5_rxq_mprq_enabled(rxq) ?
-		(wqe_n >> rxq->sges_n) * (1 << rxq->strd_num_n) : 0;
+		(wqe_n >> rxq->sges_n) * RTE_BIT32(rxq->log_strd_num) : 0;
 	/* Update doorbell counter. */
 	rxq->rq_ci = wqe_n >> rxq->sges_n;
@@ -413,5 +413,5 @@ mlx5_rx_err_handle(struct mlx5_rxq_data *rxq, uint8_t vec)
 	const uint16_t cqe_mask = cqe_n - 1;
 	const uint16_t wqe_n = 1 << rxq->elts_n;
-	const uint16_t strd_n = 1 << rxq->strd_num_n;
+	const uint16_t strd_n = RTE_BIT32(rxq->log_strd_num);
 	struct mlx5_rxq_ctrl *rxq_ctrl =
 			container_of(rxq, struct mlx5_rxq_ctrl, rxq);
@@ -1046,6 +1046,6 @@ mlx5_rx_burst_mprq(void *dpdk_rxq, struct rte_mbuf **pkts, uint16_t pkts_n)
 {
 	struct mlx5_rxq_data *rxq = dpdk_rxq;
-	const uint32_t strd_n = 1 << rxq->strd_num_n;
-	const uint32_t strd_sz = 1 << rxq->strd_sz_n;
+	const uint32_t strd_n = RTE_BIT32(rxq->log_strd_num);
+	const uint32_t strd_sz = RTE_BIT32(rxq->log_strd_sz);
 	const uint32_t cq_mask = (1 << rxq->cqe_n) - 1;
 	const uint32_t wq_mask = (1 << rxq->elts_n) - 1;
diff --git a/drivers/net/mlx5/mlx5_rx.h b/drivers/net/mlx5/mlx5_rx.h
index f808bf288f..adb759c235 100644
--- a/drivers/net/mlx5/mlx5_rx.h
+++ b/drivers/net/mlx5/mlx5_rx.h
@@ -89,6 +89,6 @@ struct mlx5_rxq_data {
 	unsigned int rss_hash:1; /* RSS hash result is enabled. */
 	unsigned int mark:1; /* Marked flow available on the queue. */
-	unsigned int strd_num_n:5; /* Log 2 of the number of stride. */
-	unsigned int strd_sz_n:4; /* Log 2 of stride size. */
+	unsigned int log_strd_num:5; /* Log 2 of the number of stride. */
+	unsigned int log_strd_sz:4; /* Log 2 of stride size. */
 	unsigned int strd_shift_en:1; /* Enable 2bytes shift on a stride. */
 	unsigned int err_state:2; /* enum mlx5_rxq_err_state. */
@@ -402,5 +402,5 @@ static __rte_always_inline void
 mprq_buf_replace(struct mlx5_rxq_data *rxq, uint16_t rq_idx)
 {
-	const uint32_t strd_n = 1 << rxq->strd_num_n;
+	const uint32_t strd_n = RTE_BIT32(rxq->log_strd_num);
 	struct mlx5_mprq_buf *rep = rxq->mprq_repl;
 	volatile struct mlx5_wqe_data_seg *wqe =
@@ -460,6 +460,6 @@ mprq_buf_to_pkt(struct mlx5_rxq_data *rxq, struct rte_mbuf *pkt, uint32_t len,
 		struct mlx5_mprq_buf *buf, uint16_t strd_idx, uint16_t strd_cnt)
 {
-	const uint32_t strd_n = 1 << rxq->strd_num_n;
-	const uint16_t strd_sz = 1 << rxq->strd_sz_n;
+	const uint32_t strd_n = RTE_BIT32(rxq->log_strd_num);
+	const uint16_t strd_sz = RTE_BIT32(rxq->log_strd_sz);
 	const uint16_t strd_shift =
 		MLX5_MPRQ_STRIDE_SHIFT_BYTE * rxq->strd_shift_en;
@@ -606,5 +606,5 @@ static __rte_always_inline int
 mlx5_rxq_mprq_enabled(struct mlx5_rxq_data *rxq)
 {
-	return rxq->strd_num_n > 0;
+	return rxq->log_strd_num > 0;
 }
 
diff --git a/drivers/net/mlx5/mlx5_rxq.c b/drivers/net/mlx5/mlx5_rxq.c
index be5f4da1e5..f2247de488 100644
--- a/drivers/net/mlx5/mlx5_rxq.c
+++ b/drivers/net/mlx5/mlx5_rxq.c
@@ -68,5 +68,5 @@ mlx5_rxq_cqe_num(struct mlx5_rxq_data *rxq_data)
 
 	if (mlx5_rxq_mprq_enabled(rxq_data))
-		cqe_n = wqe_n * (1 << rxq_data->strd_num_n) - 1;
+		cqe_n = wqe_n * RTE_BIT32(rxq_data->log_strd_num) - 1;
 	else
 		cqe_n = wqe_n - 1;
@@ -138,6 +138,7 @@ rxq_alloc_elts_sprq(struct mlx5_rxq_ctrl *rxq_ctrl)
 	const unsigned int sges_n = 1 << rxq_ctrl->rxq.sges_n;
 	unsigned int elts_n = mlx5_rxq_mprq_enabled(&rxq_ctrl->rxq) ?
-		(1 << rxq_ctrl->rxq.elts_n) * (1 << rxq_ctrl->rxq.strd_num_n) :
-		(1 << rxq_ctrl->rxq.elts_n);
+			      RTE_BIT32(rxq_ctrl->rxq.elts_n) *
+			      RTE_BIT32(rxq_ctrl->rxq.log_strd_num) :
+			      RTE_BIT32(rxq_ctrl->rxq.elts_n);
 	unsigned int i;
 	int err;
@@ -294,6 +295,6 @@ rxq_free_elts_sprq(struct mlx5_rxq_ctrl *rxq_ctrl)
 	struct mlx5_rxq_data *rxq = &rxq_ctrl->rxq;
 	const uint16_t q_n = mlx5_rxq_mprq_enabled(&rxq_ctrl->rxq) ?
-		(1 << rxq->elts_n) * (1 << rxq->strd_num_n) :
-		(1 << rxq->elts_n);
+		RTE_BIT32(rxq->elts_n) * RTE_BIT32(rxq->log_strd_num) :
+		RTE_BIT32(rxq->elts_n);
 	const uint16_t q_mask = q_n - 1;
 	uint16_t elts_ci = mlx5_rxq_mprq_enabled(&rxq_ctrl->rxq) ?
@@ -1379,6 +1380,6 @@ mlx5_mprq_alloc_mp(struct rte_eth_dev *dev)
 	unsigned int obj_num;
 	unsigned int obj_size;
-	unsigned int strd_num_n = 0;
-	unsigned int strd_sz_n = 0;
+	unsigned int log_strd_num = 0;
+	unsigned int log_strd_sz = 0;
 	unsigned int i;
 	unsigned int n_ibv = 0;
@@ -1399,14 +1400,16 @@ mlx5_mprq_alloc_mp(struct rte_eth_dev *dev)
 		desc += 1 << rxq->elts_n;
 		/* Get the max number of strides. */
-		if (strd_num_n < rxq->strd_num_n)
-			strd_num_n = rxq->strd_num_n;
+		if (log_strd_num < rxq->log_strd_num)
+			log_strd_num = rxq->log_strd_num;
 		/* Get the max size of a stride. */
-		if (strd_sz_n < rxq->strd_sz_n)
-			strd_sz_n = rxq->strd_sz_n;
+		if (log_strd_sz < rxq->log_strd_sz)
+			log_strd_sz = rxq->log_strd_sz;
 	}
-	MLX5_ASSERT(strd_num_n && strd_sz_n);
-	buf_len = (1 << strd_num_n) * (1 << strd_sz_n);
-	obj_size = sizeof(struct mlx5_mprq_buf) + buf_len + (1 << strd_num_n) *
-		sizeof(struct rte_mbuf_ext_shared_info) + RTE_PKTMBUF_HEADROOM;
+	MLX5_ASSERT(log_strd_num && log_strd_sz);
+	buf_len = RTE_BIT32(log_strd_num) * RTE_BIT32(log_strd_sz);
+	obj_size = sizeof(struct mlx5_mprq_buf) + buf_len +
+		   RTE_BIT32(log_strd_num) *
+		   sizeof(struct rte_mbuf_ext_shared_info) +
+		   RTE_PKTMBUF_HEADROOM;
 	/*
 	 * Received packets can be either memcpy'd or externally referenced. In
@@ -1454,5 +1457,5 @@ mlx5_mprq_alloc_mp(struct rte_eth_dev *dev)
 	mp = rte_mempool_create(name, obj_num, obj_size, MLX5_MPRQ_MP_CACHE_SZ,
 				0, NULL, NULL, mlx5_mprq_buf_init,
-				(void *)((uintptr_t)1 << strd_num_n),
+				(void *)((uintptr_t)1 << log_strd_num),
 				dev->device->numa_node, 0);
 	if (mp == NULL) {
@@ -1570,13 +1573,16 @@ mlx5_rxq_new(struct rte_eth_dev *dev, struct mlx5_rxq_priv *rxq,
 	const int mprq_en = mlx5_check_mprq_support(dev) > 0 && n_seg == 1 &&
 			    !rx_seg[0].offset && !rx_seg[0].length;
-	unsigned int mprq_stride_nums = config->mprq.stride_num_n ?
-		config->mprq.stride_num_n : MLX5_MPRQ_STRIDE_NUM_N;
-	unsigned int mprq_stride_size = non_scatter_min_mbuf_size <=
-		(1U << config->mprq.max_stride_size_n) ?
-		log2above(non_scatter_min_mbuf_size) : MLX5_MPRQ_STRIDE_SIZE_N;
-	unsigned int mprq_stride_cap = (config->mprq.stride_num_n ?
-		(1U << config->mprq.stride_num_n) : (1U << mprq_stride_nums)) *
-		(config->mprq.stride_size_n ?
-		(1U << config->mprq.stride_size_n) : (1U << mprq_stride_size));
+	unsigned int log_mprq_stride_nums = config->mprq.log_stride_num ?
+		config->mprq.log_stride_num : MLX5_MPRQ_DEFAULT_LOG_STRIDE_NUM;
+	unsigned int log_mprq_stride_size = non_scatter_min_mbuf_size <=
+		RTE_BIT32(config->mprq.log_max_stride_size) ?
+		log2above(non_scatter_min_mbuf_size) :
+		MLX5_MPRQ_DEFAULT_LOG_STRIDE_SIZE;
+	unsigned int mprq_stride_cap = (config->mprq.log_stride_num ?
+					RTE_BIT32(config->mprq.log_stride_num) :
+					RTE_BIT32(log_mprq_stride_nums)) *
+				       (config->mprq.log_stride_size ?
+				       RTE_BIT32(config->mprq.log_stride_size) :
+					RTE_BIT32(log_mprq_stride_size));
 	/*
 	 * Always allocate extra slots, even if eventually
@@ -1590,5 +1596,5 @@ mlx5_rxq_new(struct rte_eth_dev *dev, struct mlx5_rxq_priv *rxq,
 		sizeof(*tmpl) + desc_n * sizeof(struct rte_mbuf *) +
 		(!!mprq_en) *
-		(desc >> mprq_stride_nums) * sizeof(struct mlx5_mprq_buf *),
+		(desc >> log_mprq_stride_nums) * sizeof(struct mlx5_mprq_buf *),
 		0, socket);
 	if (!tmpl) {
@@ -1702,22 +1708,22 @@ mlx5_rxq_new(struct rte_eth_dev *dev, struct mlx5_rxq_priv *rxq,
 	 *  - The number of descs is more than the number of strides.
 	 *  - max_rx_pktlen plus overhead is less than the max size
-	 *    of a stride or mprq_stride_size is specified by a user.
+	 *    of a stride or log_mprq_stride_size is specified by a user.
 	 *    Need to make sure that there are enough strides to encap
-	 *    the maximum packet size in case mprq_stride_size is set.
+	 *    the maximum packet size in case log_mprq_stride_size is set.
 	 *  Otherwise, enable Rx scatter if necessary.
 	 */
-	if (mprq_en && desc > (1U << mprq_stride_nums) &&
+	if (mprq_en && desc > RTE_BIT32(log_mprq_stride_nums) &&
 	    (non_scatter_min_mbuf_size <=
-	     (1U << config->mprq.max_stride_size_n) ||
-	     (config->mprq.stride_size_n &&
+	     RTE_BIT32(config->mprq.log_max_stride_size) ||
+	     (config->mprq.log_stride_size &&
 	      non_scatter_min_mbuf_size <= mprq_stride_cap))) {
 		/* TODO: Rx scatter isn't supported yet. */
 		tmpl->rxq.sges_n = 0;
 		/* Trim the number of descs needed. */
-		desc >>= mprq_stride_nums;
-		tmpl->rxq.strd_num_n = config->mprq.stride_num_n ?
-			config->mprq.stride_num_n : mprq_stride_nums;
-		tmpl->rxq.strd_sz_n = config->mprq.stride_size_n ?
-			config->mprq.stride_size_n : mprq_stride_size;
+		desc >>= log_mprq_stride_nums;
+		tmpl->rxq.log_strd_num = config->mprq.log_stride_num ?
+			config->mprq.log_stride_num : log_mprq_stride_nums;
+		tmpl->rxq.log_strd_sz = config->mprq.log_stride_size ?
+			config->mprq.log_stride_size : log_mprq_stride_size;
 		tmpl->rxq.strd_shift_en = MLX5_MPRQ_TWO_BYTE_SHIFT;
 		tmpl->rxq.strd_scatter_en =
@@ -1726,11 +1732,11 @@ mlx5_rxq_new(struct rte_eth_dev *dev, struct mlx5_rxq_priv *rxq,
 				config->mprq.max_memcpy_len);
 		max_lro_size = RTE_MIN(max_rx_pktlen,
-				       (1u << tmpl->rxq.strd_num_n) *
-				       (1u << tmpl->rxq.strd_sz_n));
+				       RTE_BIT32(tmpl->rxq.log_strd_num) *
+				       RTE_BIT32(tmpl->rxq.log_strd_sz));
 		DRV_LOG(DEBUG,
 			"port %u Rx queue %u: Multi-Packet RQ is enabled"
 			" strd_num_n = %u, strd_sz_n = %u",
 			dev->data->port_id, idx,
-			tmpl->rxq.strd_num_n, tmpl->rxq.strd_sz_n);
+			tmpl->rxq.log_strd_num, tmpl->rxq.log_strd_sz);
 	} else if (tmpl->rxq.rxseg_n == 1) {
 		MLX5_ASSERT(max_rx_pktlen <= first_mb_free_size);
@@ -1775,13 +1781,13 @@ mlx5_rxq_new(struct rte_eth_dev *dev, struct mlx5_rxq_priv *rxq,
 			dev->data->port_id, non_scatter_min_mbuf_size,
 			desc, priv->rxqs_n,
-			config->mprq.stride_size_n ?
-				(1U << config->mprq.stride_size_n) :
-				(1U << mprq_stride_size),
-			config->mprq.stride_num_n ?
-				(1U << config->mprq.stride_num_n) :
-				(1U << mprq_stride_nums),
+			config->mprq.log_stride_size ?
+				RTE_BIT32(config->mprq.log_stride_size) :
+				RTE_BIT32(log_mprq_stride_size),
+			config->mprq.log_stride_num ?
+				RTE_BIT32(config->mprq.log_stride_num) :
+				RTE_BIT32(log_mprq_stride_nums),
 			config->mprq.min_rxqs_num,
-			(1U << config->mprq.min_stride_size_n),
-			(1U << config->mprq.max_stride_size_n));
+			RTE_BIT32(config->mprq.log_min_stride_size),
+			RTE_BIT32(config->mprq.log_max_stride_size));
 	DRV_LOG(DEBUG, "port %u maximum number of segments per packet: %u",
 		dev->data->port_id, 1 << tmpl->rxq.sges_n);
diff --git a/drivers/net/mlx5/mlx5_rxtx_vec.c b/drivers/net/mlx5/mlx5_rxtx_vec.c
index 6212ce8247..0e2eab068a 100644
--- a/drivers/net/mlx5/mlx5_rxtx_vec.c
+++ b/drivers/net/mlx5/mlx5_rxtx_vec.c
@@ -149,5 +149,5 @@ mlx5_rx_mprq_replenish_bulk_mbuf(struct mlx5_rxq_data *rxq)
 {
 	const uint16_t wqe_n = 1 << rxq->elts_n;
-	const uint32_t strd_n = 1 << rxq->strd_num_n;
+	const uint32_t strd_n = RTE_BIT32(rxq->log_strd_num);
 	const uint32_t elts_n = wqe_n * strd_n;
 	const uint32_t wqe_mask = elts_n - 1;
@@ -198,6 +198,6 @@ rxq_copy_mprq_mbuf_v(struct mlx5_rxq_data *rxq,
 	const uint16_t wqe_n = 1 << rxq->elts_n;
 	const uint16_t wqe_mask = wqe_n - 1;
-	const uint16_t strd_sz = 1 << rxq->strd_sz_n;
-	const uint32_t strd_n = 1 << rxq->strd_num_n;
+	const uint16_t strd_sz = RTE_BIT32(rxq->log_strd_sz);
+	const uint32_t strd_n = RTE_BIT32(rxq->log_strd_num);
 	const uint32_t elts_n = wqe_n * strd_n;
 	const uint32_t elts_mask = elts_n - 1;
@@ -429,5 +429,5 @@ rxq_burst_mprq_v(struct mlx5_rxq_data *rxq, struct rte_mbuf **pkts,
 	const uint16_t q_mask = q_n - 1;
 	const uint16_t wqe_n = 1 << rxq->elts_n;
-	const uint32_t strd_n = 1 << rxq->strd_num_n;
+	const uint32_t strd_n = RTE_BIT32(rxq->log_strd_num);
 	const uint32_t elts_n = wqe_n * strd_n;
 	const uint32_t elts_mask = elts_n - 1;
-- 
2.34.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2022-02-21 15:22:45.325112403 +0000
+++ 0031-net-mlx5-improve-stride-parameter-names.patch	2022-02-21 15:22:44.069704076 +0000
@@ -1 +1 @@
-From 0947ed380febad9d6f794b6f4e9aa9137860a06e Mon Sep 17 00:00:00 2001
+From c58aaabeded8ece2321743ca3dc42601804037a3 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 0947ed380febad9d6f794b6f4e9aa9137860a06e ]
+
@@ -17 +18,0 @@
-Cc: stable@dpdk.org


  parent reply	other threads:[~2022-02-21 15:37 UTC|newest]

Thread overview: 195+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20220221153625.152324-1-ktraynor@redhat.com>
2022-02-21 15:33 ` patch 'doc: replace deprecated distutils version parsing' " Kevin Traynor
2022-02-21 15:33 ` patch 'maintainers: update for stable branches' " Kevin Traynor
2022-02-21 15:33 ` patch 'buildtools: fix AVX512 check for Python 3.5' " Kevin Traynor
2022-02-21 15:33 ` patch 'doc: remove dependency on findutils on FreeBSD' " Kevin Traynor
2022-02-21 15:33 ` patch 'bus/ifpga: remove useless check while browsing devices' " Kevin Traynor
2022-02-21 15:33 ` patch 'dma/idxd: fix burst capacity calculation' " Kevin Traynor
2022-02-21 15:33 ` patch 'dma/idxd: fix paths to driver sysfs directory' " Kevin Traynor
2022-02-21 15:33 ` patch 'dma/idxd: fix wrap-around in burst capacity calculation' " Kevin Traynor
2022-02-21 15:33 ` patch 'gpu/cuda: fix memory list cleanup' " Kevin Traynor
2022-02-21 15:33 ` patch 'config: add arch define for Arm' " Kevin Traynor
2022-02-21 15:33 ` patch 'eal/linux: log hugepage create errors with filename' " Kevin Traynor
2022-02-21 15:33 ` patch 'doc: fix dlb2 guide' " Kevin Traynor
2022-02-21 15:33 ` patch 'eventdev/eth_rx: fix missing internal port checks' " Kevin Traynor
2022-02-21 15:33 ` patch 'examples/l3fwd: fix Rx burst size for event mode' " Kevin Traynor
2022-02-21 15:33 ` patch 'event/cnxk: fix QoS devargs parsing' " Kevin Traynor
2022-02-21 15:33 ` patch 'common/cnxk: add workaround for vWQE flush' " Kevin Traynor
2022-02-21 15:33 ` patch 'common/cnxk: fix reset of fields' " Kevin Traynor
2022-02-21 15:33 ` patch 'crypto/cnxk: enable allocated queues only' " Kevin Traynor
2022-02-21 15:33 ` patch 'crypto/cnxk: fix inflight count calculation' " Kevin Traynor
2022-02-21 15:33 ` patch 'crypto/cnxk: fix extend tail " Kevin Traynor
2022-02-21 15:33 ` patch 'crypto/ipsec_mb: fix queue setup null pointer dereference' " Kevin Traynor
2022-02-21 15:33 ` patch 'crypto/ipsec_mb: fix queue cleanup " Kevin Traynor
2022-02-21 15:33 ` patch 'crypto/ipsec_mb: fix tainted data for session' " Kevin Traynor
2022-02-21 15:33 ` patch 'examples/ipsec-secgw: fix eventdev start sequence' " Kevin Traynor
2022-02-21 15:33 ` patch 'examples/ipsec-secgw: fix default flow rule creation' " Kevin Traynor
2022-02-21 15:33 ` patch 'devtools: fix comment detection in forbidden token check' " Kevin Traynor
2022-02-21 15:33 ` patch 'dma/cnxk: fix installing internal headers' " Kevin Traynor
2022-02-21 15:33 ` patch 'net/mlx5: fix modify field MAC address offset' " Kevin Traynor
2022-02-21 15:33 ` patch 'common/mlx5: add minimum WQE size for striding RQ' " Kevin Traynor
2022-02-21 15:33 ` Kevin Traynor [this message]
2022-02-21 15:33 ` patch 'net/mlx5: fix MPRQ stride devargs adjustment' " Kevin Traynor
2022-02-21 15:33 ` patch 'common/cnxk: fix nibble parsing order when dumping MCAM' " Kevin Traynor
2022-02-21 15:33 ` patch 'net/qede: fix redundant condition in debug code' " Kevin Traynor
2022-02-21 15:33 ` patch 'net/ice: fix pattern check for flow director parser' " Kevin Traynor
2022-02-21 15:33 ` patch 'net/ice: fix Tx checksum offload capability' " Kevin Traynor
2022-02-21 15:33 ` patch 'net/iavf: remove git residue symbol' " Kevin Traynor
2022-02-21 15:33 ` patch 'net/ice: track DCF state of PF' " Kevin Traynor
2022-02-21 15:33 ` patch 'net/ice: fix Tx checksum offload' " Kevin Traynor
2022-02-21 15:33 ` patch 'net/ixgbe: add vector Rx parameter check' " Kevin Traynor
2022-02-21 15:33 ` patch 'common/mlx5: fix error handling in multi-class probe' " Kevin Traynor
2022-02-21 15:33 ` patch 'net/mlx5: fix memory socket selection in ASO management' " Kevin Traynor
2022-02-21 15:33 ` patch 'common/mlx5: fix missing validation in devargs parsing' " Kevin Traynor
2022-02-21 15:33 ` patch 'net/mlx5: fix assertion on flags set in packet mbuf' " Kevin Traynor
2022-02-21 15:33 ` patch 'net/mlx5: fix RSS expansion with explicit next protocol' " Kevin Traynor
2022-02-21 15:33 ` patch 'net/mlx5: fix GRE protocol type translation for Verbs' " Kevin Traynor
2022-02-21 15:33 ` patch 'net/mlx5: fix GCC uninitialized variable warning' " Kevin Traynor
2022-02-21 15:33 ` patch 'net/mlx5: relax headroom assertion' " Kevin Traynor
2022-02-21 15:33 ` patch 'net/bnxt: fix xstats names query overrun' " Kevin Traynor
2022-02-21 15:33 ` patch 'net/bnxt: fix multicast address set' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/bnxt: fix multicast MAC restore during reset recovery' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/bnxt: fix queue stop operation' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/bnxt: restore RSS configuration after reset recovery' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/bnxt: fix restoring VLAN filtering after " Kevin Traynor
2022-02-21 15:34 ` patch 'net/bnxt: cap maximum number of unicast MAC addresses' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/bnxt: set fast-path pointers only if recovery succeeds' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/bnxt: add null check for mark table' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/bnxt: fix flow create when RSS is disabled' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/bnxt: get maximum supported multicast filters count' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/bnxt: fix handling of VF configuration change' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/bnxt: fix ring teardown' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/bnxt: fix PAM4 mask setting' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/bnxt: fix crash by validating pointer' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/bnxt: fix xstats query' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/bnxt: check VF representor pointer before access' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/cnxk: fix promiscuous mode in multicast enable flow' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/bonding: fix offloading configuration' " Kevin Traynor
2022-02-21 15:34 ` patch 'app/testpmd: fix Tx scheduling interval' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/axgbe: use PCI root complex device to distinguish device' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/af_xdp: fix build with -Wunused-function' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/bonding: fix mode type mismatch' " Kevin Traynor
2022-02-21 15:34 ` patch 'app/testpmd: fix dereference before null check' " Kevin Traynor
2022-02-21 15:34 ` patch 'app/testpmd: fix external buffer allocation' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/cxgbe: fix dangling pointer by mailbox access rework' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/dpaa2: fix unregistering interrupt handler' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/dpaa2: fix timestamping for IEEE1588' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/bnxt: restore dependency on kernel modules' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/mlx5: fix maximum packet headers size for TSO' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/mlx5: fix MPRQ WQE size assertion' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/nfp: remove duplicated check when setting MAC address' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/nfp: remove useless range checks' " Kevin Traynor
2022-02-21 15:34 ` patch 'common/cnxk: fix shift offset for TL3 length disable' " Kevin Traynor
2022-02-21 15:34 ` patch 'common/cnxk: fix byte order of frag sizes and infos' " Kevin Traynor
2022-02-21 15:34 ` patch 'common/cnxk: reset stale values on error debug registers' " Kevin Traynor
2022-02-21 15:34 ` patch 'common/cnxk: always use single interrupt ID with NIX' " Kevin Traynor
2022-02-21 15:34 ` patch 'common/cnxk: fix null pointer dereferences' " Kevin Traynor
2022-02-21 15:34 ` patch 'common/cnxk: fix uninitialized variables' " Kevin Traynor
2022-02-21 15:34 ` patch 'common/cnxk: fix error checking' " Kevin Traynor
2022-02-21 15:34 ` patch 'ethdev: fix Rx queue telemetry memory leak on failure' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/sfc: validate queue span when parsing flow action RSS' " Kevin Traynor
2022-02-21 15:34 ` patch 'raw/ifpga/base: fix SPI transaction' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/ice: fix mbuf offload flag for Rx timestamp' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/ice: fix link up when starting device' " Kevin Traynor
2022-02-21 15:34 ` patch 'raw/ifpga: fix thread closing' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/bnxt: fix check for autoneg enablement' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/bnxt: handle ring cleanup in case of error' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/bnxt: fix memzone allocation per VNIC' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/bnxt: fix VF resource allocation strategy' " Kevin Traynor
2022-02-21 15:34 ` patch 'raw/ifpga/base: fix port feature ID' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/memif: remove unnecessary Rx interrupt stub' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/hns3: fix Rx/Tx functions update' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/hns3: fix mailbox wait time' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/hns3: fix vector Rx/Tx when PTP enabled' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/bonding: fix RSS with early configure' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/nfp: free HW ring memzone on queue release' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/hns3: fix using enum as boolean' " Kevin Traynor
2022-02-21 15:34 ` patch 'vdpa/mlx5: workaround queue stop with traffic' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/virtio: fix Tx queue 0 overriden by queue 128' " Kevin Traynor
2022-02-21 15:34 ` patch 'vdpa/ifc: fix log info mismatch' " Kevin Traynor
2022-02-21 15:34 ` patch 'net/virtio-user: fix resource leak on probing failure' " Kevin Traynor
2022-02-21 15:35 ` patch 'net/virtio-user: check FD flags getting " Kevin Traynor
2022-02-21 15:35 ` patch 'net/virtio: fix uninitialized RSS key' " Kevin Traynor
2022-02-21 15:35 ` patch 'common/mlx5: fix MR lookup for non-contiguous mempool' " Kevin Traynor
2022-02-21 15:35 ` patch 'net/mlx5: fix mark enabling for Rx' " Kevin Traynor
2022-02-21 15:35 ` patch 'common/mlx5: fix probing failure code' " Kevin Traynor
2022-02-21 15:35 ` patch 'net/mlx5: reject jump to root table' " Kevin Traynor
2022-02-21 15:35 ` patch 'doc: update matching versions in ice guide' " Kevin Traynor
2022-02-21 15:35 ` patch 'pflock: fix header file installation' " Kevin Traynor
2022-02-21 15:35 ` patch 'build: fix warnings when running external commands' " Kevin Traynor
2022-02-21 15:35 ` patch 'build: remove deprecated Meson functions' " Kevin Traynor
2022-02-21 15:35 ` patch 'doc: fix KNI PMD name typo' " Kevin Traynor
2022-02-21 15:35 ` patch 'ring: fix error code when creating ring' " Kevin Traynor
2022-02-21 15:35 ` patch 'ring: fix overflow in memory size calculation' " Kevin Traynor
2022-02-21 15:35 ` patch 'eal/windows: fix error code for not supported API' " Kevin Traynor
2022-02-21 15:35 ` patch 'test/mem: fix error check' " Kevin Traynor
2022-02-21 15:35 ` patch 'net/enic: fix dereference before null " Kevin Traynor
2022-02-21 15:35 ` patch 'net/dpaa2: fix null pointer dereference' " Kevin Traynor
2022-02-21 15:35 ` patch 'net/bonding: fix MTU set for slaves' " Kevin Traynor
2022-02-21 15:35 ` patch 'net/hns3: fix max packet size rollback in PF' " Kevin Traynor
2022-02-21 15:35 ` patch 'net/hns3: fix RSS key with null' " Kevin Traynor
2022-02-21 15:35 ` patch 'net/hns3: fix insecure way to query MAC statistics' " Kevin Traynor
2022-02-21 15:35 ` patch 'net/hns3: fix double decrement of secondary count' " Kevin Traynor
2022-02-21 15:35 ` patch 'net/hns3: fix operating queue when TCAM table is invalid' " Kevin Traynor
2022-02-21 15:35 ` patch 'net/hns3: delete duplicated RSS type' " Kevin Traynor
2022-02-21 15:35 ` patch 'net/ixgbe: check filter init failure' " Kevin Traynor
2022-02-21 15:35 ` patch 'net/bonding: fix promiscuous and allmulticast state' " Kevin Traynor
2022-02-21 15:35 ` patch 'net/bonding: fix reference count on mbufs' " Kevin Traynor
2022-02-21 15:35 ` patch 'app/testpmd: fix bonding mode set' " Kevin Traynor
2022-02-21 15:35 ` patch 'ethdev: add internal function to device struct from name' " Kevin Traynor
2022-02-21 15:35 ` patch 'net/tap: fix to populate FDs in secondary process' " Kevin Traynor
2022-02-21 15:35 ` patch 'app/testpmd: fix stack overflow for EEPROM display' " Kevin Traynor
2022-02-21 15:35 ` patch 'net/sfc: fix lock releases' " Kevin Traynor
2022-02-21 15:35 ` patch 'vhost: fix guest to host physical address mapping' " Kevin Traynor
2022-02-21 15:35 ` patch 'net/virtio: fix slots number when indirect feature on' " Kevin Traynor
2022-02-21 15:35 ` patch 'regex/mlx5: fix memory allocation check' " Kevin Traynor
2022-02-21 15:35 ` patch 'stack: fix stubs header export' " Kevin Traynor
2022-02-21 15:35 ` patch 'config/arm: add values for native armv7' " Kevin Traynor
2022-02-21 15:35 ` patch 'eal: fix C++ include' " Kevin Traynor
2022-02-21 15:35 ` patch 'eventdev: " Kevin Traynor
2022-02-21 15:35 ` patch 'graph: " Kevin Traynor
2022-02-21 15:35 ` patch 'ipsec: " Kevin Traynor
2022-02-21 15:35 ` patch 'table: " Kevin Traynor
2022-02-21 15:35 ` patch 'vhost: " Kevin Traynor
2022-02-21 15:35 ` patch 'mem: check allocation in dynamic hugepage init' " Kevin Traynor
2022-02-21 15:35 ` patch 'app/fib: fix division by zero' " Kevin Traynor
2022-02-21 15:35 ` patch 'test/mbuf: fix mbuf data content check' " Kevin Traynor
2022-02-21 15:35 ` patch 'ipc: end multiprocess thread during cleanup' " Kevin Traynor
2022-02-21 15:35 ` patch 'vfio: cleanup the multiprocess sync handle' " Kevin Traynor
2022-02-21 15:35 ` patch 'config: align mempool elements to 128 bytes on CN10K' " Kevin Traynor
2022-02-21 15:35 ` patch 'net/memif: remove pointer deference before null check' " Kevin Traynor
2022-02-21 15:35 ` patch 'net: fix L2TPv2 common header' " Kevin Traynor
2022-02-21 15:35 ` patch 'ethdev: remove unnecessary null check' " Kevin Traynor
2022-02-21 15:35 ` patch 'net/sfc: do not push fast free offload to default TxQ config' " Kevin Traynor
2022-02-21 15:35 ` patch 'net/sfc: demand Tx fast free offload on EF10 simple datapath' " Kevin Traynor
2022-02-21 15:35 ` patch 'net/iavf: fix null pointer dereference' " Kevin Traynor
2022-02-21 15:35 ` patch 'net/iavf: count continuous DD bits for Arm' " Kevin Traynor
2022-02-21 15:35 ` patch 'net/iavf: count continuous DD bits for Arm in flex Rx' " Kevin Traynor
2022-02-21 15:35 ` patch 'net/ice/base: add profile validation on switch filter' " Kevin Traynor
2022-02-21 15:35 ` patch 'net/ice: fix pattern check in flow director' " Kevin Traynor
2022-02-21 15:35 ` patch 'net/ice: fix build with 16-byte Rx descriptor' " Kevin Traynor
2022-02-21 15:36 ` patch 'vdpa/sfc: fix null dereference during config' " Kevin Traynor
2022-02-21 15:36 ` patch 'vdpa/sfc: fix null dereference during removal' " Kevin Traynor
2022-02-21 15:36 ` patch 'net/mlx5: fix metadata endianness in modify field action' " Kevin Traynor
2022-02-21 15:36 ` patch 'net/mlx5: fix committed bucket size' " Kevin Traynor
2022-02-21 15:36 ` patch 'net/mlx5: fix meter capabilities reporting' " Kevin Traynor
2022-02-21 15:36 ` patch 'net/mlx5: fix inline length for multi-segment TSO' " Kevin Traynor
2022-02-21 15:36 ` patch 'net/bnxt: set HW coalescing parameters' " Kevin Traynor
2022-02-21 15:36 ` patch 'net/bnxt: fix ring calculation for representors' " Kevin Traynor
2022-02-21 15:36 ` patch 'net/ngbe: fix Rx by initializing packet buffer early' " Kevin Traynor
2022-02-21 15:36 ` patch 'net/ngbe: fix missed link interrupt' " Kevin Traynor
2022-02-21 15:36 ` patch 'net/ngbe: fix Tx hang on queue disable' " Kevin Traynor
2022-02-21 15:36 ` patch 'net/ngbe: fix packet statistics' " Kevin Traynor
2022-02-21 15:36 ` patch 'net/txgbe: fix link up and down' " Kevin Traynor
2022-02-21 15:36 ` patch 'net/txgbe: fix KR auto-negotiation' " Kevin Traynor
2022-02-21 15:36 ` patch 'examples/ipsec-secgw: fix offload flag used for TSO IPv6' " Kevin Traynor
2022-02-21 15:36 ` patch 'test/crypto: fix out-of-place SGL in raw datapath' " Kevin Traynor
2022-02-21 15:36 ` patch 'crypto/ipsec_mb: fix premature dereference' " Kevin Traynor
2022-02-21 15:36 ` patch 'crypto/ipsec_mb: fix buffer overrun' " Kevin Traynor
2022-02-21 15:36 ` patch 'crypto/qat: fix GEN4 AEAD job in raw data path' " Kevin Traynor
2022-02-21 15:36 ` patch 'compress/octeontx: fix null pointer dereference' " Kevin Traynor
2022-02-21 15:36 ` patch 'crypto/cnxk: fix update of number of descriptors' " Kevin Traynor
2022-02-21 15:36 ` patch 'crypto/dpaax_sec: fix auth/cipher xform chain checks' " Kevin Traynor
2022-02-21 15:36 ` patch 'raw/ntb: clear all valid doorbell bits on init' " Kevin Traynor
2022-02-21 15:36 ` patch 'pipeline: fix annotation checks' " Kevin Traynor
2022-02-21 15:36 ` patch 'pipeline: fix table state memory allocation' " Kevin Traynor
2022-02-21 15:36 ` patch 'eventdev/eth_tx: fix queue add error code' " 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=20220221153625.152324-31-ktraynor@redhat.com \
    --to=ktraynor@redhat.com \
    --cc=matan@nvidia.com \
    --cc=michaelba@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).