Home
last modified time | relevance | path

Searched refs:l3_offset (Results 1 – 14 of 14) sorted by relevance

/linux-5.19.10/samples/bpf/
Dxdp_redirect_cpu.bpf.c53 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, &eth_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, &eth_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-5.19.10/drivers/gpu/drm/i915/gvt/
Dmmio_context.c409 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-5.19.10/tools/testing/selftests/bpf/progs/
Dtest_xdp_vlan.c47 __u16 l3_offset; member
96 pkt->l3_offset = offset; in parse_eth_frame()
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/crypto/
Dtls.c484 iph = pkt + req->l3_offset; in nfp_net_tls_rx_resync_req()
485 ipv6h = pkt + req->l3_offset; in nfp_net_tls_rx_resync_req()
490 req->l3_offset, req->l4_offset, pkt_len); in nfp_net_tls_rx_resync_req()
511 req->l3_offset, req->l4_offset, iph->version); in nfp_net_tls_rx_resync_req()
Dfw.h15 u8 l3_offset; member
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/nfd3/
Dnfd3.h41 u8 l3_offset; /* L3 header offset */ member
Ddp.c75 u32 l3_offset, l4_offset, hdrlen; in nfp_nfd3_tx_tso() local
82 l3_offset = skb_network_offset(skb); in nfp_nfd3_tx_tso()
86 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-5.19.10/drivers/net/ethernet/netronome/nfp/nfdk/
Dnfdk.h58 u8 l3_offset; /* L3 header offset */ member
Ddp.c42 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()
71 txd.l3_offset = l3_offset; in nfp_nfdk_tx_tso()
/linux-5.19.10/drivers/net/ethernet/google/gve/
Dgve_desc.h46 u8 l3_offset; /* TSO: 2 byte units to start of IPH */ member
Dgve_tx.c422 seg_desc->seg.l3_offset = skb_network_offset(skb) >> 1; in gve_tx_fill_seg_desc()
/linux-5.19.10/drivers/net/ethernet/cavium/thunder/
Dq_struct.h541 u64 l3_offset:8; member
554 u64 l3_offset:8;
Dnicvf_queues.c1364 hdr->l3_offset = skb_network_offset(skb); in nicvf_sq_add_hdr_subdesc()
/linux-5.19.10/drivers/net/ethernet/cortina/
Dgemini.h617 unsigned int l3_offset:8; member