Home
last modified time | relevance | path

Searched refs:tx_ring (Results 1 – 3 of 3) sorted by relevance

/net/packet/
Daf_packet.c172 int closing, int tx_ring);
1199 po->tx_ring.pending_refcnt = alloc_percpu(unsigned int); in packet_alloc_pending()
1200 if (unlikely(po->tx_ring.pending_refcnt == NULL)) in packet_alloc_pending()
1208 free_percpu(po->tx_ring.pending_refcnt); in packet_free_pending()
2483 if (likely(po->tx_ring.pg_vec)) { in tpacket_destruct_skb()
2488 packet_dec_pending(&po->tx_ring); in tpacket_destruct_skb()
2493 if (!packet_read_pending(&po->tx_ring)) in tpacket_destruct_skb()
2641 off_max = po->tx_ring.frame_size - tp_len; in tpacket_parse_header()
2701 if (unlikely(!po->tx_ring.pg_vec)) { in tpacket_snd()
2742 size_max = po->tx_ring.frame_size in tpacket_snd()
[all …]
Dinternal.h115 struct packet_ring_buffer tx_ring; member
Ddiag.c106 ret = pdiag_put_ring(&po->tx_ring, po->tp_version, in pdiag_put_rings_cfg()