Lines Matching defs:rx
883 static void tsnep_rx_ring_cleanup(struct tsnep_rx *rx) in tsnep_rx_ring_cleanup()
915 static int tsnep_rx_ring_create(struct tsnep_rx *rx) in tsnep_rx_ring_create()
970 static void tsnep_rx_init(struct tsnep_rx *rx) in tsnep_rx_init()
983 static void tsnep_rx_enable(struct tsnep_rx *rx) in tsnep_rx_enable()
991 static void tsnep_rx_disable(struct tsnep_rx *rx) in tsnep_rx_disable()
1001 static int tsnep_rx_desc_available(struct tsnep_rx *rx) in tsnep_rx_desc_available()
1009 static void tsnep_rx_free_page_buffer(struct tsnep_rx *rx) in tsnep_rx_free_page_buffer()
1024 static int tsnep_rx_alloc_page_buffer(struct tsnep_rx *rx) in tsnep_rx_alloc_page_buffer()
1043 static void tsnep_rx_set_page(struct tsnep_rx *rx, struct tsnep_rx_entry *entry, in tsnep_rx_set_page()
1052 static int tsnep_rx_alloc_buffer(struct tsnep_rx *rx, int index) in tsnep_rx_alloc_buffer()
1065 static void tsnep_rx_reuse_buffer(struct tsnep_rx *rx, int index) in tsnep_rx_reuse_buffer()
1074 static void tsnep_rx_activate(struct tsnep_rx *rx, int index) in tsnep_rx_activate()
1101 static int tsnep_rx_alloc(struct tsnep_rx *rx, int count, bool reuse) in tsnep_rx_alloc()
1129 static int tsnep_rx_refill(struct tsnep_rx *rx, int count, bool reuse) in tsnep_rx_refill()
1140 static void tsnep_rx_set_xdp(struct tsnep_rx *rx, struct tsnep_rx_entry *entry, in tsnep_rx_set_xdp()
1149 static void tsnep_rx_reuse_buffer_zc(struct tsnep_rx *rx, int index) in tsnep_rx_reuse_buffer_zc()
1158 static int tsnep_rx_alloc_zc(struct tsnep_rx *rx, int count, bool reuse) in tsnep_rx_alloc_zc()
1186 static void tsnep_rx_free_zc(struct tsnep_rx *rx) in tsnep_rx_free_zc()
1199 static int tsnep_rx_refill_zc(struct tsnep_rx *rx, int count, bool reuse) in tsnep_rx_refill_zc()
1210 static bool tsnep_xdp_run_prog(struct tsnep_rx *rx, struct bpf_prog *prog, in tsnep_xdp_run_prog()
1254 static bool tsnep_xdp_run_prog_zc(struct tsnep_rx *rx, struct bpf_prog *prog, in tsnep_xdp_run_prog_zc()
1305 static struct sk_buff *tsnep_build_skb(struct tsnep_rx *rx, struct page *page, in tsnep_build_skb()
1336 static void tsnep_rx_page(struct tsnep_rx *rx, struct napi_struct *napi, in tsnep_rx_page()
1358 static int tsnep_rx_poll(struct tsnep_rx *rx, struct napi_struct *napi, in tsnep_rx_poll()
1464 static int tsnep_rx_poll_zc(struct tsnep_rx *rx, struct napi_struct *napi, in tsnep_rx_poll_zc()
1582 static bool tsnep_rx_pending(struct tsnep_rx *rx) in tsnep_rx_pending()
1597 static int tsnep_rx_open(struct tsnep_rx *rx) in tsnep_rx_open()
1635 static void tsnep_rx_close(struct tsnep_rx *rx) in tsnep_rx_close()
1643 static void tsnep_rx_reopen(struct tsnep_rx *rx) in tsnep_rx_reopen()
1671 static void tsnep_rx_reopen_xsk(struct tsnep_rx *rx) in tsnep_rx_reopen_xsk()
1821 struct tsnep_rx *rx = queue->rx; in tsnep_queue_close() local
1838 struct tsnep_rx *rx = queue->rx; in tsnep_queue_open() local