/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
D | sample.c | 76 root_ns = mlx5_get_flow_namespace(dev, MLX5_FLOW_NAMESPACE_FDB); in sampler_termtbl_create() 239 err = mlx5e_tc_match_to_reg_set(mdev, mod_acts, MLX5_FLOW_NAMESPACE_FDB, in sample_modify_hdr_get() 244 modify_hdr = mlx5_modify_header_alloc(mdev, MLX5_FLOW_NAMESPACE_FDB, in sample_modify_hdr_get() 347 u32 attr_sz = ns_to_attr_sz(MLX5_FLOW_NAMESPACE_FDB); in add_post_rule() 369 post_attr = mlx5_alloc_flow_attr(MLX5_FLOW_NAMESPACE_FDB); in add_post_rule() 541 pre_attr = mlx5_alloc_flow_attr(MLX5_FLOW_NAMESPACE_FDB); in mlx5e_tc_sample_offload()
|
D | post_act.c | 33 enum fs_flow_table_type table_type = ns_type == MLX5_FLOW_NAMESPACE_FDB ? in mlx5e_tc_post_act_init() 128 if (handle->ns_type == MLX5_FLOW_NAMESPACE_FDB) in mlx5e_tc_post_act_add()
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | indir_table.c | 120 err = mlx5e_tc_match_to_reg_set(esw->dev, &mod_acts, MLX5_FLOW_NAMESPACE_FDB, in mlx5_esw_indir_table_rule_get() 125 err = mlx5e_tc_match_to_reg_set(esw->dev, &mod_acts, MLX5_FLOW_NAMESPACE_FDB, in mlx5_esw_indir_table_rule_get() 130 flow_act.modify_hdr = mlx5_modify_header_alloc(esw->dev, MLX5_FLOW_NAMESPACE_FDB, in mlx5_esw_indir_table_rule_get() 257 root_ns = mlx5_get_flow_namespace(esw->dev, MLX5_FLOW_NAMESPACE_FDB); in mlx5_esw_indir_table_entry_create()
|
D | ipsec_fs.c | 183 attr->chains_ns = MLX5_FLOW_NAMESPACE_FDB; in mlx5_esw_ipsec_rx_create_attr_set() 222 modify_hdr = mlx5_modify_header_alloc(mdev, MLX5_FLOW_NAMESPACE_FDB, in mlx5_esw_ipsec_rx_setup_modify_header() 271 attr->chains_ns = MLX5_FLOW_NAMESPACE_FDB; in mlx5_esw_ipsec_tx_create_attr_set()
|
D | vporttbl.c | 105 ns = mlx5_get_flow_namespace(dev, MLX5_FLOW_NAMESPACE_FDB); in mlx5_esw_vporttbl_get()
|
D | bridge.c | 61 return mlx5_packet_reformat_alloc(esw->dev, &reformat_params, MLX5_FLOW_NAMESPACE_FDB); in mlx5_esw_bridge_pkt_reformat_vlan_pop_create() 72 ns = mlx5_get_flow_namespace(dev, MLX5_FLOW_NAMESPACE_FDB); in mlx5_esw_bridge_table_create() 1046 MLX5_FLOW_NAMESPACE_FDB); in mlx5_esw_bridge_vlan_push_create() 1104 pkt_mod_hdr = mlx5_modify_header_alloc(esw->dev, MLX5_FLOW_NAMESPACE_FDB, 1, action); in mlx5_esw_bridge_vlan_push_mark_create()
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
D | vlan.c | 27 return mlx5e_tc_act_vlan_add_rewrite_action(priv, MLX5_FLOW_NAMESPACE_FDB, in add_vlan_prio_tag_rewrite_action() 157 err = mlx5e_tc_act_vlan_add_rewrite_action(priv, MLX5_FLOW_NAMESPACE_FDB, act, in tc_act_parse_vlan()
|
D | vlan_mangle.c | 68 if (ns_type == MLX5_FLOW_NAMESPACE_FDB) { in tc_act_parse_vlan_mangle()
|
D | act.c | 58 tc_acts = ns_type == MLX5_FLOW_NAMESPACE_FDB ? tc_acts_fdb : tc_acts_nic; in mlx5e_tc_act_get()
|
D | pedit.c | 101 if (ns_type == MLX5_FLOW_NAMESPACE_FDB) { in tc_act_parse_pedit()
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | mod_hdr.h | 51 if (namespace == MLX5_FLOW_NAMESPACE_FDB) /* FDB offloading */ in mlx5e_mod_hdr_max_actions()
|
D | tc_tun.c | 319 MLX5_FLOW_NAMESPACE_FDB); in mlx5e_tc_tun_create_header_ipv4() 424 MLX5_FLOW_NAMESPACE_FDB); in mlx5e_tc_tun_update_header_ipv4() 587 MLX5_FLOW_NAMESPACE_FDB); in mlx5e_tc_tun_create_header_ipv6() 691 MLX5_FLOW_NAMESPACE_FDB); in mlx5e_tc_tun_update_header_ipv6()
|
D | tc_ct.c | 586 if (ns != MLX5_FLOW_NAMESPACE_FDB) { in mlx5_tc_ct_entry_set_registers() 836 if (ct_priv->ns_type == MLX5_FLOW_NAMESPACE_FDB) in mlx5_tc_ct_entry_add_rule() 1683 ft_attr.prio = ct_priv->ns_type == MLX5_FLOW_NAMESPACE_FDB ? in mlx5_tc_ct_alloc_pre_ct() 2049 if (ct_priv->ns_type == MLX5_FLOW_NAMESPACE_FDB && in mlx5_tc_ct_fs_init() 2125 if (ns_type == MLX5_FLOW_NAMESPACE_FDB) in mlx5_tc_ct_init_check_support()
|
D | tc_tun_encap.c | 165 MLX5_FLOW_NAMESPACE_FDB); in mlx5e_tc_encap_flows_add() 739 MLX5_FLOW_NAMESPACE_FDB, in mlx5e_set_vf_tunnel() 992 MLX5_FLOW_NAMESPACE_FDB); in mlx5e_attach_decap()
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eswitch_offloads_termtbl.c | 72 root_ns = mlx5_get_flow_namespace(dev, MLX5_FLOW_NAMESPACE_FDB); in mlx5_eswitch_termtbl_create() 230 !(mlx5_fs_get_capabilities(esw->dev, MLX5_FLOW_NAMESPACE_FDB) & in mlx5_eswitch_termtbl_required()
|
D | en_tc.c | 339 MLX5_FLOW_NAMESPACE_FDB, in mlx5e_get_flow_meters() 635 MLX5_FLOW_NAMESPACE_FDB : MLX5_FLOW_NAMESPACE_KERNEL; in mlx5e_get_flow_namespace() 650 return mlx5e_get_flow_namespace(flow) == MLX5_FLOW_NAMESPACE_FDB ? in get_mod_hdr_table() 1505 slow_attr = mlx5_alloc_flow_attr(MLX5_FLOW_NAMESPACE_FDB); in mlx5e_tc_offload_to_slow_path() 1522 err = mlx5e_tc_match_to_reg_set(esw->dev, &mod_acts, MLX5_FLOW_NAMESPACE_FDB, in mlx5e_tc_offload_to_slow_path() 1528 MLX5_FLOW_NAMESPACE_FDB, &mod_acts); in mlx5e_tc_offload_to_slow_path() 1572 slow_attr = mlx5_alloc_flow_attr(MLX5_FLOW_NAMESPACE_FDB); in mlx5e_tc_unoffload_from_slow_path() 1840 MLX5_FLOW_NAMESPACE_FDB, VPORT_TO_REG, in mlx5e_tc_add_fdb_flow() 2198 mod_hdr_acts, MLX5_FLOW_NAMESPACE_FDB, in mlx5e_get_flow_tunnel_id() 3528 if (ns_type != MLX5_FLOW_NAMESPACE_FDB) in actions_prepare_mod_hdr_actions() [all …]
|
D | en_tc.h | 53 #define ns_to_attr_sz(ns) (((ns) == MLX5_FLOW_NAMESPACE_FDB) ?\
|
D | fs_cmd.c | 188 MLX5_FLOW_NAMESPACE_FDB); in mlx5_cmd_set_slave_root_fdb() 883 if (namespace == MLX5_FLOW_NAMESPACE_FDB || in mlx5_cmd_packet_reformat_alloc() 957 case MLX5_FLOW_NAMESPACE_FDB: in mlx5_cmd_modify_header_alloc()
|
D | eswitch_offloads.c | 1549 attr.ns = MLX5_FLOW_NAMESPACE_FDB; in esw_chains_create() 1824 root_ns = mlx5_get_flow_namespace(dev, MLX5_FLOW_NAMESPACE_FDB); in esw_create_offloads_fdb_tables() 2613 MLX5_FLOW_NAMESPACE_FDB); in esw_set_slave_root_fdb() 2625 MLX5_FLOW_NAMESPACE_FDB); in esw_set_slave_root_fdb()
|
D | fs_core.c | 2437 case MLX5_FLOW_NAMESPACE_FDB: in mlx5_get_flow_namespace()
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
D | tc.c | 553 ns_type = MLX5_FLOW_NAMESPACE_FDB; in mlx5e_rep_indr_replace_act() 582 ns_type = MLX5_FLOW_NAMESPACE_FDB; in mlx5e_rep_indr_destroy_act() 604 ns_type = MLX5_FLOW_NAMESPACE_FDB; in mlx5e_rep_indr_stats_act()
|
/Linux-v6.6/include/linux/mlx5/ |
D | fs.h | 92 MLX5_FLOW_NAMESPACE_FDB, enumerator
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | fs_chains.c | 182 ns = (chains->ns == MLX5_FLOW_NAMESPACE_FDB) ? in mlx5_chains_create_table() 245 if (chains->ns == MLX5_FLOW_NAMESPACE_FDB) { in create_chain_restore()
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ipsec_fs.c | 966 return MLX5_FLOW_NAMESPACE_FDB; in ipsec_fs_get_ns() 1903 ns_esw = mlx5_get_flow_namespace(mdev, MLX5_FLOW_NAMESPACE_FDB); in mlx5e_accel_ipsec_fs_init()
|