/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
A D | post_act.c | 10 enum mlx5_flow_namespace_type ns_type; member 18 enum mlx5_flow_namespace_type ns_type; member 30 enum mlx5_flow_namespace_type ns_type) in mlx5e_tc_post_act_init() argument 32 enum fs_flow_table_type table_type = ns_type == MLX5_FLOW_NAMESPACE_FDB ? in mlx5e_tc_post_act_init() 56 post_act->ns_type = ns_type; in mlx5e_tc_post_act_init() 81 u32 attr_sz = ns_to_attr_sz(post_act->ns_type); in mlx5e_tc_post_act_add() 89 post_attr = mlx5_alloc_flow_attr(post_act->ns_type); in mlx5e_tc_post_act_add() 105 handle->ns_type = post_act->ns_type; in mlx5e_tc_post_act_add() 107 if (handle->ns_type == MLX5_FLOW_NAMESPACE_FDB) in mlx5e_tc_post_act_add() 162 return mlx5e_tc_match_to_reg_set(dev, acts, handle->ns_type, FTEID_TO_REG, handle->id); in mlx5e_tc_post_act_set_handle()
|
A D | post_act.h | 16 enum mlx5_flow_namespace_type ns_type);
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | tc_ct.c | 56 enum mlx5_flow_namespace_type ns_type; member 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() 1757 u32 attr_sz = ns_to_attr_sz(ct_priv->ns_type); in __mlx5_tc_ct_flow_offload() 1837 ct_priv->ns_type, in __mlx5_tc_ct_flow_offload() 1896 u32 attr_sz = ns_to_attr_sz(ct_priv->ns_type); in __mlx5_tc_ct_flow_offload_clear() 2049 enum mlx5_flow_namespace_type ns_type, in mlx5_tc_ct_init_check_support() argument 2073 if (ns_type == MLX5_FLOW_NAMESPACE_FDB) in mlx5_tc_ct_init_check_support() 2087 enum mlx5_flow_namespace_type ns_type, in mlx5_tc_ct_init() argument [all …]
|
A D | tc_ct.h | 95 enum mlx5_flow_namespace_type ns_type, 137 enum mlx5_flow_namespace_type ns_type, in mlx5_tc_ct_init() argument
|
/linux/include/linux/mlx5/ |
A D | fs.h | 264 u8 ns_type, u8 num_actions, 270 enum mlx5_flow_namespace_type ns_type, u16 format_id, 286 enum mlx5_flow_namespace_type ns_type);
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | fs_core.h | 53 enum mlx5_flow_namespace_type ns_type; member 58 enum mlx5_flow_namespace_type ns_type; member 66 enum mlx5_flow_namespace_type ns_type; member
|
A D | fs_core.c | 3197 if (ns_type == MLX5_FLOW_NAMESPACE_ESW_EGRESS || in get_root_namespace() 3198 ns_type == MLX5_FLOW_NAMESPACE_ESW_INGRESS) in get_root_namespace() 3201 ns = mlx5_get_flow_namespace(dev, ns_type); in get_root_namespace() 3209 u8 ns_type, u8 num_actions, in mlx5_modify_header_alloc() argument 3216 root = get_root_namespace(dev, ns_type); in mlx5_modify_header_alloc() 3224 modify_hdr->ns_type = ns_type; in mlx5_modify_header_alloc() 3251 enum mlx5_flow_namespace_type ns_type) in mlx5_packet_reformat_alloc() argument 3257 root = get_root_namespace(dev, ns_type); in mlx5_packet_reformat_alloc() 3265 pkt_reformat->ns_type = ns_type; in mlx5_packet_reformat_alloc() 3305 root = get_root_namespace(dev, ns_type); in mlx5_create_match_definer() [all …]
|
A D | en_tc.c | 3475 enum mlx5_flow_namespace_type ns_type; in actions_prepare_mod_hdr_actions() local 3482 ns_type = get_flow_name_space(flow); in actions_prepare_mod_hdr_actions() 3484 err = alloc_tc_pedit_action(priv, ns_type, parse_attr, hdrs, in actions_prepare_mod_hdr_actions() 3496 if (ns_type != MLX5_FLOW_NAMESPACE_FDB) in actions_prepare_mod_hdr_actions()
|
/linux/drivers/infiniband/hw/mlx5/ |
A D | fs.c | 1493 switch (fs_matcher->ns_type) { in _get_flow_table() 1542 switch (fs_matcher->ns_type) { in _get_flow_table() 2024 if (fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_BYPASS) { in get_dests() 2037 if ((fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_RDMA_RX) && in get_dests() 2053 if ((fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_FDB || in get_dests() 2075 fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_RDMA_TX) && in get_dests() 2081 (fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_EGRESS || in get_dests() 2082 fs_matcher->ns_type == MLX5_FLOW_NAMESPACE_RDMA_TX)) in get_dests() 2271 &obj->ns_type); in mlx5_ib_matcher_ns() 2276 obj->ns_type = MLX5_FLOW_NAMESPACE_BYPASS; in mlx5_ib_matcher_ns() [all …]
|
A D | mlx5_ib.h | 254 enum mlx5_flow_namespace_type ns_type; member
|
/linux/net/wireless/ |
A D | sysfs.c | 164 .ns_type = &net_ns_type_operations,
|
/linux/include/linux/device/ |
A D | class.h | 70 const struct kobj_ns_type_operations *ns_type; member
|
/linux/drivers/net/ipvlan/ |
A D | ipvtap.c | 42 .ns_type = &net_ns_type_operations,
|
/linux/drivers/net/ |
A D | macvtap.c | 47 .ns_type = &net_ns_type_operations,
|
/linux/drivers/base/ |
A D | class.c | 70 return class->ns_type; in class_child_ns_type()
|
A D | core.c | 2242 if (dev->class && dev->class->ns_type) in device_namespace() 2924 return dir->class->ns_type; in class_dir_child_ns_type() 2982 else if (parent->class && !dev->class->ns_type) in get_device_parent()
|
/linux/net/core/ |
A D | net-sysfs.c | 1024 if (dev->class && dev->class->ns_type) in rx_queue_namespace() 1631 if (dev->class && dev->class->ns_type) in netdev_queue_namespace() 1922 .ns_type = &net_ns_type_operations,
|
/linux/drivers/infiniband/core/ |
A D | device.c | 538 .ns_type = &net_ns_type_operations,
|