/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_ct.c | 57 enum mlx5_flow_namespace_type ns_type; member 454 enum mlx5_flow_namespace_type ns = ct_priv->ns_type; in mlx5_tc_ct_entry_set_registers() 579 err = alloc_mod_hdr_actions(mdev, ct_priv->ns_type, in mlx5_tc_ct_entry_create_nat() 646 ct_priv->ns_type, in mlx5_tc_ct_entry_create_mod_hdr() 681 attr = mlx5_alloc_flow_attr(ct_priv->ns_type); in mlx5_tc_ct_entry_add_rule() 1181 err = mlx5e_tc_match_to_reg_set(dev, &pre_mod_acts, ct_priv->ns_type, in tc_ct_pre_ct_add_rules() 1188 mod_hdr = mlx5_modify_header_alloc(dev, ct_priv->ns_type, in tc_ct_pre_ct_add_rules() 1276 ns = mlx5_get_flow_namespace(dev, ct_priv->ns_type); in mlx5_tc_ct_alloc_pre_ct() 1288 ft_attr.prio = ct_priv->ns_type == MLX5_FLOW_NAMESPACE_FDB ? in mlx5_tc_ct_alloc_pre_ct() 1519 u32 attr_sz = ns_to_attr_sz(ct_priv->ns_type); in __mlx5_tc_ct_flow_offload() [all …]
|
D | tc_ct.h | 98 enum mlx5_flow_namespace_type ns_type); 138 enum mlx5_flow_namespace_type ns_type) in mlx5_tc_ct_init() argument
|
/Linux-v5.10/include/linux/mlx5/ |
D | fs.h | 252 u8 ns_type, u8 num_actions, 261 enum mlx5_flow_namespace_type ns_type);
|
/Linux-v5.10/drivers/infiniband/hw/mlx5/ |
D | fs.c | 1307 switch (fs_matcher->ns_type) { in _get_flow_table() 1352 ns = mlx5_get_flow_namespace(dev->mdev, fs_matcher->ns_type); in _get_flow_table() 1356 switch (fs_matcher->ns_type) { in _get_flow_table() 1838 if (fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_BYPASS) { in get_dests() 1846 if (fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_FDB && !(dest_devx || in get_dests() 1851 if ((fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_RDMA_RX) && in get_dests() 1867 if ((fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_FDB || in get_dests() 1868 fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_RDMA_RX) && in get_dests() 1888 } else if (fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_EGRESS || in get_dests() 1889 fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_RDMA_TX) { in get_dests() [all …]
|
D | mlx5_ib.h | 186 enum mlx5_flow_namespace_type ns_type; member
|
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fs_core.h | 53 enum mlx5_flow_namespace_type ns_type; member 61 enum mlx5_flow_namespace_type ns_type; member
|
D | fs_core.c | 3106 *get_root_namespace(struct mlx5_core_dev *dev, enum mlx5_flow_namespace_type ns_type) in get_root_namespace() argument 3110 if (ns_type == MLX5_FLOW_NAMESPACE_ESW_EGRESS || in get_root_namespace() 3111 ns_type == MLX5_FLOW_NAMESPACE_ESW_INGRESS) in get_root_namespace() 3112 ns = mlx5_get_flow_vport_acl_namespace(dev, ns_type, 0); in get_root_namespace() 3114 ns = mlx5_get_flow_namespace(dev, ns_type); in get_root_namespace() 3122 u8 ns_type, u8 num_actions, in mlx5_modify_header_alloc() argument 3129 root = get_root_namespace(dev, ns_type); in mlx5_modify_header_alloc() 3137 modify_hdr->ns_type = ns_type; in mlx5_modify_header_alloc() 3138 err = root->cmds->modify_header_alloc(root, ns_type, num_actions, in mlx5_modify_header_alloc() 3154 root = get_root_namespace(dev, modify_hdr->ns_type); in mlx5_modify_header_dealloc() [all …]
|
/Linux-v5.10/net/wireless/ |
D | sysfs.c | 162 .ns_type = &net_ns_type_operations,
|
/Linux-v5.10/include/linux/device/ |
D | class.h | 70 const struct kobj_ns_type_operations *ns_type; member
|
/Linux-v5.10/drivers/net/ |
D | macvtap.c | 47 .ns_type = &net_ns_type_operations,
|
/Linux-v5.10/drivers/net/ipvlan/ |
D | ipvtap.c | 42 .ns_type = &net_ns_type_operations,
|
/Linux-v5.10/drivers/base/ |
D | class.c | 70 return class->ns_type; in class_child_ns_type()
|
D | core.c | 1818 if (dev->class && dev->class->ns_type) in device_namespace() 2464 return dir->class->ns_type; in class_dir_child_ns_type() 2522 else if (parent->class && !dev->class->ns_type) in get_device_parent()
|
/Linux-v5.10/net/core/ |
D | net-sysfs.c | 935 if (dev->class && dev->class->ns_type) in rx_queue_namespace() 1519 if (dev->class && dev->class->ns_type) in netdev_queue_namespace() 1810 .ns_type = &net_ns_type_operations,
|
/Linux-v5.10/drivers/infiniband/core/ |
D | device.c | 535 .ns_type = &net_ns_type_operations,
|