Home
last modified time | relevance | path

Searched refs:flow_table_context (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_cmd.c239 output->level = MLX5_GET(query_flow_table_out, out, flow_table_context.level); in mlx5dr_cmd_query_flow_table()
242 flow_table_context.sws.sw_owner_icm_root_1); in mlx5dr_cmd_query_flow_table()
244 flow_table_context.sws.sw_owner_icm_root_0); in mlx5dr_cmd_query_flow_table()
460 ft_mdev = MLX5_ADDR_OF(create_flow_table_in, in, flow_table_context); in mlx5dr_cmd_create_flow_table()
461 MLX5_SET(flow_table_context, ft_mdev, termination_table, attr->term_tbl); in mlx5dr_cmd_create_flow_table()
462 MLX5_SET(flow_table_context, ft_mdev, sw_owner, attr->sw_owner); in mlx5dr_cmd_create_flow_table()
463 MLX5_SET(flow_table_context, ft_mdev, level, attr->level); in mlx5dr_cmd_create_flow_table()
470 MLX5_SET64(flow_table_context, ft_mdev, in mlx5dr_cmd_create_flow_table()
473 MLX5_SET64(flow_table_context, ft_mdev, in mlx5dr_cmd_create_flow_table()
476 MLX5_SET64(flow_table_context, ft_mdev, in mlx5dr_cmd_create_flow_table()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_cmd.c304 MLX5_SET(create_flow_table_in, in, flow_table_context.level, ft->level); in mlx5_cmd_create_flow_table()
305 MLX5_SET(create_flow_table_in, in, flow_table_context.log_size, size ? ilog2(size) : 0); in mlx5_cmd_create_flow_table()
314 MLX5_SET(create_flow_table_in, in, flow_table_context.decap_en, in mlx5_cmd_create_flow_table()
316 MLX5_SET(create_flow_table_in, in, flow_table_context.reformat_en, in mlx5_cmd_create_flow_table()
318 MLX5_SET(create_flow_table_in, in, flow_table_context.termination_table, in mlx5_cmd_create_flow_table()
325 flow_table_context.table_miss_action, in mlx5_cmd_create_flow_table()
328 flow_table_context.table_miss_id, next_ft->id); in mlx5_cmd_create_flow_table()
331 flow_table_context.table_miss_action, in mlx5_cmd_create_flow_table()
340 flow_table_context.lag_master_next_table_id, in mlx5_cmd_create_flow_table()
400 flow_table_context.lag_master_next_table_id, next_ft->id); in mlx5_cmd_modify_flow_table()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dcmd.c60 ft_ctx = MLX5_ADDR_OF(create_flow_table_in, in, flow_table_context); in mlx5hws_cmd_flow_table_create()
61 MLX5_SET(flow_table_context, ft_ctx, level, ft_attr->level); in mlx5hws_cmd_flow_table_create()
62 MLX5_SET(flow_table_context, ft_ctx, rtc_valid, ft_attr->rtc_valid); in mlx5hws_cmd_flow_table_create()
63 MLX5_SET(flow_table_context, ft_ctx, reformat_en, ft_attr->reformat_en); in mlx5hws_cmd_flow_table_create()
64 MLX5_SET(flow_table_context, ft_ctx, decap_en, ft_attr->decap_en); in mlx5hws_cmd_flow_table_create()
87 ft_ctx = MLX5_ADDR_OF(modify_flow_table_in, in, flow_table_context); in mlx5hws_cmd_flow_table_modify()
89 MLX5_SET(flow_table_context, ft_ctx, table_miss_action, ft_attr->table_miss_action); in mlx5hws_cmd_flow_table_modify()
90 MLX5_SET(flow_table_context, ft_ctx, table_miss_id, ft_attr->table_miss_id); in mlx5hws_cmd_flow_table_modify()
91 MLX5_SET(flow_table_context, ft_ctx, hws.rtc_id_0, ft_attr->rtc_id_0); in mlx5hws_cmd_flow_table_modify()
92 MLX5_SET(flow_table_context, ft_ctx, hws.rtc_id_1, ft_attr->rtc_id_1); in mlx5hws_cmd_flow_table_modify()
[all …]
/linux/include/linux/mlx5/
H A Dmlx5_ifc.h6531 struct mlx5_ifc_flow_table_context_bits flow_table_context; member
9561 struct mlx5_ifc_flow_table_context_bits flow_table_context; member
11956 struct mlx5_ifc_flow_table_context_bits flow_table_context; member