Home
last modified time | relevance | path

Searched refs:root_ns (Results 1 – 8 of 8) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Dhelper.c13 struct mlx5_flow_namespace *root_ns; in esw_acl_table_create() local
30 root_ns = mlx5_get_flow_vport_acl_namespace(dev, ns, vport->index); in esw_acl_table_create()
31 if (!root_ns) { in esw_acl_table_create()
39 acl = mlx5_create_vport_flow_table(root_ns, &ft_attr, vport_num); in esw_acl_table_create()
/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dlegacy.c26 struct mlx5_flow_namespace *root_ns; in esw_create_legacy_vepa_table() local
30 root_ns = mlx5_get_fdb_sub_ns(dev, 0); in esw_create_legacy_vepa_table()
31 if (!root_ns) { in esw_create_legacy_vepa_table()
40 fdb = mlx5_create_auto_grouped_flow_table(root_ns, &ft_attr); in esw_create_legacy_vepa_table()
77 struct mlx5_flow_namespace *root_ns; in esw_create_legacy_fdb_table() local
89 root_ns = mlx5_get_fdb_sub_ns(dev, 0); in esw_create_legacy_fdb_table()
90 if (!root_ns) { in esw_create_legacy_fdb_table()
101 fdb = mlx5_create_flow_table(root_ns, &ft_attr); in esw_create_legacy_fdb_table()
Dindir_table.c386 struct mlx5_flow_namespace *root_ns; in mlx5_esw_indir_table_entry_create() local
391 root_ns = mlx5_get_flow_namespace(esw->dev, MLX5_FLOW_NAMESPACE_FDB); in mlx5_esw_indir_table_entry_create()
392 if (!root_ns) in mlx5_esw_indir_table_entry_create()
404 ft = mlx5_create_flow_table(root_ns, &ft_attr); in mlx5_esw_indir_table_entry_create()
/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_core.c278 static void cleanup_root_ns(struct mlx5_flow_root_namespace *root_ns);
2275 struct mlx5_flow_root_namespace *root_ns; in mlx5_get_flow_namespace() local
2302 root_ns = steering->egress_root_ns; in mlx5_get_flow_namespace()
2305 root_ns = steering->rdma_rx_root_ns; in mlx5_get_flow_namespace()
2308 root_ns = steering->rdma_rx_root_ns; in mlx5_get_flow_namespace()
2311 root_ns = steering->rdma_tx_root_ns; in mlx5_get_flow_namespace()
2313 root_ns = steering->root_ns; in mlx5_get_flow_namespace()
2317 if (!root_ns) in mlx5_get_flow_namespace()
2320 fs_prio = find_prio(&root_ns->ns, prio); in mlx5_get_flow_namespace()
2523 struct mlx5_flow_root_namespace *root_ns; in del_sw_root_ns() local
[all …]
Deswitch_offloads_termtbl.c69 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()
Dfs_core.h122 struct mlx5_flow_root_namespace *root_ns; member
Deswitch_offloads.c1590 struct mlx5_flow_namespace *root_ns; in esw_create_offloads_fdb_tables() local
1603 root_ns = mlx5_get_flow_namespace(dev, MLX5_FLOW_NAMESPACE_FDB); in esw_create_offloads_fdb_tables()
1604 if (!root_ns) { in esw_create_offloads_fdb_tables()
1609 esw->fdb_table.offloads.ns = root_ns; in esw_create_offloads_fdb_tables()
1610 err = mlx5_flow_namespace_set_mode(root_ns, in esw_create_offloads_fdb_tables()
1642 fdb = mlx5_create_flow_table(root_ns, &ft_attr); in esw_create_offloads_fdb_tables()
1657 esw->fdb_table.offloads.tc_miss_table = mlx5_create_flow_table(root_ns, &ft_attr); in esw_create_offloads_fdb_tables()
1815 mlx5_flow_namespace_set_mode(root_ns, MLX5_FLOW_STEERING_MODE_DMFS); in esw_create_offloads_fdb_tables()
/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dsample.c68 struct mlx5_flow_namespace *root_ns; in sampler_termtbl_create() local
77 root_ns = mlx5_get_flow_namespace(dev, MLX5_FLOW_NAMESPACE_FDB); in sampler_termtbl_create()
78 if (!root_ns) { in sampler_termtbl_create()
88 tc_psample->termtbl = mlx5_create_auto_grouped_flow_table(root_ns, &ft_attr); in sampler_termtbl_create()