DPDK patches and discussions
 help / color / mirror / Atom feed
* RFC: adapter instance get api proposal
@ 2022-06-03 16:17 Kundapura, Ganapati
  2022-06-04  9:35 ` Jerin Jacob
  0 siblings, 1 reply; 2+ messages in thread
From: Kundapura, Ganapati @ 2022-06-03 16:17 UTC (permalink / raw)
  To: dev, jerinj, Jayatheerthan, Jay

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-04  9:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-03 16:17 RFC: adapter instance get api proposal Kundapura, Ganapati
2022-06-04  9:35 ` Jerin Jacob

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).