Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dfs_ttc.c336 int l4_type; in mlx5_fs_ttc_set_match_proto() local
340 l4_type = MLX5_PACKET_L4_TYPE_TCP; in mlx5_fs_ttc_set_match_proto()
342 l4_type = MLX5_PACKET_L4_TYPE_UDP; in mlx5_fs_ttc_set_match_proto()
344 MLX5_SET_TO_ONES(fte_match_set_lyr_2_4, headers_c, l4_type); in mlx5_fs_ttc_set_match_proto()
345 MLX5_SET(fte_match_set_lyr_2_4, headers_v, l4_type, l4_type); in mlx5_fs_ttc_set_match_proto()
558 MLX5_SET_TO_ONES(fte_match_param, mc, outer_headers.l4_type); in mlx5_create_ttc_table_groups()
567 MLX5_SET(fte_match_param, mc, outer_headers.l4_type, 0); in mlx5_create_ttc_table_groups()
732 MLX5_SET_TO_ONES(fte_match_param, mc, inner_headers.l4_type); in mlx5_create_inner_ttc_table_groups()
741 MLX5_SET(fte_match_param, mc, inner_headers.l4_type, 0); in mlx5_create_inner_ttc_table_groups()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H 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()
H A Ddr_ste_v1.c29 .l4_type = DR_STE_ACTION_MDFY_TYPE_L4_TCP,
33 .l4_type = DR_STE_ACTION_MDFY_TYPE_L4_TCP,
37 .l4_type = DR_STE_ACTION_MDFY_TYPE_L4_TCP,
49 .l4_type = DR_STE_ACTION_MDFY_TYPE_L4_UDP,
53 .l4_type = DR_STE_ACTION_MDFY_TYPE_L4_UDP,
H A Ddr_types.h1012 u8 l4_type;
1013 u8 l4_type; global() member
/linux/drivers/net/ethernet/cavium/thunder/
H A Dq_struct.h186 u64 l4_type:4; member
225 u64 l4_type:4;
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_qp.h164 enum hinic_l4_tunnel_type l4_type,
H 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/mellanox/mlx5/core/en/
H A Dxdp.c249 u32 hash_type, l4_type, ip_type, lookup; in mlx5e_xdp_rx_hash()
259 l4_type = FIELD_GET(CQE_RSS_HTYPE_L4, hash_type);
260 lookup = ip_type | l4_type; in mlx5e_xdp_rx_vlan_tag()
243 u32 hash_type, l4_type, ip_type, lookup; mlx5e_xdp_rx_hash() local
/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.c3949 int l3_type, l4_type; in hns3_rx_handle_csum()
3969 l4_type = hnae3_get_field(l234info, HNS3_RXD_L4ID_M, in hns3_rx_handle_csum()
3974 (l4_type == HNS3_L4_TYPE_UDP || in hns3_rx_checksum()
3975 l4_type == HNS3_L4_TYPE_TCP || in hns3_rx_checksum()
3976 l4_type == HNS3_L4_TYPE_SCTP)) in hns3_rx_checksum()
4265 int l4_type = hnae3_get_field(l234info, HNS3_RXD_L4ID_M, in hns3_set_rx_skb_rss_type()
4270 if (l4_type == HNS3_L4_TYPE_UDP || in hns3_handle_rx_ts_info()
4271 l4_type == HNS3_L4_TYPE_TCP || in hns3_handle_rx_ts_info()
4272 l4_type == HNS3_L4_TYPE_SCTP) in hns3_handle_rx_ts_info()
4274 else if (l4_type in hns3_handle_rx_ts_info()
3936 int l3_type, l4_type; hns3_rx_handle_csum() local
4252 int l4_type = hnae3_get_field(l234info, HNS3_RXD_L4ID_M, hns3_set_rx_skb_rss_type() local
[all...]
/linux/drivers/net/ethernet/google/gve/
H A Dgve_adminq.h475 u8 l4_type; member
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_txrx.c200 unsigned int l3_type, l4_type, l4len, hdrlen; in fbnic_tx_lso() local
230 l4_type = FBNIC_TWD_L4_TYPE_TCP; in fbnic_tx_lso()
236 l4_type = FBNIC_TWD_L4_TYPE_UDP; in fbnic_tx_lso()
243 FIELD_PREP(FBNIC_TWD_L4_TYPE_MASK, l4_type) | in fbnic_tx_lso()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Ddefiner.c729 if (HWS_IS_FLD_SET_SZ(match_param, outer_headers.l4_type, 0x2) || in hws_definer_conv_outer()
906 if (HWS_IS_FLD_SET_SZ(match_param, inner_headers.l4_type, 0x2) || in hws_definer_conv_inner()