Home
last modified time | relevance | path

Searched refs:umem_xs (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/net/xdp/
H A Dxsk.c1131 struct xdp_sock *umem_xs; in xsk_bind() local
1153 umem_xs = xdp_sk(sock->sk); in xsk_bind()
1154 if (!xsk_is_bound(umem_xs)) { in xsk_bind()
1160 if (umem_xs->queue_id != qid || umem_xs->dev != dev) { in xsk_bind()
1165 umem_xs->umem); in xsk_bind()
1172 err = xp_assign_dev_shared(xs->pool, umem_xs, dev, in xsk_bind()
1189 xp_get_pool(umem_xs->pool); in xsk_bind()
1190 xs->pool = umem_xs->pool; in xsk_bind()
1207 xdp_get_umem(umem_xs->umem); in xsk_bind()
1208 WRITE_ONCE(xs->umem, umem_xs->umem); in xsk_bind()
H A Dxsk_buff_pool.c228 int xp_assign_dev_shared(struct xsk_buff_pool *pool, struct xdp_sock *umem_xs, in xp_assign_dev_shared() argument
232 struct xdp_umem *umem = umem_xs->umem; in xp_assign_dev_shared()
239 if (umem_xs->pool->uses_need_wakeup) in xp_assign_dev_shared()
/openbmc/linux/include/net/
H A Dxsk_buff_pool.h105 int xp_assign_dev_shared(struct xsk_buff_pool *pool, struct xdp_sock *umem_xs,