DPDK patches and discussions
 help / color / mirror / Atom feed
From: Rahul Bhansali <rbhansali@marvell.com>
To: <dev@dpdk.org>, Nithin Dabilpuram <ndabilpuram@marvell.com>,
	Kiran Kumar K <kirankumark@marvell.com>,
	Sunil Kumar Kori <skori@marvell.com>,
	Satha Rao <skoteshwar@marvell.com>,
	Harman Kalra <hkalra@marvell.com>,
	Rahul Bhansali <rbhansali@marvell.com>
Cc: <jerinj@marvell.com>
Subject: [PATCH v2 6/6] net/cnxk: fix bufsize in lookup memory
Date: Fri, 23 May 2025 21:23:47 +0530	[thread overview]
Message-ID: <20250523155347.1156891-6-rbhansali@marvell.com> (raw)
In-Reply-To: <20250523155347.1156891-1-rbhansali@marvell.com>

Update bufsize in lookup-mem by default to maintain
data order.

Fixes: b826d043c01f ("net/cnxk: store pool buffer size in lookup memory")

Signed-off-by: Rahul Bhansali <rbhansali@marvell.com>
---
Changes in v2: updated the commit message.

 drivers/net/cnxk/cn20k_ethdev.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/net/cnxk/cn20k_ethdev.c b/drivers/net/cnxk/cn20k_ethdev.c
index 740fdb7f76..159ce39e97 100644
--- a/drivers/net/cnxk/cn20k_ethdev.c
+++ b/drivers/net/cnxk/cn20k_ethdev.c
@@ -604,8 +604,7 @@ cn20k_nix_dev_start(struct rte_eth_dev *eth_dev)
 	if (roc_idev_nix_rx_inject_get(nix->port_id))
 		dev->rx_offload_flags |= NIX_RX_SEC_REASSEMBLY_F;

-	if (dev->rx_offload_flags & NIX_RX_REAS_F)
-		cn20k_nix_rx_queue_bufsize_update(eth_dev);
+	cn20k_nix_rx_queue_bufsize_update(eth_dev);

 	cn20k_eth_set_tx_function(eth_dev);
 	cn20k_eth_set_rx_function(eth_dev);
--
2.25.1


      parent reply	other threads:[~2025-05-23 15:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-19 12:54 [PATCH 1/6] common/cnxk: config of CPT result address offset Rahul Bhansali
2025-05-19 12:54 ` [PATCH 2/6] common/cnxk: config CPT result address for cn20k Rahul Bhansali
2025-05-19 12:54 ` [PATCH 3/6] common/cnxk: update CPT parse header for O20 Rahul Bhansali
2025-05-19 12:54 ` [PATCH 4/6] common/cnxk: update inbound CPT LF ID Rahul Bhansali
2025-05-19 12:54 ` [PATCH 5/6] net/cnxk: update frag offset calculation Rahul Bhansali
2025-05-19 12:54 ` [PATCH 6/6] net/cnxk: update bufsize in lookup memory Rahul Bhansali
2025-05-23 15:53 ` [PATCH v2 1/6] common/cnxk: config of CPT result address offset Rahul Bhansali
2025-05-23 15:53   ` [PATCH v2 2/6] common/cnxk: config CPT result address for cn20k Rahul Bhansali
2025-05-23 15:53   ` [PATCH v2 3/6] common/cnxk: update CPT parse header for CN20k Rahul Bhansali
2025-05-23 15:53   ` [PATCH v2 4/6] common/cnxk: fix inbound CPT LF ID Rahul Bhansali
2025-05-23 15:53   ` [PATCH v2 5/6] net/cnxk: update frag offset calculation Rahul Bhansali
2025-05-23 15:53   ` Rahul Bhansali [this message]

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=20250523155347.1156891-6-rbhansali@marvell.com \
    --to=rbhansali@marvell.com \
    --cc=dev@dpdk.org \
    --cc=hkalra@marvell.com \
    --cc=jerinj@marvell.com \
    --cc=kirankumark@marvell.com \
    --cc=ndabilpuram@marvell.com \
    --cc=skori@marvell.com \
    --cc=skoteshwar@marvell.com \
    /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).