Home
last modified time | relevance | path

Searched refs:tp_status (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/include/uapi/linux/
Dif_packet.h97 __u32 tp_status; member
132 unsigned long tp_status; member
146 __u32 tp_status; member
171 __u32 tp_status; member
/Linux-v5.10/tools/testing/selftests/net/
Dpsock_tpacket.c175 return ((hdr->tp_status & TP_STATUS_USER) == TP_STATUS_USER); in __v1_rx_kernel_ready()
180 hdr->tp_status = TP_STATUS_KERNEL; in __v1_rx_user_ready()
186 return ((hdr->tp_status & TP_STATUS_USER) == TP_STATUS_USER); in __v2_rx_kernel_ready()
191 hdr->tp_status = TP_STATUS_KERNEL; in __v2_rx_user_ready()
281 return !(hdr->tp_status & (TP_STATUS_SEND_REQUEST | TP_STATUS_SENDING)); in __v1_tx_kernel_ready()
286 hdr->tp_status = TP_STATUS_SEND_REQUEST; in __v1_tx_user_ready()
292 return !(hdr->tp_status & (TP_STATUS_SEND_REQUEST | TP_STATUS_SENDING)); in __v2_tx_kernel_ready()
297 hdr->tp_status = TP_STATUS_SEND_REQUEST; in __v2_tx_user_ready()
303 return !(hdr->tp_status & (TP_STATUS_SEND_REQUEST | TP_STATUS_SENDING)); in __v3_tx_kernel_ready()
308 hdr->tp_status = TP_STATUS_SEND_REQUEST; in __v3_tx_user_ready()
Dtxring_overwrite.c127 while (header->tp_status != TP_STATUS_AVAILABLE) in send_pkt()
133 header->tp_status = TP_STATUS_SEND_REQUEST; in send_pkt()
Dpsock_fanout.c213 while (count < RING_NUM_FRAMES && header->tp_status & TP_STATUS_USER) { in sock_fanout_read_ring()
/Linux-v5.10/net/packet/
Daf_packet.c371 h.h1->tp_status = status; in __packet_set_status()
372 flush_dcache_page(pgv_to_page(&h.h1->tp_status)); in __packet_set_status()
375 h.h2->tp_status = status; in __packet_set_status()
376 flush_dcache_page(pgv_to_page(&h.h2->tp_status)); in __packet_set_status()
379 h.h3->tp_status = status; in __packet_set_status()
380 flush_dcache_page(pgv_to_page(&h.h3->tp_status)); in __packet_set_status()
399 flush_dcache_page(pgv_to_page(&h.h1->tp_status)); in __packet_get_status()
400 return h.h1->tp_status; in __packet_get_status()
402 flush_dcache_page(pgv_to_page(&h.h2->tp_status)); in __packet_get_status()
403 return h.h2->tp_status; in __packet_get_status()
[all …]
/Linux-v5.10/Documentation/networking/
Dpacket_mmap.rst526 header->tp_status = TP_STATUS_SEND_REQUEST;
566 - TP_STATUS_VLAN_VALID bit being set into the tp_status field indicates
568 - TP_STATUS_VLAN_TPID_VALID bit being set into the tp_status field
1042 To determine what kind of timestamp has been reported, the tp_status field
1062 application (e.g. !(tp_status & (TP_STATUS_SEND_REQUEST | TP_STATUS_SENDING))
1064 one can extract the type of timestamp in a second step from tp_status)!