Searched refs:ste_attr (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
H A D | mlx5hws_rule.c | 94 struct mlx5hws_send_ste_attr *ste_attr) in hws_rule_move_get_rtc() argument 99 ste_attr->rtc_0 = dst_matcher->match_ste.rtc_0_id; in hws_rule_move_get_rtc() 100 ste_attr->retry_rtc_0 = dst_matcher->col_matcher ? in hws_rule_move_get_rtc() 104 ste_attr->rtc_1 = dst_matcher->match_ste.rtc_1_id; in hws_rule_move_get_rtc() 105 ste_attr->retry_rtc_1 = dst_matcher->col_matcher ? in hws_rule_move_get_rtc() 132 struct mlx5hws_send_ste_attr *ste_attr, in hws_rule_save_resize_info() argument 155 memcpy(rule->resize_info->ctrl_seg, ste_attr->wqe_ctrl, in hws_rule_save_resize_info() 157 memcpy(rule->resize_info->data_seg, ste_attr->wqe_data, in hws_rule_save_resize_info() 172 struct mlx5hws_send_ste_attr *ste_attr) in hws_rule_save_delete_info() argument 181 memcpy(&rule->tag.jumbo, ste_attr->wqe_data->jumbo, MLX5HWS_JUMBO_TAG_SZ); in hws_rule_save_delete_info() [all …]
|
H A D | mlx5hws_send.c | 28 struct mlx5hws_send_ste_attr ste_attr = {0}; in mlx5hws_send_all_dep_wqe() local 31 ste_attr.send_attr.opmod = MLX5HWS_WQE_GTA_OPMOD_STE; in mlx5hws_send_all_dep_wqe() 32 ste_attr.send_attr.opcode = MLX5HWS_WQE_OPCODE_TBL_ACCESS; in mlx5hws_send_all_dep_wqe() 33 ste_attr.send_attr.len = MLX5HWS_WQE_SZ_GTA_CTRL + MLX5HWS_WQE_SZ_GTA_DATA; in mlx5hws_send_all_dep_wqe() 34 ste_attr.gta_opcode = MLX5HWS_WQE_GTA_OP_ACTIVATE; in mlx5hws_send_all_dep_wqe() 37 ste_attr.send_attr.fence = 1; in mlx5hws_send_all_dep_wqe() 43 ste_attr.send_attr.notify_hw = (send_sq->tail_dep_idx == send_sq->head_dep_idx); in mlx5hws_send_all_dep_wqe() 44 ste_attr.send_attr.user_data = dep_wqe->user_data; in mlx5hws_send_all_dep_wqe() 45 ste_attr.send_attr.rule = dep_wqe->rule; in mlx5hws_send_all_dep_wqe() 47 ste_attr.rtc_0 = dep_wqe->rtc_0; in mlx5hws_send_all_dep_wqe() [all …]
|
H A D | mlx5hws_action.c | 1707 struct mlx5hws_send_ste_attr ste_attr = {0}; in hws_action_create_dest_match_range_fill_table() local 1721 ste_attr.gta_opcode = MLX5HWS_WQE_GTA_OP_ACTIVATE; in hws_action_create_dest_match_range_fill_table() 1722 ste_attr.send_attr.opmod = MLX5HWS_WQE_GTA_OPMOD_STE; in hws_action_create_dest_match_range_fill_table() 1723 ste_attr.send_attr.opcode = MLX5HWS_WQE_OPCODE_TBL_ACCESS; in hws_action_create_dest_match_range_fill_table() 1724 ste_attr.send_attr.len = MLX5HWS_WQE_SZ_GTA_CTRL + MLX5HWS_WQE_SZ_GTA_DATA; in hws_action_create_dest_match_range_fill_table() 1725 ste_attr.send_attr.user_data = &no_use; in hws_action_create_dest_match_range_fill_table() 1726 ste_attr.send_attr.rule = NULL; in hws_action_create_dest_match_range_fill_table() 1727 ste_attr.send_attr.fence = 1; in hws_action_create_dest_match_range_fill_table() 1728 ste_attr.send_attr.notify_hw = true; in hws_action_create_dest_match_range_fill_table() 1729 ste_attr.rtc_0 = table_ste->rtc_0_id; in hws_action_create_dest_match_range_fill_table() [all …]
|
H A D | mlx5hws_send.h | 222 struct mlx5hws_send_ste_attr *ste_attr); 226 struct mlx5hws_send_ste_attr *ste_attr);
|
H A D | mlx5hws_pool.c | 39 struct mlx5hws_cmd_ste_create_attr ste_attr; in hws_pool_create_one_resource() local 51 ste_attr.log_obj_range = log_range; in hws_pool_create_one_resource() 52 ste_attr.table_type = fw_ft_type; in hws_pool_create_one_resource() 53 ret = mlx5hws_cmd_ste_create(pool->ctx->mdev, &ste_attr, &obj_id); in hws_pool_create_one_resource()
|
H A D | mlx5hws_cmd.h | 285 struct mlx5hws_cmd_ste_create_attr *ste_attr,
|
H A D | mlx5hws_cmd.c | 720 struct mlx5hws_cmd_ste_create_attr *ste_attr, in mlx5hws_cmd_ste_create() argument 734 attr, op_param.create.log_obj_range, ste_attr->log_obj_range); in mlx5hws_cmd_ste_create() 737 MLX5_SET(ste, attr, table_type, ste_attr->table_type); in mlx5hws_cmd_ste_create()
|