Home
last modified time | relevance | path

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

/Linux-v4.19/samples/bpf/
Dxdp_redirect_cpu_kern.c113 u16 *eth_proto, u64 *l3_offset) in parse_eth() argument
150 *l3_offset = offset; in parse_eth()
330 u64 l3_offset = 0; in xdp_prognum3_proto_separate() local
342 if (!(parse_eth(eth, data_end, &eth_proto, &l3_offset))) in xdp_prognum3_proto_separate()
348 ip_proto = get_proto_ipv4(ctx, l3_offset); in xdp_prognum3_proto_separate()
351 ip_proto = get_proto_ipv6(ctx, l3_offset); in xdp_prognum3_proto_separate()
398 u64 l3_offset = 0; in xdp_prognum4_ddos_filter_pktgen() local
411 if (!(parse_eth(eth, data_end, &eth_proto, &l3_offset))) in xdp_prognum4_ddos_filter_pktgen()
417 ip_proto = get_proto_ipv4(ctx, l3_offset); in xdp_prognum4_ddos_filter_pktgen()
420 ip_proto = get_proto_ipv6(ctx, l3_offset); in xdp_prognum4_ddos_filter_pktgen()
[all …]
/Linux-v4.19/drivers/gpu/drm/i915/gvt/
Dmmio_context.c389 i915_reg_t offset, l3_offset; in switch_mocs() local
429 l3_offset.reg = 0xb020; in switch_mocs()
432 old_v = vgpu_vreg_t(pre, l3_offset); in switch_mocs()
436 new_v = vgpu_vreg_t(next, l3_offset); in switch_mocs()
441 I915_WRITE_FW(l3_offset, new_v); in switch_mocs()
443 l3_offset.reg += 4; in switch_mocs()
/Linux-v4.19/drivers/net/ethernet/cavium/thunder/
Dq_struct.h544 u64 l3_offset:8; member
557 u64 l3_offset:8;
Dnicvf_queues.c1367 hdr->l3_offset = skb_network_offset(skb); in nicvf_sq_add_hdr_subdesc()
/Linux-v4.19/drivers/net/ethernet/cortina/
Dgemini.h617 unsigned int l3_offset:8; member
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/
Dnfp_net.h183 u8 l3_offset; /* L3 header offset */ member
Dnfp_net_common.c695 txd->l3_offset = skb_network_offset(skb); in nfp_net_tx_tso()
699 txd->l3_offset = skb_inner_network_offset(skb); in nfp_net_tx_tso()