Searched refs:root_ns (Results 1 – 10 of 10) sorted by relevance
| /drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| A D | fs_hws_pools.c | 80 struct mlx5_flow_root_namespace *root_ns; in mlx5_fs_pr_bulk_action_create() local 84 root_ns = mlx5_get_root_namespace(dev, MLX5_FLOW_NAMESPACE_FDB); in mlx5_fs_pr_bulk_action_create() 85 if (!root_ns || root_ns->mode != MLX5_FLOW_STEERING_MODE_HMFS) in mlx5_fs_pr_bulk_action_create() 88 ctx = root_ns->fs_hws_context.hws_ctx; in mlx5_fs_pr_bulk_action_create() 256 struct mlx5_flow_root_namespace *root_ns; in mlx5_fs_hws_mh_bulk_create() local 264 root_ns = mlx5_get_root_namespace(dev, MLX5_FLOW_NAMESPACE_FDB); in mlx5_fs_hws_mh_bulk_create() 265 if (!root_ns || root_ns->mode != MLX5_FLOW_STEERING_MODE_HMFS) in mlx5_fs_hws_mh_bulk_create() 268 ctx = root_ns->fs_hws_context.hws_ctx; in mlx5_fs_hws_mh_bulk_create()
|
| /drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | fs_core.c | 2776 root_ns = steering->root_ns; in mlx5_get_flow_namespace() 2781 if (!root_ns) in mlx5_get_flow_namespace() 3023 root_ns = kzalloc(sizeof(*root_ns), GFP_KERNEL); in create_root_ns() 3024 if (!root_ns) in create_root_ns() 3029 root_ns->cmds = cmds; in create_root_ns() 3033 ns = &root_ns->ns; in create_root_ns() 3039 return root_ns; in create_root_ns() 3120 if (!steering->root_ns) in init_root_ns() 3156 if (!root_ns) in cleanup_root_ns() 3272 set_prio_attrs(root_ns); in init_rdma_transport_rx_root_ns_one() [all …]
|
| A 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()
|
| A D | fs_core.h | 151 struct mlx5_flow_root_namespace *root_ns; member
|
| A D | eswitch_offloads.c | 1835 struct mlx5_flow_namespace *root_ns; in esw_create_offloads_fdb_tables() local 1846 root_ns = mlx5_get_flow_namespace(dev, MLX5_FLOW_NAMESPACE_FDB); in esw_create_offloads_fdb_tables() 1847 if (!root_ns) { in esw_create_offloads_fdb_tables() 1852 esw->fdb_table.offloads.ns = root_ns; in esw_create_offloads_fdb_tables() 1853 err = mlx5_flow_namespace_set_mode(root_ns, in esw_create_offloads_fdb_tables() 1885 fdb = mlx5_create_flow_table(root_ns, &ft_attr); in esw_create_offloads_fdb_tables() 1900 esw->fdb_table.offloads.tc_miss_table = mlx5_create_flow_table(root_ns, &ft_attr); in esw_create_offloads_fdb_tables() 1948 mlx5_flow_namespace_set_mode(root_ns, MLX5_FLOW_STEERING_MODE_DMFS); in esw_create_offloads_fdb_tables()
|
| /drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| A D | legacy.c | 26 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()
|
| A D | indir_table.c | 252 struct mlx5_flow_namespace *root_ns; in mlx5_esw_indir_table_entry_create() local 257 root_ns = mlx5_get_flow_namespace(esw->dev, MLX5_FLOW_NAMESPACE_FDB); in mlx5_esw_indir_table_entry_create() 258 if (!root_ns) in mlx5_esw_indir_table_entry_create() 270 ft = mlx5_create_flow_table(root_ns, &ft_attr); in mlx5_esw_indir_table_entry_create()
|
| /drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ |
| A D | helper.c | 13 struct mlx5_flow_namespace *root_ns; in esw_acl_table_create() local 30 root_ns = mlx5_get_flow_vport_namespace(dev, ns, vport->index); in esw_acl_table_create() 31 if (!root_ns) { in esw_acl_table_create() 40 acl = mlx5_create_vport_flow_table(root_ns, &ft_attr, vport_num); in esw_acl_table_create()
|
| /drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
| A D | post_meter.c | 63 struct mlx5_flow_namespace *root_ns; in mlx5e_post_meter_table_create() local 65 root_ns = mlx5_get_flow_namespace(priv->mdev, ns_type); in mlx5e_post_meter_table_create() 66 if (!root_ns) { in mlx5e_post_meter_table_create() 76 return mlx5_create_flow_table(root_ns, &ft_attr); in mlx5e_post_meter_table_create()
|
| A D | sample.c | 67 struct mlx5_flow_namespace *root_ns; in sampler_termtbl_create() local 76 root_ns = mlx5_get_flow_namespace(dev, MLX5_FLOW_NAMESPACE_FDB); in sampler_termtbl_create() 77 if (!root_ns) { in sampler_termtbl_create() 87 tc_psample->termtbl = mlx5_create_auto_grouped_flow_table(root_ns, &ft_attr); in sampler_termtbl_create()
|
Completed in 40 milliseconds