Searched refs:l3_offset (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.4/samples/bpf/ |
D | xdp_redirect_cpu_kern.c | 113 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, ð_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, ð_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-v5.4/drivers/gpu/drm/i915/gvt/ |
D | mmio_context.c | 395 i915_reg_t offset, l3_offset; in switch_mocs() local 435 l3_offset.reg = 0xb020; in switch_mocs() 438 old_v = vgpu_vreg_t(pre, l3_offset); in switch_mocs() 442 new_v = vgpu_vreg_t(next, l3_offset); in switch_mocs() 447 I915_WRITE_FW(l3_offset, new_v); in switch_mocs() 449 l3_offset.reg += 4; in switch_mocs()
|
/Linux-v5.4/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-v5.4/drivers/net/ethernet/google/gve/ |
D | gve_desc.h | 36 u8 l3_offset; /* TSO: 2 byte units to start of IPH */ member
|
D | gve_tx.c | 386 seg_desc->seg.l3_offset = skb_network_offset(skb) >> 1; in gve_tx_fill_seg_desc()
|
/Linux-v5.4/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-v5.4/drivers/net/ethernet/cortina/ |
D | gemini.h | 617 unsigned int l3_offset:8; member
|
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net.h | 156 u8 l3_offset; /* L3 header offset */ member
|
D | nfp_net_common.c | 730 u32 l3_offset, l4_offset, hdrlen; in nfp_net_tx_tso() local 737 l3_offset = skb_network_offset(skb); in nfp_net_tx_tso() 741 l3_offset = skb_inner_network_offset(skb); in nfp_net_tx_tso() 751 txd->l3_offset = l3_offset - md_bytes; in nfp_net_tx_tso()
|