Home
last modified time | relevance | path

Searched refs:chunk_mask (Results 1 – 4 of 4) sorted by relevance

/net/xdp/
Dxsk_queue.c12 void xskq_set_umem(struct xsk_queue *q, u64 size, u64 chunk_mask) in xskq_set_umem() argument
18 q->chunk_mask = chunk_mask; in xskq_set_umem()
Dxsk_queue.h35 u64 chunk_mask; member
181 *addr = READ_ONCE(ring->desc[idx]) & q->chunk_mask; in xskq_validate_addr()
290 if (((d->addr + d->len) & q->chunk_mask) != (d->addr & q->chunk_mask) || in xskq_is_valid_desc()
377 void xskq_set_umem(struct xsk_queue *q, u64 size, u64 chunk_mask);
Dxsk.c698 xs->umem->chunk_mask); in xsk_bind()
700 xs->umem->chunk_mask); in xsk_bind()
712 xskq_set_umem(xs->rx, xs->umem->size, xs->umem->chunk_mask); in xsk_bind()
713 xskq_set_umem(xs->tx, xs->umem->size, xs->umem->chunk_mask); in xsk_bind()
Dxdp_umem.c393 umem->chunk_mask = unaligned_chunks ? XSK_UNALIGNED_BUF_ADDR_MASK in xdp_umem_reg()