DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Kundapura, Ganapati" <ganapati.kundapura@intel.com>
To: "dev@dpdk.org" <dev@dpdk.org>,
	"jerinj@marvell.com" <jerinj@marvell.com>,
	 "Jayatheerthan, Jay" <jay.jayatheerthan@intel.com>
Subject: RFC: adapter instance get api proposal
Date: Fri, 3 Jun 2022 16:17:38 +0000	[thread overview]
Message-ID: <MW4PR11MB5911BEECAD60217A0A8473F587A19@MW4PR11MB5911.namprd11.prod.outlook.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 872 bytes --]

Hi dpdk-dev,
   I would like to submit adapter instance get api to retrieve the Rx/Tx adapter instance id for for a Rx/Tx queue

int
rte_event_eth_rx_adapter_queue_instance_get(uint16_t eth_dev_id,
                                            uint16_t rx_queue_id, uint8_t *instance_id)

and

int
rte_event_eth_tx_adapter_queue_instance_get(uint16_t eth_dev_id,
                                            uint16_t tx_queue_id, uint8_t *instance_id)

When application creates multiple adapter instances and adds queues to different adapter instances,
It's difficult to maintain which queue belongs to which adapter instance.

With this api, application need not manage the instance id's for the queues.  It can query the
Instance id for the specified queue.

I look forward feedback on this proposal to submit patch for the review.

Thanks,
Ganapati

[-- Attachment #2: Type: text/html, Size: 3673 bytes --]

             reply	other threads:[~2022-06-03 16:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-03 16:17 Kundapura, Ganapati [this message]
2022-06-04  9:35 ` Jerin Jacob

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=MW4PR11MB5911BEECAD60217A0A8473F587A19@MW4PR11MB5911.namprd11.prod.outlook.com \
    --to=ganapati.kundapura@intel.com \
    --cc=dev@dpdk.org \
    --cc=jay.jayatheerthan@intel.com \
    --cc=jerinj@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).