DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas@monjalon.net>
To: Vanshika Shukla <vanshika.shukla@nxp.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>,
	"dev@dpdk.org" <dev@dpdk.org>,
	Hemant Agrawal <hemant.agrawal@nxp.com>,
	Sachin Saxena <sachin.saxena@nxp.com>,
	Vinod Pullabhatla <vinod.pullabhatla@nxp.com>
Subject: Re: [EXT] Re: [v4 07/10] net/dpaa: add Tx rate limiting DPAA PMD API
Date: Tue, 01 Jul 2025 15:06:18 +0200	[thread overview]
Message-ID: <5175369.NQBDW4tYnK@thomas> (raw)
In-Reply-To: <AS8PR04MB89793B130FC03500D560F9B5F441A@AS8PR04MB8979.eurprd04.prod.outlook.com>

01/07/2025 13:42, Vanshika Shukla:
> From: Stephen Hemminger <stephen@networkplumber.org>
> > On Wed, 11 Jun 2025 12:40:36 +0530
> > vanshika.shukla@nxp.com wrote:
> > 
> > > From: Vinod Pullabhatla <vinod.pullabhatla@nxp.com>
> > >
> > > Add support to set Tx rate on DPAA platform through PMD APIs
> > >
> > > Signed-off-by: Vinod Pullabhatla <vinod.pullabhatla@nxp.com>
> > > Signed-off-by: Vanshika Shukla <vanshika.shukla@nxp.com>
> > > ---
> > 
> > You intended to add a PMD specific API for rate limiting.
> > But there is no RTE_EXPORT_SYMBOL so it was never used.
> > 
> > You would have found this if you added a test for it.
> > 
> > Not accepting this without a test in test-pmd for it.
> > 
> > And why is the existing ethdev queue rate_limit not a better API here?
> 
> We have exported the API and are currently testing it using our internal application. This feature is specific to our platform.
> 
> The existing ethdev queue rate_limit API supports per-queue rate limiting. However, our use case requires per-port rate limiting, so we have implemented a custom solution to support this functionality.

You should make a port-level generic API.
PMD-specific API should be avoided.



  reply	other threads:[~2025-07-01 13:06 UTC|newest]

