Home
last modified time | relevance | path

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

/linux/samples/bpf/
A Dxdp_redirect_cpu.bpf.c53 u16 *eth_proto, u64 *l3_offset) in parse_eth() argument
92 *l3_offset = offset; in parse_eth()
266 u64 l3_offset = 0; in xdp_prognum3_proto_separate() local
282 ip_proto = get_proto_ipv4(ctx, l3_offset); in xdp_prognum3_proto_separate()
285 ip_proto = get_proto_ipv6(ctx, l3_offset); in xdp_prognum3_proto_separate()
332 u64 l3_offset = 0; in xdp_prognum4_ddos_filter_pktgen() local
349 ip_proto = get_proto_ipv4(ctx, l3_offset); in xdp_prognum4_ddos_filter_pktgen()
352 ip_proto = get_proto_ipv6(ctx, l3_offset); in xdp_prognum4_ddos_filter_pktgen()
448 u64 l3_offset = 0; in xdp_prognum5_lb_hash_ip_pairs() local
471 cpu_hash = get_ipv4_hash_ip_pair(ctx, l3_offset); in xdp_prognum5_lb_hash_ip_pairs()
[all …]
/linux/drivers/gpu/drm/i915/gvt/
A Dmmio_context.c407 i915_reg_t offset, l3_offset; in switch_mocs() local
438 l3_offset.reg = 0xb020; in switch_mocs()
441 old_v = vgpu_vreg_t(pre, l3_offset); in switch_mocs()
445 new_v = vgpu_vreg_t(next, l3_offset); in switch_mocs()
450 intel_uncore_write_fw(uncore, l3_offset, new_v); in switch_mocs()
452 l3_offset.reg += 4; in switch_mocs()
/linux/tools/testing/selftests/bpf/progs/
A Dtest_xdp_vlan.c47 __u16 l3_offset; member
96 pkt->l3_offset = offset; in parse_eth_frame()
/linux/drivers/net/ethernet/netronome/nfp/crypto/
A 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()
A Dfw.h15 u8 l3_offset; member
/linux/drivers/net/ethernet/google/gve/
A Dgve_desc.h38 u8 l3_offset; /* TSO: 2 byte units to start of IPH */ member
A Dgve_tx.c406 seg_desc->seg.l3_offset = skb_network_offset(skb) >> 1; in gve_tx_fill_seg_desc()
/linux/drivers/net/ethernet/cavium/thunder/
A Dq_struct.h541 u64 l3_offset:8; member
554 u64 l3_offset:8;
A Dnicvf_queues.c1363 hdr->l3_offset = skb_network_offset(skb); in nicvf_sq_add_hdr_subdesc()
/linux/drivers/net/ethernet/cortina/
A Dgemini.h617 unsigned int l3_offset:8; member
/linux/drivers/net/ethernet/netronome/nfp/
A Dnfp_net.h157 u8 l3_offset; /* L3 header offset */ member
A Dnfp_net_common.c737 u32 l3_offset, l4_offset, hdrlen; in nfp_net_tx_tso() local
744 l3_offset = skb_network_offset(skb); in nfp_net_tx_tso()
748 l3_offset = skb_inner_network_offset(skb); in nfp_net_tx_tso()
758 txd->l3_offset = l3_offset - md_bytes; in nfp_net_tx_tso()

Completed in 36 milliseconds