Searched refs:root_ns (Results 1 – 6 of 6) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ |
D | helper.c | 12 struct mlx5_flow_namespace *root_ns; in esw_acl_table_create() local 29 root_ns = mlx5_get_flow_vport_acl_namespace(dev, ns, vport_index); in esw_acl_table_create() 30 if (!root_ns) { in esw_acl_table_create() 36 acl = mlx5_create_vport_flow_table(root_ns, 0, size, 0, vport_num); in esw_acl_table_create()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fs_core.c | 277 static void cleanup_root_ns(struct mlx5_flow_root_namespace *root_ns); 2267 struct mlx5_flow_root_namespace *root_ns; in mlx5_get_flow_namespace() local 2294 root_ns = steering->egress_root_ns; in mlx5_get_flow_namespace() 2297 root_ns = steering->rdma_rx_root_ns; in mlx5_get_flow_namespace() 2300 root_ns = steering->rdma_rx_root_ns; in mlx5_get_flow_namespace() 2303 root_ns = steering->rdma_tx_root_ns; in mlx5_get_flow_namespace() 2305 root_ns = steering->root_ns; in mlx5_get_flow_namespace() 2309 if (!root_ns) in mlx5_get_flow_namespace() 2312 fs_prio = find_prio(&root_ns->ns, prio); in mlx5_get_flow_namespace() 2513 struct mlx5_flow_root_namespace *root_ns; in del_sw_root_ns() local [all …]
|
D | eswitch_offloads_termtbl.c | 69 struct mlx5_flow_namespace *root_ns; in mlx5_eswitch_termtbl_create() local 72 root_ns = mlx5_get_flow_namespace(dev, MLX5_FLOW_NAMESPACE_FDB); in mlx5_eswitch_termtbl_create() 73 if (!root_ns) { in mlx5_eswitch_termtbl_create() 87 tt->termtbl = mlx5_create_auto_grouped_flow_table(root_ns, &ft_attr); in mlx5_eswitch_termtbl_create()
|
D | eswitch.c | 291 struct mlx5_flow_namespace *root_ns; in esw_create_legacy_vepa_table() local 295 root_ns = mlx5_get_fdb_sub_ns(dev, 0); in esw_create_legacy_vepa_table() 296 if (!root_ns) { in esw_create_legacy_vepa_table() 305 fdb = mlx5_create_auto_grouped_flow_table(root_ns, &ft_attr); in esw_create_legacy_vepa_table() 321 struct mlx5_flow_namespace *root_ns; in esw_create_legacy_fdb_table() local 333 root_ns = mlx5_get_fdb_sub_ns(dev, 0); in esw_create_legacy_fdb_table() 334 if (!root_ns) { in esw_create_legacy_fdb_table() 346 fdb = mlx5_create_flow_table(root_ns, &ft_attr); in esw_create_legacy_fdb_table()
|
D | fs_core.h | 122 struct mlx5_flow_root_namespace *root_ns; member
|
D | eswitch_offloads.c | 1296 struct mlx5_flow_namespace *root_ns; in esw_create_offloads_fdb_tables() local 1310 root_ns = mlx5_get_flow_namespace(dev, MLX5_FLOW_NAMESPACE_FDB); in esw_create_offloads_fdb_tables() 1311 if (!root_ns) { in esw_create_offloads_fdb_tables() 1316 esw->fdb_table.offloads.ns = root_ns; in esw_create_offloads_fdb_tables() 1317 err = mlx5_flow_namespace_set_mode(root_ns, in esw_create_offloads_fdb_tables() 1338 fdb = mlx5_create_flow_table(root_ns, &ft_attr); in esw_create_offloads_fdb_tables() 1447 mlx5_flow_namespace_set_mode(root_ns, MLX5_FLOW_STEERING_MODE_DMFS); in esw_create_offloads_fdb_tables()
|