On Thu, Dec 20, 2018 at 11:48 AM Björn Töpel wrote:
>
> Den ons 19 dec. 2018 kl 01:55 skrev William Tu :
> >
> > Currently the xsk_umem_consume_tx expects only the physical NICs so
> > the api returns a dma address. This patch introduce the new function
> > to return the virtual address, when XSK
Den ons 19 dec. 2018 kl 01:55 skrev William Tu :
>
> Currently the xsk_umem_consume_tx expects only the physical NICs so
> the api returns a dma address. This patch introduce the new function
> to return the virtual address, when XSK is used by a virtual device.
>
> Signed-off-by: William Tu
> --
Currently the xsk_umem_consume_tx expects only the physical NICs so
the api returns a dma address. This patch introduce the new function
to return the virtual address, when XSK is used by a virtual device.
Signed-off-by: William Tu
---
include/net/xdp_sock.h | 7 +++
net/xdp/xdp_umem.c