Home
last modified time | relevance | path

Searched refs:l4_type (Results 1 – 22 of 22) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
A Ddr_ste_v2.c60 .l4_type = DR_STE_ACTION_MDFY_TYPE_L4_TCP,
64 .l4_type = DR_STE_ACTION_MDFY_TYPE_L4_TCP,
68 .l4_type = DR_STE_ACTION_MDFY_TYPE_L4_TCP,
80 .l4_type = DR_STE_ACTION_MDFY_TYPE_L4_UDP,
84 .l4_type = DR_STE_ACTION_MDFY_TYPE_L4_UDP,
A Dmlx5_ifc_dr_ste_v1.h212 u8 l4_type[0x2]; member
246 u8 l4_type[0x2]; member
330 u8 l4_type[0x2]; member
A Dmlx5_ifc_dr.h175 u8 l4_type[0x2]; member
208 u8 l4_type[0x2]; member
287 u8 l4_type[0x2]; member
A Ddr_action.c1923 u32 l4_type = 0; in dr_actions_convert_modify_header() local
1970 if (l4_type && hw_dst_action_info->l4_type && in dr_actions_convert_modify_header()
1971 hw_dst_action_info->l4_type != l4_type) { in dr_actions_convert_modify_header()
1975 if (hw_dst_action_info->l4_type) in dr_actions_convert_modify_header()
1976 l4_type = hw_dst_action_info->l4_type; in dr_actions_convert_modify_header()
A Ddr_ste_v0.c135 .l4_type = DR_STE_ACTION_MDFY_TYPE_L4_TCP,
139 .l4_type = DR_STE_ACTION_MDFY_TYPE_L4_TCP,
143 .l4_type = DR_STE_ACTION_MDFY_TYPE_L4_TCP,
155 .l4_type = DR_STE_ACTION_MDFY_TYPE_L4_UDP,
159 .l4_type = DR_STE_ACTION_MDFY_TYPE_L4_UDP,
A Ddr_ste_v1.c159 .l4_type = DR_STE_ACTION_MDFY_TYPE_L4_TCP,
163 .l4_type = DR_STE_ACTION_MDFY_TYPE_L4_TCP,
167 .l4_type = DR_STE_ACTION_MDFY_TYPE_L4_TCP,
179 .l4_type = DR_STE_ACTION_MDFY_TYPE_L4_UDP,
183 .l4_type = DR_STE_ACTION_MDFY_TYPE_L4_UDP,
A Ddr_types.h1013 u8 l4_type; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Dfs_ttc.c244 int l4_type; in mlx5_fs_ttc_set_match_proto() local
248 l4_type = MLX5_PACKET_L4_TYPE_TCP; in mlx5_fs_ttc_set_match_proto()
250 l4_type = MLX5_PACKET_L4_TYPE_UDP; in mlx5_fs_ttc_set_match_proto()
252 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, headers_c, l4_type); in mlx5_fs_ttc_set_match_proto()
253 MLX5_SET(fte_match_set_lyr_2_4, headers_v, l4_type, l4_type); in mlx5_fs_ttc_set_match_proto()
398 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.l4_type); in mlx5_create_ttc_table_groups()
407 MLX5_SET(fte_match_param, mc, outer_headers.l4_type, 0); in mlx5_create_ttc_table_groups()
559 MLX5_SET_TO_ONES(fte_match_param, mc, inner_headers.l4_type); in mlx5_create_inner_ttc_table_groups()
568 MLX5_SET(fte_match_param, mc, inner_headers.l4_type, 0); in mlx5_create_inner_ttc_table_groups()
/linux/drivers/infiniband/hw/hfi1/
A Dvnic_main.c338 int l4_type, vesw_id = -1, rc; in hfi1_vnic_bypass_rcv() local
342 l4_type = hfi1_16B_get_l4(packet->ebuf); in hfi1_vnic_bypass_rcv()
343 if (likely(l4_type == OPA_16B_L4_ETHR)) { in hfi1_vnic_bypass_rcv()
365 l4_type, vesw_id, packet->rcd->ctxt); in hfi1_vnic_bypass_rcv()
/linux/drivers/infiniband/ulp/opa_vnic/
A Dopa_vnic_encap.c75 u8 l4_type, u16 l4_hdr) in opa_vnic_make_header() argument
80 h[2] = l4_type; in opa_vnic_make_header()
/linux/drivers/net/ethernet/huawei/hinic/
A Dhinic_hw_qp.h164 enum hinic_l4_tunnel_type l4_type,
A Dhinic_hw_qp.c529 enum hinic_l4_tunnel_type l4_type, in hinic_task_set_tunnel_l4() argument
532 task->pkt_info2 |= HINIC_SQ_TASK_INFO2_SET(l4_type, TUNNEL_L4TYPE) | in hinic_task_set_tunnel_l4()
/linux/drivers/net/ethernet/cavium/thunder/
A Dq_struct.h186 u64 l4_type:4; member
225 u64 l4_type:4;
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dxdp.c242 u32 hash_type, l4_type, ip_type, lookup; in mlx5e_xdp_rx_hash() local
252 l4_type = FIELD_GET(CQE_RSS_HTYPE_L4, hash_type); in mlx5e_xdp_rx_hash()
253 lookup = ip_type | l4_type; in mlx5e_xdp_rx_hash()
/linux/drivers/net/ethernet/google/gve/
A Dgve_rx_dqo.c624 switch (ptype.l4_type) { in gve_rx_skb_csum()
642 if (ptype.l4_type != GVE_L4_TYPE_UNKNOWN) in gve_rx_skb_hash()
873 if (ptype.l4_type != GVE_L4_TYPE_TCP) in gve_rx_complete_rsc()
A Dgve_adminq.h450 u8 l4_type; member
A Dgve_adminq.c1233 ptype_lut->ptypes[i].l4_type = in gve_adminq_get_ptype_map_dqo()
1234 ptype_map->ptypes[i].l4_type; in gve_adminq_get_ptype_map_dqo()
A Dgve.h639 u8 l4_type; /* `gve_l4_type` in gve_adminq.h */ member
/linux/drivers/net/ethernet/hisilicon/hns3/
A Dhns3_enet.c3887 int l3_type, l4_type; in hns3_rx_handle_csum() local
3907 l4_type = hnae3_get_field(l234info, HNS3_RXD_L4ID_M, in hns3_rx_handle_csum()
3912 (l4_type == HNS3_L4_TYPE_UDP || in hns3_rx_handle_csum()
3913 l4_type == HNS3_L4_TYPE_TCP || in hns3_rx_handle_csum()
3914 l4_type == HNS3_L4_TYPE_SCTP)) in hns3_rx_handle_csum()
4203 int l4_type = hnae3_get_field(l234info, HNS3_RXD_L4ID_M, in hns3_set_rx_skb_rss_type() local
4208 if (l4_type == HNS3_L4_TYPE_UDP || in hns3_set_rx_skb_rss_type()
4209 l4_type == HNS3_L4_TYPE_TCP || in hns3_set_rx_skb_rss_type()
4210 l4_type == HNS3_L4_TYPE_SCTP) in hns3_set_rx_skb_rss_type()
4212 else if (l4_type == HNS3_L4_TYPE_IGMP || in hns3_set_rx_skb_rss_type()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
A Dmlx5hws_definer.h297 u8 l4_type[0x4]; member
A Dmlx5hws_definer.c516 if (HWS_IS_FLD_SET_SZ(match_param, outer_headers.l4_type, 0x2) || in hws_definer_conv_outer()
672 if (HWS_IS_FLD_SET_SZ(match_param, inner_headers.l4_type, 0x2) || in hws_definer_conv_inner()
/linux/include/linux/mlx5/
A Dmlx5_ifc.h580 u8 l4_type[0x2]; member

Completed in 164 milliseconds