Re: AF_XDP and dma
Magnus Karlsson <[email protected]>
| Newsgroups | org.kernel.vger.xdp-newbies |
|---|---|
| Message-ID | <CAJ8uoz0O2yXoA09ZNO5iviFOv-ipgaf0ZhYD=ZUb8QG7VP5Edg@mail.gmail.com> |
On Fri, Apr 9, 2021 at 12:01 PM ratheesh kannoth <[email protected]> wrote: > > On Fri, Apr 9, 2021 at 3:13 PM Magnus Karlsson > <[email protected]> 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