Searched refs:l3_offset (Results 1 – 14 of 14) sorted by relevance
/Linux-v6.1/samples/bpf/ |
D | xdp_redirect_cpu.bpf.c | 53 u16 *eth_proto, u64 *l3_offset) in parse_eth() argument 92 *l3_offset = offset; in parse_eth() 264 u64 l3_offset = 0; in xdp_prognum3_proto_separate() local 274 if (!(parse_eth(eth, data_end, ð_proto, &l3_offset))) in xdp_prognum3_proto_separate() 280 ip_proto = get_proto_ipv4(ctx, l3_offset); in xdp_prognum3_proto_separate() 283 ip_proto = get_proto_ipv6(ctx, l3_offset); in xdp_prognum3_proto_separate() 330 u64 l3_offset = 0; in xdp_prognum4_ddos_filter_pktgen() local 341 if (!(parse_eth(eth, data_end, ð_proto, &l3_offset))) in xdp_prognum4_ddos_filter_pktgen() 347 ip_proto = get_proto_ipv4(ctx, l3_offset); in xdp_prognum4_ddos_filter_pktgen() 350 ip_proto = get_proto_ipv6(ctx, l3_offset); in xdp_prognum4_ddos_filter_pktgen() [all …]
|
/Linux-v6.1/drivers/gpu/drm/i915/gvt/ |
D | mmio_context.c | 409 i915_reg_t offset, l3_offset; in switch_mocs() local 440 l3_offset.reg = 0xb020; in switch_mocs() 443 old_v = vgpu_vreg_t(pre, l3_offset); in switch_mocs() 447 new_v = vgpu_vreg_t(next, l3_offset); in switch_mocs() 452 intel_uncore_write_fw(uncore, l3_offset, new_v); in switch_mocs() 454 l3_offset.reg += 4; in switch_mocs()
|
/Linux-v6.1/tools/testing/selftests/bpf/progs/ |
D | test_xdp_vlan.c | 47 __u16 l3_offset; member 96 pkt->l3_offset = offset; in parse_eth_frame()
|
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/crypto/ |
D | tls.c | 485 iph = pkt + req->l3_offset; in nfp_net_tls_rx_resync_req() 486 ipv6h = pkt + req->l3_offset; in nfp_net_tls_rx_resync_req() 491 req->l3_offset, req->l4_offset, pkt_len); in nfp_net_tls_rx_resync_req() 512 req->l3_offset, req->l4_offset, iph->version); in nfp_net_tls_rx_resync_req()
|
D | fw.h | 15 u8 l3_offset; member
|
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/nfd3/ |
D | nfd3.h | 41 u8 l3_offset; /* L3 header offset */ member
|
D | dp.c | 76 u32 l3_offset, l4_offset, hdrlen; in nfp_nfd3_tx_tso() local 83 l3_offset = skb_network_offset(skb); in nfp_nfd3_tx_tso() 87 l3_offset = skb_inner_network_offset(skb); in nfp_nfd3_tx_tso() 96 txd->l3_offset = l3_offset - md_bytes; in nfp_nfd3_tx_tso()
|
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/nfdk/ |
D | nfdk.h | 58 u8 l3_offset; /* L3 header offset */ member
|
D | dp.c | 42 u32 segs, hdrlen, l3_offset, l4_offset; in nfp_nfdk_tx_tso() local 47 l3_offset = skb_network_offset(skb); in nfp_nfdk_tx_tso() 51 l3_offset = skb_inner_network_offset(skb); in nfp_nfdk_tx_tso() 59 txd.l3_offset = l3_offset; in nfp_nfdk_tx_tso()
|
/Linux-v6.1/drivers/net/ethernet/google/gve/ |
D | gve_desc.h | 46 u8 l3_offset; /* TSO: 2 byte units to start of IPH */ member
|
D | gve_tx.c | 422 seg_desc->seg.l3_offset = skb_network_offset(skb) >> 1; in gve_tx_fill_seg_desc()
|
/Linux-v6.1/drivers/net/ethernet/cavium/thunder/ |
D | q_struct.h | 541 u64 l3_offset:8; member 554 u64 l3_offset:8;
|
D | nicvf_queues.c | 1364 hdr->l3_offset = skb_network_offset(skb); in nicvf_sq_add_hdr_subdesc()
|
/Linux-v6.1/drivers/net/ethernet/cortina/ |
D | gemini.h | 617 unsigned int l3_offset:8; member
|