Hi Liron,
Sorry for the delay in responding as I was vacationing last week. As Matias
noted, ODP does not have APIs for dealing with physical addresses, since
the concept of a physical address tends to be very platform-specific and
not universally shared. ODP refers to packet objects symbolically
Hi Bill,
We would like to use the linux-generic’s memory management especially with the
huge-pages support.
This way we can refer to the above as a “infrastructure service” for memory
management. And we only need to get the physical address of the buffers and
pass them to our HW pools.
Having t
On Mon, Oct 22, 2018 at 12:41 PM Liron Himi wrote:
> Hi Bill,
>
>
>
> We would like to use the linux-generic’s memory management especially with
> the huge-pages support.
>
> This way we can refer to the above as a “infrastructure service” for
> memory management. And we only need to get the phys
Hi,
It is for implementing ODP itself on our platform. So yes, we need internal
APIs to get physical address.
Do you have plans to add such internal APIs?
Liron
From: Bill Fischofer
Sent: Monday, October 22, 2018 21:32
To: Liron Himi
Cc: Elo, Matias (Nokia - FI/Espoo) ; lng-odp-forward
Subj
Branch: refs/heads/master
Home: https://github.com/Linaro/odp
Commit: 8c72eb46fb1ee47340ffc7af322215fb78894b37
https://github.com/Linaro/odp/commit/8c72eb46fb1ee47340ffc7af322215fb78894b37
Author: Petri Savolainen
Date: 2018-10-22 (Mon, 22 Oct 2018)
Changed paths:
M scr
On Mon, Oct 22, 2018 at 1:40 PM Liron Himi wrote:
> Hi,
>
>
>
> It is for implementing ODP itself on our platform. So yes, we need
> internal APIs to get physical address.
>
> Do you have plans to add such internal APIs?
>
We do not have a "standardized" set of internal APIs because these would
Hi,
I was not looking for a "standardized" set of internal API.
I want to use the linux-generic implementation of odp-shared-memory, and just
request for additional linux-generic internal API to retrieve the physical
address of the buffer.
Those internal APIs can be part of either of the odp_ish
Hi,
I have a platform that doesn't support hashing on input queues, only
classification.
I think it be good to add the below to the PKTIO capabilities.
As currently in the capabilities I declare to have several input queues but
application has not idea it cannot activate hash on those queues.
On Mon, Oct 22, 2018 at 3:17 PM Liron Himi wrote:
> Hi,
>
>
>
> I was not looking for a "standardized" set of internal API.
>
> I want to use the linux-generic implementation of odp-shared-memory, and
> just request for additional linux-generic internal API to retrieve the
> physical address of t
It looks like to get address is not so complex, just read /proc/$pid/pagemap
https://stackoverflow.com/questions/5748492/is-there-any-api-for-determining-the-physical-address-from-virtual-address-in-li
But for linux-generic it's not clear why do we need this. Maybe AF_XDP
require physical address.
10 matches
Mail list logo