aboutsummaryrefslogtreecommitdiff
path: root/net/xdp
diff options
context:
space:
mode:
authorJan Sokolowski <jan.sokolowski@intel.com>2018-12-18 13:45:13 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-01-22 06:57:04 -0800
commit5f4f3b2d19c0e3a6cb9ed4aa11fed6fbb13d1aa0 (patch)
treef4632292a1b28264f59a5a71cee01399a4fae284 /net/xdp
parentfa7f3a8d56b38a3ed1880a3780afba82387da277 (diff)
downloadlinux-stericsson-5f4f3b2d19c0e3a6cb9ed4aa11fed6fbb13d1aa0.tar.gz
xsk: export xdp_get_umem_from_qid
Export xdp_get_umem_from_qid for other modules to use. Signed-off-by: Jan Sokolowski <jan.sokolowski@intel.com> Acked-by: Björn Töpel <bjorn.topel@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'net/xdp')
-rw-r--r--net/xdp/xdp_umem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/xdp/xdp_umem.c b/net/xdp/xdp_umem.c
index d4de871e7d4d..d74dfdc106b5 100644
--- a/net/xdp/xdp_umem.c
+++ b/net/xdp/xdp_umem.c
@@ -67,6 +67,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)
{