Searched refs:chunk_mask (Results 1 – 4 of 4) sorted by relevance
12 void xskq_set_umem(struct xsk_queue *q, u64 size, u64 chunk_mask) in xskq_set_umem() argument18 q->chunk_mask = chunk_mask; in xskq_set_umem()
35 u64 chunk_mask; member181 *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);
698 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()
393 umem->chunk_mask = unaligned_chunks ? XSK_UNALIGNED_BUF_ADDR_MASK in xdp_umem_reg()