| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
| D | post_act.c | 9 enum mlx5_flow_namespace_type ns_type; member 17 enum mlx5_flow_namespace_type ns_type; member 29 enum mlx5_flow_namespace_type ns_type) in mlx5e_tc_post_act_init() argument 34 if (ns_type == MLX5_FLOW_NAMESPACE_FDB && in mlx5e_tc_post_act_init() 57 post_act->ns_type = ns_type; in mlx5e_tc_post_act_init() 82 u32 attr_sz = ns_to_attr_sz(post_act->ns_type); in mlx5e_tc_post_act_add() 90 post_attr = mlx5_alloc_flow_attr(post_act->ns_type); in mlx5e_tc_post_act_add() 106 handle->ns_type = post_act->ns_type; in mlx5e_tc_post_act_add() 108 if (handle->ns_type == MLX5_FLOW_NAMESPACE_FDB) in mlx5e_tc_post_act_add() 163 return mlx5e_tc_match_to_reg_set(dev, acts, handle->ns_type, FTEID_TO_REG, handle->id); in mlx5e_tc_post_act_set_handle()
|
| D | post_act.h | 16 enum mlx5_flow_namespace_type ns_type);
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| D | tc_ct.c | 56 enum mlx5_flow_namespace_type ns_type; member 496 enum mlx5_flow_namespace_type ns = ct_priv->ns_type; in mlx5_tc_ct_entry_set_registers() 621 err = alloc_mod_hdr_actions(mdev, ct_priv->ns_type, in mlx5_tc_ct_entry_create_nat() 688 attr->modify_hdr = mlx5_modify_header_alloc(ct_priv->dev, ct_priv->ns_type, in mlx5_tc_ct_entry_create_mod_hdr() 700 ct_priv->ns_type, in mlx5_tc_ct_entry_create_mod_hdr() 747 attr = mlx5_alloc_flow_attr(ct_priv->ns_type); in mlx5_tc_ct_entry_add_rule() 770 if (ct_priv->ns_type == MLX5_FLOW_NAMESPACE_FDB) in mlx5_tc_ct_entry_add_rule() 1397 err = mlx5e_tc_match_to_reg_set(dev, &pre_mod_acts, ct_priv->ns_type, in tc_ct_pre_ct_add_rules() 1404 mod_hdr = mlx5_modify_header_alloc(dev, ct_priv->ns_type, in tc_ct_pre_ct_add_rules() 1491 ns = mlx5_get_flow_namespace(dev, ct_priv->ns_type); in mlx5_tc_ct_alloc_pre_ct() [all …]
|
| D | tc_ct.h | 95 enum mlx5_flow_namespace_type ns_type, 136 enum mlx5_flow_namespace_type ns_type, in mlx5_tc_ct_init() argument
|
| /Linux-v5.15/include/linux/mlx5/ |
| D | fs.h | 256 u8 ns_type, u8 num_actions, 271 enum mlx5_flow_namespace_type ns_type);
|
| /Linux-v5.15/drivers/infiniband/hw/mlx5/ |
| D | fs.c | 1306 switch (fs_matcher->ns_type) { in _get_flow_table() 1351 ns = mlx5_get_flow_namespace(dev->mdev, fs_matcher->ns_type); in _get_flow_table() 1355 switch (fs_matcher->ns_type) { in _get_flow_table() 1837 if (fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_BYPASS) { in get_dests() 1845 if (fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_FDB && !(dest_devx || in get_dests() 1850 if ((fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_RDMA_RX) && in get_dests() 1866 if ((fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_FDB || in get_dests() 1867 fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_RDMA_RX) && in get_dests() 1887 } else if ((fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_EGRESS || in get_dests() 1888 fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_RDMA_TX) && in get_dests() [all …]
|
| D | mlx5_ib.h | 254 enum mlx5_flow_namespace_type ns_type; member
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | fs_core.c | 3129 *get_root_namespace(struct mlx5_core_dev *dev, enum mlx5_flow_namespace_type ns_type) in get_root_namespace() argument 3133 if (ns_type == MLX5_FLOW_NAMESPACE_ESW_EGRESS || in get_root_namespace() 3134 ns_type == MLX5_FLOW_NAMESPACE_ESW_INGRESS) in get_root_namespace() 3135 ns = mlx5_get_flow_vport_acl_namespace(dev, ns_type, 0); in get_root_namespace() 3137 ns = mlx5_get_flow_namespace(dev, ns_type); in get_root_namespace() 3145 u8 ns_type, u8 num_actions, in mlx5_modify_header_alloc() argument 3152 root = get_root_namespace(dev, ns_type); in mlx5_modify_header_alloc() 3160 modify_hdr->ns_type = ns_type; in mlx5_modify_header_alloc() 3161 err = root->cmds->modify_header_alloc(root, ns_type, num_actions, in mlx5_modify_header_alloc() 3177 root = get_root_namespace(dev, modify_hdr->ns_type); in mlx5_modify_header_dealloc() [all …]
|
| D | fs_core.h | 53 enum mlx5_flow_namespace_type ns_type; member 61 enum mlx5_flow_namespace_type ns_type; member
|
| /Linux-v5.15/net/wireless/ |
| D | sysfs.c | 164 .ns_type = &net_ns_type_operations,
|
| /Linux-v5.15/include/linux/device/ |
| D | class.h | 70 const struct kobj_ns_type_operations *ns_type; member
|
| /Linux-v5.15/drivers/net/ |
| D | macvtap.c | 47 .ns_type = &net_ns_type_operations,
|
| /Linux-v5.15/drivers/net/ipvlan/ |
| D | ipvtap.c | 42 .ns_type = &net_ns_type_operations,
|
| /Linux-v5.15/drivers/base/ |
| D | class.c | 70 return class->ns_type; in class_child_ns_type()
|
| D | core.c | 2244 if (dev->class && dev->class->ns_type) in device_namespace() 2926 return dir->class->ns_type; in class_dir_child_ns_type() 2984 else if (parent->class && !dev->class->ns_type) in get_device_parent()
|
| /Linux-v5.15/net/core/ |
| D | net-sysfs.c | 975 if (dev->class && dev->class->ns_type) in rx_queue_namespace() 1576 if (dev->class && dev->class->ns_type) in netdev_queue_namespace() 1867 .ns_type = &net_ns_type_operations,
|
| /Linux-v5.15/drivers/infiniband/core/ |
| D | device.c | 538 .ns_type = &net_ns_type_operations,
|