Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/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-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_xdp_vlan.c47 __u16 l3_offset; member
96 pkt->l3_offset = offset; in parse_eth_frame()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/crypto/
Dtls.c485 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()
Dfw.h15 u8 l3_offset; member
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/nfd3/
Dnfd3.h41 u8 l3_offset; /* L3 header offset */ member
Ddp.c76 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-6.1.9/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()
59 txd.l3_offset = l3_offset; in nfp_nfdk_tx_tso()
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/net/ethernet/cortina/
Dgemini.h617 unsigned int l3_offset:8; member