Searched refs:NETMAP_RING_MASK (Results 1 – 3 of 3) sorted by relevance
202 r = (r < NETMAP_RING_MASK) ? (r | NETMAP_HW_RING) : 0; in nm_open()205 d->req.nr_ringid |= (flags & ~NETMAP_RING_MASK); in nm_open()221 d->req.nr_ringid & NETMAP_RING_MASK; in nm_open()
341 #define NETMAP_RING_MASK 0xfff /* the ring number */ macro
1158 u_int i = ringid & NETMAP_RING_MASK; in netmap_set_ringid()2154 q &= NETMAP_RING_MASK; in netmap_common_irq()