Home
last modified time | relevance | path

Searched refs:rx_notify_masked (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/
H A Dveth.c63 bool rx_notify_masked; member
257 /* Write ptr_ring before reading rx_notify_masked */ in __veth_xdp_flush()
259 if (!rq->rx_notify_masked) { in __veth_xdp_flush()
260 rq->rx_notify_masked = true; in __veth_xdp_flush()
857 /* Write rx_notify_masked before reading ptr_ring */ in veth_poll()
858 smp_store_mb(rq->rx_notify_masked, false); in veth_poll()
860 rq->rx_notify_masked = true; in veth_poll()
916 rq->rx_notify_masked = false; in veth_napi_del()
/kernel/linux/linux-6.6/drivers/net/
H A Dveth.c66 bool rx_notify_masked; member
297 /* Write ptr_ring before reading rx_notify_masked */ in __veth_xdp_flush()
299 if (!READ_ONCE(rq->rx_notify_masked) && in __veth_xdp_flush()
301 WRITE_ONCE(rq->rx_notify_masked, true); in __veth_xdp_flush()
1009 /* Write rx_notify_masked before reading ptr_ring */ in veth_poll()
1010 smp_store_mb(rq->rx_notify_masked, false); in veth_poll()
1013 WRITE_ONCE(rq->rx_notify_masked, true); in veth_poll()
1109 rq->rx_notify_masked = false; in veth_napi_del_range()

Completed in 5 milliseconds