Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dtest_xdp_noinline.c280 struct real_definition *dst, __u32 pkt_bytes) in encap_v6() argument
309 bpf_htons(pkt_bytes + sizeof(struct ipv6hdr)); in encap_v6()
323 struct real_definition *dst, __u32 pkt_bytes) in encap_v4() argument
356 iph->tot_len = bpf_htons(pkt_bytes + sizeof(struct iphdr)); in encap_v4()
590 __u16 *pkt_bytes, void *data, in process_l3_headers_v6() argument
603 *pkt_bytes = bpf_ntohs(ip6h->payload_len); in process_l3_headers_v6()
621 __u16 *pkt_bytes, void *data, in process_l3_headers_v4() argument
634 *pkt_bytes = bpf_ntohs(iph->tot_len); in process_l3_headers_v4()
664 __u16 pkt_bytes; in process_packet() local
671 &pkt_bytes, data, data_end); in process_packet()
[all …]
Dtest_l4lb.c339 __u16 pkt_bytes; in process_packet() local
355 pkt_bytes = bpf_ntohs(ip6h->payload_len); in process_packet()
377 pkt_bytes = bpf_ntohs(iph->tot_len); in process_packet()
445 data_stats->bytes += pkt_bytes; in process_packet()
Dtest_l4lb_noinline.c338 __u16 pkt_bytes; in process_packet() local
354 pkt_bytes = bpf_ntohs(ip6h->payload_len); in process_packet()
376 pkt_bytes = bpf_ntohs(iph->tot_len); in process_packet()
444 data_stats->bytes += pkt_bytes; in process_packet()
Dtest_l4lb_noinline_dynptr.c343 __u16 pkt_bytes; in process_packet() local
361 pkt_bytes = bpf_ntohs(ip6h->payload_len); in process_packet()
383 pkt_bytes = bpf_ntohs(iph->tot_len); in process_packet()
451 data_stats->bytes += pkt_bytes; in process_packet()
/Linux-v6.6/drivers/net/ethernet/google/gve/
Dgve_rx_dqo.c771 u32 pkt_bytes; in gve_rx_poll_dqo() local
820 pkt_bytes = rx->ctx.skb_head->len; in gve_rx_poll_dqo()
825 pkt_bytes += ETH_HLEN; in gve_rx_poll_dqo()
836 bytes += pkt_bytes; in gve_rx_poll_dqo()
/Linux-v6.6/drivers/infiniband/hw/hfi1/
Dipoib_tx.c236 u16 pkt_bytes = in hfi1_ipoib_build_tx_desc() local
240 ret = sdma_txinit(txreq, 0, pkt_bytes, hfi1_ipoib_sdma_complete); in hfi1_ipoib_build_tx_desc()