Thread overview: 119+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-28 10:39 [v1 00/10] DPAA specific fixes vanshika.shukla
2025-05-28 10:39 ` [v1 01/10] bus/dpaa: avoid using same structure and variable name vanshika.shukla
2025-05-28 10:39 ` [v1 02/10] bus/dpaa: add FMan node vanshika.shukla
2025-05-28 10:39 ` [v1 03/10] bus/dpaa: enhance DPAA SoC version vanshika.shukla
2025-05-28 14:28   ` Stephen Hemminger
2025-05-28 10:39 ` [v1 04/10] bus/dpaa: optimize bman acquire/release vanshika.shukla
2025-05-28 14:30   ` Stephen Hemminger
2025-05-28 14:50     ` [EXT] " Jun Yang
2025-05-28 10:39 ` [v1 05/10] mempool/dpaa: fast acquire and release vanshika.shukla
2025-05-28 10:39 ` [v1 06/10] mempool/dpaa: adjust pool element for LS1043A errata vanshika.shukla
2025-05-28 10:39 ` [v1 07/10] net/dpaa: add Tx rate limiting DPAA PMD API vanshika.shukla
2025-06-03  6:06   ` Varghese, Vipin
2025-05-28 10:39 ` [v1 08/10] net/dpaa: add devargs for enabling err packets on main queue vanshika.shukla
2025-05-28 10:39 ` [v1 09/10] bus/dpaa: improve DPAA cleanup vanshika.shukla
2025-05-28 10:39 ` [v1 10/10] bus/dpaa: optimize qman enqueue check vanshika.shukla
2025-06-02 13:15 ` [v2 00/10] DPAA specific fixes vanshika.shukla
2025-06-02 13:15   ` [v2 01/10] bus/dpaa: avoid using same structure and variable name vanshika.shukla
2025-06-02 13:15   ` [v2 02/10] bus/dpaa: add FMan node vanshika.shukla
2025-06-02 13:15   ` [v2 03/10] bus/dpaa: enhance DPAA SoC version vanshika.shukla
2025-06-02 13:15   ` [v2 04/10] bus/dpaa: optimize bman acquire/release vanshika.shukla
2025-06-02 13:15   ` [v2 05/10] mempool/dpaa: fast acquire and release vanshika.shukla
2025-06-02 13:15   ` [v2 06/10] mempool/dpaa: adjust pool element for LS1043A errata vanshika.shukla
2025-06-02 13:15   ` [v2 07/10] net/dpaa: add Tx rate limiting DPAA PMD API vanshika.shukla
2025-06-02 13:15   ` [v2 08/10] net/dpaa: add devargs for enabling err packets on main queue vanshika.shukla
2025-06-02 13:15   ` [v2 09/10] bus/dpaa: improve DPAA cleanup vanshika.shukla
2025-06-02 13:15   ` [v2 10/10] bus/dpaa: optimize qman enqueue check vanshika.shukla
2025-06-04  2:51     ` Stephen Hemminger
2025-06-10  9:14   ` [v3 00/10] DPAA specific fixes vanshika.shukla
2025-06-10  9:14     ` [v3 01/10] bus/dpaa: avoid using same structure and variable name vanshika.shukla
2025-07-01 13:44       ` Stephen Hemminger
2025-06-10  9:14     ` [v3 02/10] bus/dpaa: add FMan node vanshika.shukla
2025-06-10  9:14     ` [v3 03/10] bus/dpaa: enhance DPAA SoC version vanshika.shukla
2025-06-10  9:14     ` [v3 04/10] bus/dpaa: optimize bman acquire/release vanshika.shukla
2025-06-10  9:14     ` [v3 05/10] mempool/dpaa: fast acquire and release vanshika.shukla
2025-06-10  9:14     ` [v3 06/10] mempool/dpaa: adjust pool element for LS1043A errata vanshika.shukla
2025-06-10  9:14     ` [v3 07/10] net/dpaa: add Tx rate limiting DPAA PMD API vanshika.shukla
2025-06-10  9:14     ` [v3 08/10] net/dpaa: add devargs for enabling err packets on main queue vanshika.shukla
2025-06-10  9:14     ` [v3 09/10] bus/dpaa: improve DPAA cleanup vanshika.shukla
2025-06-10  9:14     ` [v3 10/10] bus/dpaa: optimize qman enqueue check vanshika.shukla
2025-06-11  7:10     ` [v4 00/10] DPAA specific fixes vanshika.shukla
2025-06-11  7:10       ` [v4 01/10] bus/dpaa: avoid using same structure and variable name vanshika.shukla
2025-06-29 16:30         ` Stephen Hemminger
2025-07-01 11:38           ` [EXT] " Vanshika Shukla
2025-06-11  7:10       ` [v4 02/10] bus/dpaa: add FMan node vanshika.shukla
2025-06-11 16:50         ` Stephen Hemminger
2025-06-19  5:44           ` [EXT] " Vanshika Shukla
2025-06-29 16:32         ` Stephen Hemminger
2025-06-11  7:10       ` [v4 03/10] bus/dpaa: enhance DPAA SoC version vanshika.shukla
2025-06-11  7:10       ` [v4 04/10] bus/dpaa: optimize bman acquire/release vanshika.shukla
2025-06-29 16:34         ` Stephen Hemminger
2025-06-29 16:35         ` Stephen Hemminger
2025-06-11  7:10       ` [v4 05/10] mempool/dpaa: fast acquire and release vanshika.shukla
2025-06-11  7:10       ` [v4 06/10] mempool/dpaa: adjust pool element for LS1043A errata vanshika.shukla
2025-06-29 16:37         ` Stephen Hemminger
2025-06-11  7:10       ` [v4 07/10] net/dpaa: add Tx rate limiting DPAA PMD API vanshika.shukla
2025-06-29 16:42         ` Stephen Hemminger
2025-07-01 11:42           ` [EXT] " Vanshika Shukla
2025-07-01 13:06             ` Thomas Monjalon [this message]
2025-06-11  7:10       ` [v4 08/10] net/dpaa: add devargs for enabling err packets on main queue vanshika.shukla
2025-06-29 16:43         ` Stephen Hemminger
2025-06-11  7:10       ` [v4 09/10] bus/dpaa: improve DPAA cleanup vanshika.shukla
2025-06-11  7:10       ` [v4 10/10] bus/dpaa: optimize qman enqueue check vanshika.shukla
2025-06-11 16:15         ` Stephen Hemminger
2025-06-11 20:04           ` Patrick Robb
2025-06-19  5:43       ` [v4 00/10] DPAA specific fixes Hemant Agrawal
2025-07-01 11:36       ` [v5 0/9] " vanshika.shukla
2025-07-01 11:36         ` [v5 1/9] bus/dpaa: add FMan node vanshika.shukla
2025-07-01 11:37         ` [v5 2/9] bus/dpaa: enhance DPAA SoC version vanshika.shukla
2025-07-01 11:37         ` [v5 3/9] bus/dpaa: optimize bman acquire/release vanshika.shukla
2025-07-01 11:37         ` [v5 4/9] mempool/dpaa: fast acquire and release vanshika.shukla
2025-07-01 11:37         ` [v5 5/9] mempool/dpaa: adjust pool element for LS1043A errata vanshika.shukla
2025-07-01 11:37         ` [v5 6/9] net/dpaa: add Tx rate limiting DPAA PMD API vanshika.shukla
2025-07-01 13:46           ` Stephen Hemminger
2025-07-01 13:57           ` Stephen Hemminger
2025-07-02 10:15             ` [EXT] " Vanshika Shukla
2025-07-01 11:37         ` [v5 7/9] net/dpaa: add devargs for enabling err packets on main queue vanshika.shukla
2025-07-01 11:37         ` [v5 8/9] bus/dpaa: improve DPAA cleanup vanshika.shukla
2025-07-01 13:49           ` Stephen Hemminger
2025-07-01 11:37         ` [v5 9/9] bus/dpaa: optimize qman enqueue check vanshika.shukla
2025-07-02 10:10         ` [v6 0/8] DPAA specific fixes vanshika.shukla
2025-07-02 10:10           ` [v6 1/8] bus/dpaa: add FMan node vanshika.shukla
2025-07-02 10:10           ` [v6 2/8] bus/dpaa: enhance DPAA SoC version vanshika.shukla
2025-07-02 10:10           ` [v6 3/8] bus/dpaa: optimize bman acquire/release vanshika.shukla
2025-07-02 10:10           ` [v6 4/8] mempool/dpaa: fast acquire and release vanshika.shukla
2025-07-02 10:10           ` [v6 5/8] mempool/dpaa: adjust pool element for LS1043A errata vanshika.shukla
2025-07-02 10:10           ` [v6 6/8] net/dpaa: add devargs for enabling err packets on main queue vanshika.shukla
2025-07-02 10:10           ` [v6 7/8] bus/dpaa: improve DPAA cleanup vanshika.shukla
2025-07-02 10:10           ` [v6 8/8] bus/dpaa: optimize qman enqueue check vanshika.shukla
2025-07-02 14:56           ` [v6 0/8] DPAA specific fixes Stephen Hemminger
2025-07-03  5:25           ` [v7 0/8] improve DPAA cleanup vanshika.shukla
2025-07-03  5:25             ` [v7 1/8] bus/dpaa: add FMan node vanshika.shukla
2025-07-03  5:25             ` [v7 2/8] bus/dpaa: enhance DPAA SoC version vanshika.shukla
2025-07-03  5:25             ` [v7 3/8] bus/dpaa: optimize bman acquire/release vanshika.shukla
2025-07-03  5:25             ` [v7 4/8] mempool/dpaa: fast acquire and release vanshika.shukla
2025-07-03  5:25             ` [v7 5/8] mempool/dpaa: adjust pool element for LS1043A errata vanshika.shukla
2025-07-03  5:25             ` [v7 6/8] net/dpaa: add devargs for enabling err packets on main queue vanshika.shukla
2025-07-03  5:25             ` [v7 7/8] bus/dpaa: improve DPAA cleanup vanshika.shukla
2025-07-03  5:25             ` [v7 8/8] bus/dpaa: optimize qman enqueue check vanshika.shukla
2025-07-03  5:37             ` [v8 0/8] DPAA specific fixes vanshika.shukla
2025-07-03  5:37               ` [v8 1/8] bus/dpaa: add FMan node vanshika.shukla
2025-07-10 22:37                 ` Stephen Hemminger
2025-07-03  5:37               ` [v8 2/8] bus/dpaa: enhance DPAA SoC version vanshika.shukla
2025-07-03  5:37               ` [v8 3/8] bus/dpaa: optimize bman acquire/release vanshika.shukla
2025-07-03  5:37               ` [v8 4/8] mempool/dpaa: fast acquire and release vanshika.shukla
2025-07-03  5:37               ` [v8 5/8] mempool/dpaa: adjust pool element for LS1043A errata vanshika.shukla
2025-07-03  5:37               ` [v8 6/8] net/dpaa: add devargs for enabling err packets on main queue vanshika.shukla
2025-07-03  5:37               ` [v8 7/8] bus/dpaa: improve DPAA cleanup vanshika.shukla
2025-07-10 22:48                 ` Stephen Hemminger
2025-07-03  5:37               ` [v8 8/8] bus/dpaa: optimize qman enqueue check vanshika.shukla
2025-07-17  9:42               ` [v9 0/8] DPAA specific fixes vanshika.shukla
2025-07-17  9:42                 ` [v9 1/8] bus/dpaa: add FMan node vanshika.shukla
2025-07-17  9:42                 ` [v9 2/8] bus/dpaa: enhance DPAA SoC version vanshika.shukla
2025-07-17  9:42                 ` [v9 3/8] bus/dpaa: optimize bman acquire/release vanshika.shukla
2025-07-17  9:42                 ` [v9 4/8] mempool/dpaa: fast acquire and release vanshika.shukla
2025-07-17  9:42                 ` [v9 5/8] mempool/dpaa: adjust pool element for LS1043A errata vanshika.shukla
2025-07-17  9:42                 ` [v9 6/8] net/dpaa: add devargs for enabling err packets on main queue vanshika.shukla
2025-07-17  9:42                 ` [v9 7/8] bus/dpaa: improve DPAA cleanup vanshika.shukla
2025-07-17  9:42                 ` [v9 8/8] bus/dpaa: optimize qman enqueue check vanshika.shukla
2025-07-22  3:52                 ` [v9 0/8] DPAA specific fixes Stephen Hemminger

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=5175369.NQBDW4tYnK@thomas \
    --to=thomas@monjalon.net \
    --cc=dev@dpdk.org \
    --cc=hemant.agrawal@nxp.com \
    --cc=sachin.saxena@nxp.com \
    --cc=stephen@networkplumber.org \
    --cc=vanshika.shukla@nxp.com \
    --cc=vinod.pullabhatla@nxp.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).