Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Den_accel.h55 __be16 l3_proto; in mlx5e_tx_tunnel_accel() local
58 l3_proto = vlan_get_protocol(skb); in mlx5e_tx_tunnel_accel()
59 switch (l3_proto) { in mlx5e_tx_tunnel_accel()
73 swp_spec.l3_proto = l3_proto; in mlx5e_tx_tunnel_accel()
Dipsec_rxtx.c150 swp_spec.l3_proto = skb->protocol; in mlx5e_ipsec_set_swp()
/Linux-v5.4/include/uapi/linux/
Datmsap.h114 unsigned char l3_proto; /* layer 3 protocol */ member
160 return blli.l2_proto || blli.l3_proto; in blli_in_use()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtxrx.h185 __be16 l3_proto; member
198 if (swp_spec->l3_proto == htons(ETH_P_IPV6)) in mlx5e_set_eseg_swp()
212 if (swp_spec->l3_proto == htons(ETH_P_IPV6)) in mlx5e_set_eseg_swp()
/Linux-v5.4/tools/testing/selftests/bpf/progs/
Dtest_xdp_vlan.c46 __u16 l3_proto; member
95 pkt->l3_proto = bpf_ntohs(eth_type); /* Convert to host-byte-order */ in parse_eth_frame()
/Linux-v5.4/drivers/net/ethernet/amazon/ena/
Dena_eth_com.h47 enum ena_eth_io_l3_proto_index l3_proto; member
66 enum ena_eth_io_l3_proto_index l3_proto; member
Dena_eth_com.c340 ena_rx_ctx->l3_proto = cdesc->status & in ena_com_rx_set_flags()
360 ena_rx_ctx->l3_proto, ena_rx_ctx->l4_proto, in ena_com_rx_set_flags()
455 desc->meta_ctrl |= ena_tx_ctx->l3_proto & in ena_com_prepare_tx()
Dena_netdev.c974 if (unlikely((ena_rx_ctx->l3_proto == ENA_ETH_IO_L3_PROTO_IPV4) && in ena_rx_checksum()
1082 rx_ring->qid, ena_rx_ctx.descs, ena_rx_ctx.l3_proto, in ena_clean_rx_irq()
2076 ena_tx_ctx->l3_proto = ENA_ETH_IO_L3_PROTO_IPV4; in ena_tx_csum()
2084 ena_tx_ctx->l3_proto = ENA_ETH_IO_L3_PROTO_IPV6; in ena_tx_csum()
/Linux-v5.4/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c203 __be16 l3_proto; in qede_xmit_type() local
208 l3_proto = vlan_get_protocol(skb); in qede_xmit_type()
209 if (l3_proto == htons(ETH_P_IPV6) && in qede_xmit_type()
/Linux-v5.4/drivers/net/ethernet/marvell/
Dmvneta.c1674 static u32 mvneta_txq_desc_csum(int l3_offs, int l3_proto, in mvneta_txq_desc_csum() argument
1686 if (l3_proto == htons(ETH_P_IP)) in mvneta_txq_desc_csum()
1840 __be16 l3_proto = vlan_get_protocol(skb); in mvneta_skb_tx_csum() local
1843 if (l3_proto == htons(ETH_P_IP)) { in mvneta_skb_tx_csum()
1849 } else if (l3_proto == htons(ETH_P_IPV6)) { in mvneta_skb_tx_csum()
1860 l3_proto, ip_hdr_len, l4_proto); in mvneta_skb_tx_csum()
/Linux-v5.4/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c2018 static u32 mvpp2_txq_desc_csum(int l3_offs, __be16 l3_proto, in mvpp2_txq_desc_csum() argument
2030 if (l3_proto == htons(ETH_P_IP)) { in mvpp2_txq_desc_csum()
2891 __be16 l3_proto = vlan_get_protocol(skb); in mvpp2_skb_tx_csum() local
2893 if (l3_proto == htons(ETH_P_IP)) { in mvpp2_skb_tx_csum()
2899 } else if (l3_proto == htons(ETH_P_IPV6)) { in mvpp2_skb_tx_csum()
2911 l3_proto, ip_hdr_len, l4_proto); in mvpp2_skb_tx_csum()
/Linux-v5.4/drivers/staging/qlge/
Dqlge_main.c2566 __be16 l3_proto = vlan_get_protocol(skb); in ql_tso() local
2583 if (likely(l3_proto == htons(ETH_P_IP))) { in ql_tso()
2591 } else if (l3_proto == htons(ETH_P_IPV6)) { in ql_tso()