Home
last modified time | relevance | path

Searched refs:flow_group_in (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Drdma.c34 u32 *flow_group_in; in mlx5_rdma_enable_roce_steering() local
42 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in mlx5_rdma_enable_roce_steering()
43 if (!flow_group_in) in mlx5_rdma_enable_roce_steering()
47 kvfree(flow_group_in); in mlx5_rdma_enable_roce_steering()
66 MLX5_SET(create_flow_group_in, flow_group_in, match_criteria_enable, in mlx5_rdma_enable_roce_steering()
68 match_criteria = MLX5_ADDR_OF(create_flow_group_in, flow_group_in, in mlx5_rdma_enable_roce_steering()
73 fg = mlx5_create_flow_group(ft, flow_group_in); in mlx5_rdma_enable_roce_steering()
99 kvfree(flow_group_in); in mlx5_rdma_enable_roce_steering()
112 kvfree(flow_group_in); in mlx5_rdma_enable_roce_steering()
Deswitch.c323 u32 *flow_group_in; in esw_create_legacy_fdb_table() local
336 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in esw_create_legacy_fdb_table()
337 if (!flow_group_in) in esw_create_legacy_fdb_table()
352 MLX5_SET(create_flow_group_in, flow_group_in, match_criteria_enable, in esw_create_legacy_fdb_table()
354 match_criteria = MLX5_ADDR_OF(create_flow_group_in, flow_group_in, match_criteria); in esw_create_legacy_fdb_table()
356 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, 0); in esw_create_legacy_fdb_table()
358 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, table_size - 3); in esw_create_legacy_fdb_table()
360 g = mlx5_create_flow_group(fdb, flow_group_in); in esw_create_legacy_fdb_table()
369 MLX5_SET(create_flow_group_in, flow_group_in, match_criteria_enable, in esw_create_legacy_fdb_table()
371 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, table_size - 2); in esw_create_legacy_fdb_table()
[all …]
Deswitch_offloads.c1022 u32 *flow_group_in) in esw_set_flow_group_source_port() argument
1025 flow_group_in, in esw_set_flow_group_source_port()
1029 MLX5_SET(create_flow_group_in, flow_group_in, in esw_set_flow_group_source_port()
1036 MLX5_SET(create_flow_group_in, flow_group_in, in esw_set_flow_group_source_port()
1050 u32 *flow_group_in, max_flow_counter; in esw_create_offloads_fdb_tables() local
1060 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in esw_create_offloads_fdb_tables()
1061 if (!flow_group_in) in esw_create_offloads_fdb_tables()
1126 MLX5_SET(create_flow_group_in, flow_group_in, match_criteria_enable, in esw_create_offloads_fdb_tables()
1129 match_criteria = MLX5_ADDR_OF(create_flow_group_in, flow_group_in, match_criteria); in esw_create_offloads_fdb_tables()
1135 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, 0); in esw_create_offloads_fdb_tables()
[all …]