Searched refs:l3_proto (Results 1 – 12 of 12) sorted by relevance
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| D | en_accel.h | 55 __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()
|
| D | ipsec_rxtx.c | 150 swp_spec.l3_proto = skb->protocol; in mlx5e_ipsec_set_swp()
|
| /Linux-v5.4/include/uapi/linux/ |
| D | atmsap.h | 114 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/ |
| D | txrx.h | 185 __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/ |
| D | test_xdp_vlan.c | 46 __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/ |
| D | ena_eth_com.h | 47 enum ena_eth_io_l3_proto_index l3_proto; member 66 enum ena_eth_io_l3_proto_index l3_proto; member
|
| D | ena_eth_com.c | 340 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()
|
| D | ena_netdev.c | 974 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/ |
| D | qede_fp.c | 203 __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/ |
| D | mvneta.c | 1674 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/ |
| D | mvpp2_main.c | 2018 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/ |
| D | qlge_main.c | 2566 __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()
|