Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Den_accel.h58 __be16 l3_proto; in mlx5e_tx_tunnel_accel() local
61 l3_proto = vlan_get_protocol(skb); in mlx5e_tx_tunnel_accel()
62 switch (l3_proto) { in mlx5e_tx_tunnel_accel()
76 swp_spec.l3_proto = l3_proto; in mlx5e_tx_tunnel_accel()
Dipsec_rxtx.c324 u8 l3_proto; in mlx5e_ipsec_tx_build_eseg() local
341 l3_proto = (x->props.family == AF_INET) ? in mlx5e_ipsec_tx_build_eseg()
350 eseg->trailer |= (l3_proto == IPPROTO_ESP) ? in mlx5e_ipsec_tx_build_eseg()
354 eseg->trailer |= (l3_proto == IPPROTO_ESP) ? in mlx5e_ipsec_tx_build_eseg()
/drivers/net/ethernet/intel/ice/
Dice_arfs.c359 ice_arfs_is_perfect_flow_set(struct ice_hw *hw, __be16 l3_proto, u8 l4_proto) in ice_arfs_is_perfect_flow_set() argument
367 if (l3_proto == htons(ETH_P_IP) && l4_proto == IPPROTO_UDP) in ice_arfs_is_perfect_flow_set()
369 else if (l3_proto == htons(ETH_P_IP) && l4_proto == IPPROTO_TCP) in ice_arfs_is_perfect_flow_set()
371 else if (l3_proto == htons(ETH_P_IPV6) && l4_proto == IPPROTO_UDP) in ice_arfs_is_perfect_flow_set()
373 else if (l3_proto == htons(ETH_P_IPV6) && l4_proto == IPPROTO_TCP) in ice_arfs_is_perfect_flow_set()
Dice_ethtool_fdir.c636 enum ice_flow_seg_hdr l3_proto, in ice_set_init_fdir_seg() argument
644 if (l3_proto == ICE_FLOW_SEG_HDR_IPV4) { in ice_set_init_fdir_seg()
647 } else if (l3_proto == ICE_FLOW_SEG_HDR_IPV6) { in ice_set_init_fdir_seg()
664 ICE_FLOW_SET_HDRS(seg, l3_proto | l4_proto); in ice_set_init_fdir_seg()
/drivers/net/ethernet/amazon/ena/
Dena_eth_com.h20 enum ena_eth_io_l3_proto_index l3_proto; member
39 enum ena_eth_io_l3_proto_index l3_proto; member
Dena_eth_com.c351 ena_rx_ctx->l3_proto = cdesc->status & in ena_com_rx_set_flags()
372 ena_rx_ctx->l3_proto, ena_rx_ctx->l4_proto, in ena_com_rx_set_flags()
474 desc->meta_ctrl |= ena_tx_ctx->l3_proto & in ena_com_prepare_tx()
Dena_netdev.c1567 if (unlikely((ena_rx_ctx->l3_proto == ENA_ETH_IO_L3_PROTO_IPV4) && in ena_rx_checksum()
1710 rx_ring->qid, ena_rx_ctx.descs, ena_rx_ctx.l3_proto, in ena_clean_rx_irq()
2924 ena_tx_ctx->l3_proto = ENA_ETH_IO_L3_PROTO_IPV4; in ena_tx_csum()
2932 ena_tx_ctx->l3_proto = ENA_ETH_IO_L3_PROTO_IPV6; in ena_tx_csum()
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtxrx.h382 __be16 l3_proto; member
404 if (swp_spec->l3_proto == htons(ETH_P_IPV6)) in mlx5e_set_eseg_swp()
418 if (swp_spec->l3_proto == htons(ETH_P_IPV6)) in mlx5e_set_eseg_swp()
/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c178 __be16 l3_proto; in qede_xmit_type() local
183 l3_proto = vlan_get_protocol(skb); in qede_xmit_type()
184 if (l3_proto == htons(ETH_P_IPV6) && in qede_xmit_type()
/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_txrx.c579 __be16 l3_proto = vlan_get_protocol(skb); in otx2_sqe_add_ext() local
591 if (l3_proto == htons(ETH_P_IP)) { in otx2_sqe_add_ext()
/drivers/net/ethernet/marvell/
Dmvneta.c1747 static u32 mvneta_txq_desc_csum(int l3_offs, int l3_proto, in mvneta_txq_desc_csum() argument
1759 if (l3_proto == htons(ETH_P_IP)) in mvneta_txq_desc_csum()
1921 __be16 l3_proto = vlan_get_protocol(skb); in mvneta_skb_tx_csum() local
1924 if (l3_proto == htons(ETH_P_IP)) { in mvneta_skb_tx_csum()
1930 } else if (l3_proto == htons(ETH_P_IPV6)) { in mvneta_skb_tx_csum()
1941 l3_proto, ip_hdr_len, l4_proto); in mvneta_skb_tx_csum()
/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c2580 static u32 mvpp2_txq_desc_csum(int l3_offs, __be16 l3_proto, in mvpp2_txq_desc_csum() argument
2592 if (l3_proto == htons(ETH_P_IP)) { in mvpp2_txq_desc_csum()
3610 __be16 l3_proto = vlan_get_protocol(skb); in mvpp2_skb_tx_csum() local
3612 if (l3_proto == htons(ETH_P_IP)) { in mvpp2_skb_tx_csum()
3618 } else if (l3_proto == htons(ETH_P_IPV6)) { in mvpp2_skb_tx_csum()
3630 l3_proto, ip_hdr_len, l4_proto); in mvpp2_skb_tx_csum()
/drivers/staging/qlge/
Dqlge_main.c2458 __be16 l3_proto = vlan_get_protocol(skb); in qlge_tso() local
2475 if (likely(l3_proto == htons(ETH_P_IP))) { in qlge_tso()
2484 } else if (l3_proto == htons(ETH_P_IPV6)) { in qlge_tso()