Re: AF_XDP and dma
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: AF_XDP and dma
- From: Magnus Karlsson <magnus.karlsson@xxxxxxxxx>
- Date: Fri, 9 Apr 2021 12:07:19 +0200
- In-reply-to: <CAGZFCEGDtF1SfBWEbrYG9=Na+71mJ1kk5L+9W3f-UcKjYGjLCw@mail.gmail.com>
- References: <CAGZFCEHR2brK5yoMZt=GsaZtg_0XB+sb-XLz_m5WjZr9xQDP3A@mail.gmail.com> <CAJ8uoz2Kv7aQP1BoxKET+v5k9jgSgQCK38RpNp-xCzwfEKvFRA@mail.gmail.com> <CAGZFCEGDtF1SfBWEbrYG9=Na+71mJ1kk5L+9W3f-UcKjYGjLCw@mail.gmail.com>
On Fri, Apr 9, 2021 at 12:01 PM ratheesh kannoth <ratheesh.ksz@xxxxxxxxx> wrote:
>
> On Fri, Apr 9, 2021 at 3:13 PM Magnus Karlsson
> <magnus.karlsson@xxxxxxxxx> wrote:
> > The short answer is that you do not have to worry about that at all in
> > user space.
> i am interested in kernel space, where i have to configure these
> memory address (physical) in HW
>
> >>>DMA is taken care of by the kernel.
> Agreed. For AF_XDP in driver mode (for zero copy mode), I need to
> configure the DMA address.
Only if you are writing your own kernel driver for a NIC. Are you doing that?
> > /Magnus
[Index of Archives]
[Linux Networking Development]
[Fedora Linux Users]
[Linux SCTP]
[DCCP]
[Gimp]
[Yosemite Campsites]