Home
last modified time | relevance | path

Searched refs:ns_type (Results 1 – 17 of 17) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_ct.c57 enum mlx5_flow_namespace_type ns_type; member
495 enum mlx5_flow_namespace_type ns = ct_priv->ns_type; in mlx5_tc_ct_entry_set_registers()
620 err = alloc_mod_hdr_actions(mdev, ct_priv->ns_type, in mlx5_tc_ct_entry_create_nat()
687 ct_priv->ns_type, in mlx5_tc_ct_entry_create_mod_hdr()
722 attr = mlx5_alloc_flow_attr(ct_priv->ns_type); in mlx5_tc_ct_entry_add_rule()
1351 err = mlx5e_tc_match_to_reg_set(dev, &pre_mod_acts, ct_priv->ns_type, in tc_ct_pre_ct_add_rules()
1358 mod_hdr = mlx5_modify_header_alloc(dev, ct_priv->ns_type, in tc_ct_pre_ct_add_rules()
1446 ns = mlx5_get_flow_namespace(dev, ct_priv->ns_type); in mlx5_tc_ct_alloc_pre_ct()
1458 ft_attr.prio = ct_priv->ns_type == MLX5_FLOW_NAMESPACE_FDB ? in mlx5_tc_ct_alloc_pre_ct()
1691 u32 attr_sz = ns_to_attr_sz(ct_priv->ns_type); in __mlx5_tc_ct_flow_offload()
[all …]
H A Dtc_ct.h98 enum mlx5_flow_namespace_type ns_type);
138 enum mlx5_flow_namespace_type ns_type) in mlx5_tc_ct_init() argument
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/arpa/
H A Dnameser.h128 #define ns_rr_type(rr) ((ns_type)((rr).type + 0))
321 } ns_type; typedef
406 ns_class, ns_type, unsigned long,
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/arpa/
H A Dnameser.h128 #define ns_rr_type(rr) ((ns_type)((rr).type + 0))
321 } ns_type; typedef
406 ns_class, ns_type, unsigned long,
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mlx5/
H A Dfs.c1307 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 …]
H A Dmlx5_ib.h186 enum mlx5_flow_namespace_type ns_type; member
/OK3568_Linux_fs/kernel/include/linux/mlx5/
H A Dfs.h252 u8 ns_type, u8 num_actions,
261 enum mlx5_flow_namespace_type ns_type);
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_core.c3144 *get_root_namespace(struct mlx5_core_dev *dev, enum mlx5_flow_namespace_type ns_type) in get_root_namespace() argument
3148 if (ns_type == MLX5_FLOW_NAMESPACE_ESW_EGRESS || in get_root_namespace()
3149 ns_type == MLX5_FLOW_NAMESPACE_ESW_INGRESS) in get_root_namespace()
3150 ns = mlx5_get_flow_vport_acl_namespace(dev, ns_type, 0); in get_root_namespace()
3152 ns = mlx5_get_flow_namespace(dev, ns_type); in get_root_namespace()
3160 u8 ns_type, u8 num_actions, in mlx5_modify_header_alloc() argument
3167 root = get_root_namespace(dev, ns_type); in mlx5_modify_header_alloc()
3175 modify_hdr->ns_type = ns_type; in mlx5_modify_header_alloc()
3176 err = root->cmds->modify_header_alloc(root, ns_type, num_actions, in mlx5_modify_header_alloc()
3192 root = get_root_namespace(dev, modify_hdr->ns_type); in mlx5_modify_header_dealloc()
[all …]
H A Dfs_core.h53 enum mlx5_flow_namespace_type ns_type; member
61 enum mlx5_flow_namespace_type ns_type; member
/OK3568_Linux_fs/kernel/net/wireless/
H A Dsysfs.c162 .ns_type = &net_ns_type_operations,
/OK3568_Linux_fs/kernel/include/linux/device/
H A Dclass.h71 const struct kobj_ns_type_operations *ns_type; member
/OK3568_Linux_fs/kernel/drivers/net/
H A Dmacvtap.c47 .ns_type = &net_ns_type_operations,
/OK3568_Linux_fs/kernel/drivers/net/ipvlan/
H A Dipvtap.c42 .ns_type = &net_ns_type_operations,
/OK3568_Linux_fs/kernel/drivers/base/
H A Dclass.c70 return class->ns_type; in class_child_ns_type()
H A Dcore.c2131 if (dev->class && dev->class->ns_type) in device_namespace()
2776 return dir->class->ns_type; in class_dir_child_ns_type()
2834 else if (parent->class && !dev->class->ns_type) in get_device_parent()
/OK3568_Linux_fs/kernel/net/core/
H A Dnet-sysfs.c984 if (dev->class && dev->class->ns_type) in rx_queue_namespace()
1615 if (dev->class && dev->class->ns_type) in netdev_queue_namespace()
1909 .ns_type = &net_ns_type_operations,
/OK3568_Linux_fs/kernel/drivers/infiniband/core/
H A Ddevice.c535 .ns_type = &net_ns_type_operations,