DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] PA to VA address conversion API in DPDK
@ 2016-08-23  7:07 Devendra Rawat
  0 siblings, 0 replies; only message in thread
From: Devendra Rawat @ 2016-08-23  7:07 UTC (permalink / raw)
  To: dev

Hi,

I am implementing a PMD driver for my ethernet device in DPDK.

I have allocated HW desc. queue for receiving packets. For each desc.
there's a corresponding rte_mbuf allocated and the PA of that mbuf is put
in the desc.

In the RX callback function,
On packet reception I will get the PA from a RX desc. I need to convert
this PA to VA so that I can find the corresponding mbuf address .

Is there any API available or some other way to do PA to VA conversion ?
I need an efficient way of doing PA to VA conversion, as this will be done
for every RX packet.

Thanks,
Deven

-- 
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is 
for the sole use of the intended recipient(s) and contains information that 
is confidential and proprietary to Applied Micro Circuits Corporation or 
its subsidiaries. It is to be used solely for the purpose of furthering the 
parties' business relationship. All unauthorized review, use, disclosure or 
distribution is prohibited. If you are not the intended recipient, please 
contact the sender by reply e-mail and destroy all copies of the original 
message.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-08-23  7:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-23  7:07 [dpdk-dev] PA to VA address conversion API in DPDK Devendra Rawat

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