[Intel-wired-lan] [PATCH 1/2] xsk: export xdp_get_umem_from_qid

Björn Töpel bjorn.topel at gmail.com
Tue Dec 18 14:48:22 UTC 2018


Den tis 18 dec. 2018 kl 14:48 skrev Jan Sokolowski <jan.sokolowski at intel.com>:
>
> Export xdp_get_umem_from_qid for other modules to use.
>
> Signed-off-by: Jan Sokolowski <jan.sokolowski at intel.com>

Adding netdev.

Acked-by: Björn Töpel <bjorn.topel at intel.com>

> ---
>  net/xdp/xdp_umem.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/net/xdp/xdp_umem.c b/net/xdp/xdp_umem.c
> index a264cf2accd0..424ae2538f9f 100644
> --- a/net/xdp/xdp_umem.c
> +++ b/net/xdp/xdp_umem.c
> @@ -60,6 +60,7 @@ struct xdp_umem *xdp_get_umem_from_qid(struct net_device *dev,
>
>         return NULL;
>  }
> +EXPORT_SYMBOL(xdp_get_umem_from_qid);
>
>  static void xdp_clear_umem_at_qid(struct net_device *dev, u16 queue_id)
>  {
> --
> 2.18.1
>
> _______________________________________________
> Intel-wired-lan mailing list
> Intel-wired-lan at osuosl.org
> https://lists.osuosl.org/mailman/listinfo/intel-wired-lan


More information about the Intel-wired-lan mailing list