| /drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
| A D | post_act.c | 11 enum mlx5_flow_namespace_type ns_type; member 19 enum mlx5_flow_namespace_type ns_type; member 31 enum mlx5_flow_namespace_type ns_type) in mlx5e_tc_post_act_init() argument 33 enum fs_flow_table_type table_type = 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() 132 handle->ns_type = post_act->ns_type; in mlx5e_tc_post_act_add() 134 if (handle->ns_type == MLX5_FLOW_NAMESPACE_FDB) in mlx5e_tc_post_act_add() 180 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_meter.c | 60 enum mlx5_flow_namespace_type ns_type) in mlx5e_post_meter_table_create() argument 65 root_ns = mlx5_get_flow_namespace(priv->mdev, ns_type); in mlx5e_post_meter_table_create() 250 enum mlx5_flow_namespace_type ns_type, in mlx5e_post_meter_rate_create() argument 263 ft = mlx5e_post_meter_table_create(priv, ns_type); in mlx5e_post_meter_rate_create() 294 enum mlx5_flow_namespace_type ns_type, in mlx5e_post_meter_create_mtu_table() argument 306 table->ft = mlx5e_post_meter_table_create(priv, ns_type); in mlx5e_post_meter_create_mtu_table() 335 enum mlx5_flow_namespace_type ns_type, in mlx5e_post_meter_mtu_create() argument 365 err = mlx5e_post_meter_create_mtu_table(priv, ns_type, &mtu_tables->red_table); in mlx5e_post_meter_mtu_create() 394 enum mlx5_flow_namespace_type ns_type, in mlx5e_post_meter_init() argument 411 err = mlx5e_post_meter_mtu_create(priv, ns_type, post_act, in mlx5e_post_meter_init() [all …]
|
| A D | meter.c | 35 enum mlx5_flow_namespace_type ns_type; member 511 return flow_meters->ns_type; in mlx5e_tc_meter_get_namespace() 516 enum mlx5_flow_namespace_type ns_type, in mlx5e_flow_meters_init() argument 554 flow_meters->ns_type = ns_type; in mlx5e_flow_meters_init()
|
| A D | post_act.h | 16 enum mlx5_flow_namespace_type ns_type);
|
| A D | post_meter.h | 35 enum mlx5_flow_namespace_type ns_type,
|
| A D | meter.h | 66 enum mlx5_flow_namespace_type ns_type,
|
| /drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
| A D | vlan_mangle.c | 59 enum mlx5_flow_namespace_type ns_type; in tc_act_parse_vlan_mangle() local 62 ns_type = mlx5e_get_flow_namespace(parse_state->flow); in tc_act_parse_vlan_mangle() 63 err = mlx5e_tc_act_vlan_add_rewrite_action(priv, ns_type, act, attr->parse_attr, in tc_act_parse_vlan_mangle() 68 if (ns_type == MLX5_FLOW_NAMESPACE_FDB) { in tc_act_parse_vlan_mangle()
|
| A D | act.c | 54 enum mlx5_flow_namespace_type ns_type) in mlx5e_tc_act_get() argument 58 tc_acts = ns_type == MLX5_FLOW_NAMESPACE_FDB ? tc_acts_fdb : tc_acts_nic; in mlx5e_tc_act_get() 89 enum mlx5_flow_namespace_type ns_type) in mlx5e_tc_act_post_parse() argument 104 tc_act = mlx5e_tc_act_get(act->id, ns_type); in mlx5e_tc_act_post_parse()
|
| A D | pedit.c | 90 enum mlx5_flow_namespace_type ns_type; in tc_act_parse_pedit() local 93 ns_type = mlx5e_get_flow_namespace(flow); in tc_act_parse_pedit() 95 err = mlx5e_tc_act_pedit_parse_action(flow->priv, act, ns_type, attr->parse_attr->hdrs, in tc_act_parse_pedit() 102 if (ns_type == MLX5_FLOW_NAMESPACE_FDB) { in tc_act_parse_pedit()
|
| A D | act.h | 100 enum mlx5_flow_namespace_type ns_type); 112 enum mlx5_flow_namespace_type ns_type);
|
| /drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
| A D | tc.c | 554 enum mlx5_flow_namespace_type ns_type; in mlx5e_rep_indr_replace_act() local 567 ns_type = MLX5_FLOW_NAMESPACE_FDB; in mlx5e_rep_indr_replace_act() 569 ns_type = MLX5_FLOW_NAMESPACE_KERNEL; in mlx5e_rep_indr_replace_act() 592 enum mlx5_flow_namespace_type ns_type; in mlx5e_rep_indr_destroy_act() local 596 ns_type = MLX5_FLOW_NAMESPACE_FDB; in mlx5e_rep_indr_destroy_act() 598 ns_type = MLX5_FLOW_NAMESPACE_KERNEL; in mlx5e_rep_indr_destroy_act() 600 act = mlx5e_tc_act_get(fl_act->id, ns_type); in mlx5e_rep_indr_destroy_act() 614 enum mlx5_flow_namespace_type ns_type; in mlx5e_rep_indr_stats_act() local 618 ns_type = MLX5_FLOW_NAMESPACE_FDB; in mlx5e_rep_indr_stats_act() 620 ns_type = MLX5_FLOW_NAMESPACE_KERNEL; in mlx5e_rep_indr_stats_act() [all …]
|
| /drivers/infiniband/hw/mlx5/ |
| A D | fs.c | 1902 enum mlx5_flow_namespace_type ns_type, in _get_flow_table() argument 1923 switch (ns_type) { in _get_flow_table() 1993 ns = mlx5_get_flow_namespace(ft_mdev, ns_type); in _get_flow_table() 1998 switch (ns_type) { in _get_flow_table() 2149 fs_matcher->ns_type, mcast, in raw_fs_rule_add() 2574 enum mlx5_flow_namespace_type ns_type) in steering_anchor_create_ft() argument 2583 ns = mlx5_get_flow_namespace(dev->mdev, ns_type); in steering_anchor_create_ft() 2756 enum mlx5_flow_namespace_type ns_type) in steering_anchor_create_res() argument 2879 &obj->ns_type); in mlx5_ib_matcher_ns() 2882 obj->ns_type = MLX5_FLOW_NAMESPACE_BYPASS; in mlx5_ib_matcher_ns() [all …]
|
| /drivers/net/ethernet/mellanox/mlx5/core/en/ |
| A D | tc_ct.c | 78 enum mlx5_flow_namespace_type ns_type; member 772 ct_priv->ns_type, in mlx5_tc_ct_entry_create_mod_hdr() 819 attr = mlx5_alloc_flow_attr(ct_priv->ns_type); in mlx5_tc_ct_entry_add_rule() 848 if (ct_priv->ns_type == MLX5_FLOW_NAMESPACE_FDB) in mlx5_tc_ct_entry_add_rule() 894 old_attr = mlx5_alloc_flow_attr(ct_priv->ns_type); in mlx5_tc_ct_entry_update_rule() 2012 ct_priv->ns_type, ZONE_TO_REG, zone); in __mlx5_tc_ct_flow_offload() 2100 if (ct_priv->ns_type == MLX5_FLOW_NAMESPACE_FDB) { in mlx5_tc_ct_fs_init() 2168 enum mlx5_flow_namespace_type ns_type, in mlx5_tc_ct_init_check_support() argument 2185 if (ns_type == MLX5_FLOW_NAMESPACE_FDB) in mlx5_tc_ct_init_check_support() 2287 enum mlx5_flow_namespace_type ns_type, in mlx5_tc_ct_init() argument [all …]
|
| A D | tc_ct.h | 99 enum mlx5_flow_namespace_type ns_type, 139 enum mlx5_flow_namespace_type ns_type, in mlx5_tc_ct_init() argument
|
| /drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | fs_core.h | 54 enum mlx5_flow_namespace_type ns_type; member 65 enum mlx5_flow_namespace_type ns_type; member 75 enum mlx5_flow_namespace_type ns_type; member
|
| A D | fs_core.c | 4063 if (ns_type == MLX5_FLOW_NAMESPACE_ESW_EGRESS || in mlx5_get_root_namespace() 4064 ns_type == MLX5_FLOW_NAMESPACE_ESW_INGRESS || in mlx5_get_root_namespace() 4069 ns = mlx5_get_flow_namespace(dev, ns_type); in mlx5_get_root_namespace() 4077 u8 ns_type, u8 num_actions, in mlx5_modify_header_alloc() argument 4084 root = mlx5_get_root_namespace(dev, ns_type); in mlx5_modify_header_alloc() 4092 modify_hdr->ns_type = ns_type; in mlx5_modify_header_alloc() 4119 enum mlx5_flow_namespace_type ns_type) in mlx5_packet_reformat_alloc() argument 4125 root = mlx5_get_root_namespace(dev, ns_type); in mlx5_packet_reformat_alloc() 4133 pkt_reformat->ns_type = ns_type; in mlx5_packet_reformat_alloc() 4173 root = mlx5_get_root_namespace(dev, ns_type); in mlx5_create_match_definer() [all …]
|
| A D | en_tc.c | 443 enum mlx5_flow_namespace_type ns_type; in mlx5e_tc_add_flow_meter() local 3632 enum mlx5_flow_namespace_type ns_type; in actions_prepare_mod_hdr_actions() local 3639 ns_type = mlx5e_get_flow_namespace(flow); in actions_prepare_mod_hdr_actions() 3652 if (ns_type != MLX5_FLOW_NAMESPACE_FDB) in actions_prepare_mod_hdr_actions() 3664 enum mlx5_flow_namespace_type ns_type) in mlx5e_clone_flow_attr_for_post_act() argument 3667 u32 attr_sz = ns_to_attr_sz(ns_type); in mlx5e_clone_flow_attr_for_post_act() 3670 attr2 = mlx5_alloc_flow_attr(ns_type); in mlx5e_clone_flow_attr_for_post_act() 3691 if (ns_type == MLX5_FLOW_NAMESPACE_FDB) { in mlx5e_clone_flow_attr_for_post_act() 4020 enum mlx5_flow_namespace_type ns_type; in parse_tc_actions() local 4028 ns_type = mlx5e_get_flow_namespace(flow); in parse_tc_actions() [all …]
|
| A D | en_fs.c | 903 ttc_params->ns_type = MLX5_FLOW_NAMESPACE_KERNEL; in mlx5e_set_inner_ttc_params() 926 ttc_params->ns_type = MLX5_FLOW_NAMESPACE_KERNEL; in mlx5e_set_ttc_params()
|
| /drivers/base/ |
| A D | class.c | 115 return class->ns_type; in class_child_ns_type() 186 if (cls->ns_type && !cls->namespace) { in class_register() 191 if (!cls->ns_type && cls->namespace) { in class_register()
|
| /drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| A D | fs_ttc.c | 640 switch (params->ns_type) { in mlx5_create_inner_ttc_table() 657 ns = mlx5_get_flow_namespace(dev, params->ns_type); in mlx5_create_inner_ttc_table() 718 switch (params->ns_type) { in mlx5_create_ttc_table() 735 ns = mlx5_get_flow_namespace(dev, params->ns_type); in mlx5_create_ttc_table()
|
| A D | fs_ttc.h | 43 enum mlx5_flow_namespace_type ns_type; member
|
| /drivers/net/ipvlan/ |
| A D | ipvtap.c | 41 .ns_type = &net_ns_type_operations,
|
| /drivers/net/ |
| A D | macvtap.c | 46 .ns_type = &net_ns_type_operations,
|
| /drivers/net/ethernet/mellanox/mlx5/core/lag/ |
| A D | port_sel.c | 471 ttc_params->ns_type = MLX5_FLOW_NAMESPACE_PORT_SEL; in mlx5_lag_set_inner_ttc_params() 490 ttc_params->ns_type = MLX5_FLOW_NAMESPACE_PORT_SEL; in mlx5_lag_set_outer_ttc_params()
|
| /drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| A D | fs_hws.c | 1544 enum mlx5_flow_namespace_type ns_type = pkt_reformat->ns_type; in mlx5_fs_hws_action_get_pkt_reformat_id() local 1567 ns = mlx5_get_root_namespace(dev, ns_type); in mlx5_fs_hws_action_get_pkt_reformat_id() 1578 packet_reformat_alloc(ns, ¶ms, ns_type, &fw_pkt_reformat); in mlx5_fs_hws_action_get_pkt_reformat_id()
|