Searched refs:ns_type (Results 1 – 14 of 14) sorted by relevance
| /Linux-v5.4/drivers/infiniband/hw/mlx5/ |
| D | flow.c | 99 if (fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_BYPASS && in UVERBS_HANDLER() 104 if (fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_FDB && !dest_devx) in UVERBS_HANDLER() 108 if ((fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_RDMA_RX) && in UVERBS_HANDLER() 124 if ((fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_FDB || in UVERBS_HANDLER() 125 fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_RDMA_RX) && in UVERBS_HANDLER() 160 fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_EGRESS) in UVERBS_HANDLER() 250 err = mlx5_ib_ft_type_to_namespace(ft_type, &obj->ns_type); in mlx5_ib_matcher_ns() 267 &obj->ns_type); in mlx5_ib_matcher_ns() 272 obj->ns_type = MLX5_FLOW_NAMESPACE_BYPASS; in mlx5_ib_matcher_ns()
|
| D | main.c | 3951 if (fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_BYPASS) { in _get_flow_table() 3960 } else if (fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_EGRESS) { in _get_flow_table() 3965 } else if (fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_FDB) { in _get_flow_table() 3974 } else if (fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_RDMA_RX) { in _get_flow_table() 3983 ns = mlx5_get_flow_namespace(dev->mdev, fs_matcher->ns_type); in _get_flow_table() 3987 if (fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_BYPASS) in _get_flow_table() 3989 else if (fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_EGRESS) in _get_flow_table() 3991 else if (fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_FDB) in _get_flow_table() 3993 else if (fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_RDMA_RX) in _get_flow_table()
|
| D | mlx5_ib.h | 190 enum mlx5_flow_namespace_type ns_type; member
|
| /Linux-v5.4/include/linux/mlx5/ |
| D | fs.h | 240 u8 ns_type, u8 num_actions, 249 enum mlx5_flow_namespace_type ns_type);
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | fs_core.h | 43 enum mlx5_flow_namespace_type ns_type; member 51 enum mlx5_flow_namespace_type ns_type; member
|
| D | fs_core.c | 2896 *get_root_namespace(struct mlx5_core_dev *dev, enum mlx5_flow_namespace_type ns_type) in get_root_namespace() argument 2900 if (ns_type == MLX5_FLOW_NAMESPACE_ESW_EGRESS || in get_root_namespace() 2901 ns_type == MLX5_FLOW_NAMESPACE_ESW_INGRESS) in get_root_namespace() 2902 ns = mlx5_get_flow_vport_acl_namespace(dev, ns_type, 0); in get_root_namespace() 2904 ns = mlx5_get_flow_namespace(dev, ns_type); in get_root_namespace() 2912 u8 ns_type, u8 num_actions, in mlx5_modify_header_alloc() argument 2919 root = get_root_namespace(dev, ns_type); in mlx5_modify_header_alloc() 2927 modify_hdr->ns_type = ns_type; in mlx5_modify_header_alloc() 2928 err = root->cmds->modify_header_alloc(root, ns_type, num_actions, in mlx5_modify_header_alloc() 2944 root = get_root_namespace(dev, modify_hdr->ns_type); in mlx5_modify_header_dealloc() [all …]
|
| /Linux-v5.4/net/wireless/ |
| D | sysfs.c | 162 .ns_type = &net_ns_type_operations,
|
| /Linux-v5.4/drivers/net/ipvlan/ |
| D | ipvtap.c | 42 .ns_type = &net_ns_type_operations,
|
| /Linux-v5.4/drivers/net/ |
| D | macvtap.c | 47 .ns_type = &net_ns_type_operations,
|
| /Linux-v5.4/net/core/ |
| D | net-sysfs.c | 894 if (dev->class && dev->class->ns_type) in rx_queue_namespace() 1434 if (dev->class && dev->class->ns_type) in netdev_queue_namespace() 1661 .ns_type = &net_ns_type_operations,
|
| /Linux-v5.4/drivers/base/ |
| D | class.c | 69 return class->ns_type; in class_child_ns_type()
|
| D | core.c | 1113 if (dev->class && dev->class->ns_type) in device_namespace() 1748 return dir->class->ns_type; in class_dir_child_ns_type() 1806 else if (parent->class && !dev->class->ns_type) in get_device_parent()
|
| /Linux-v5.4/include/linux/ |
| D | device.h | 589 const struct kobj_ns_type_operations *ns_type; member
|
| /Linux-v5.4/drivers/infiniband/core/ |
| D | device.c | 539 .ns_type = &net_ns_type_operations,
|