Home
last modified time | relevance | path

Searched refs:MLX5_FLOW_NAMESPACE_FDB (Results 1 – 24 of 24) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dsample.c76 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()
Dpost_act.c33 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/
Dindir_table.c120 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()
Dipsec_fs.c183 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()
Dvporttbl.c105 ns = mlx5_get_flow_namespace(dev, MLX5_FLOW_NAMESPACE_FDB); in mlx5_esw_vporttbl_get()
Dbridge.c61 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/
Dvlan.c27 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()
Dvlan_mangle.c68 if (ns_type == MLX5_FLOW_NAMESPACE_FDB) { in tc_act_parse_vlan_mangle()
Dact.c58 tc_acts = ns_type == MLX5_FLOW_NAMESPACE_FDB ? tc_acts_fdb : tc_acts_nic; in mlx5e_tc_act_get()
Dpedit.c101 if (ns_type == MLX5_FLOW_NAMESPACE_FDB) { in tc_act_parse_pedit()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
Dmod_hdr.h51 if (namespace == MLX5_FLOW_NAMESPACE_FDB) /* FDB offloading */ in mlx5e_mod_hdr_max_actions()
Dtc_tun.c319 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()
Dtc_ct.c586 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()
Dtc_tun_encap.c165 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/
Deswitch_offloads_termtbl.c72 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()
Den_tc.c339 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 …]
Den_tc.h53 #define ns_to_attr_sz(ns) (((ns) == MLX5_FLOW_NAMESPACE_FDB) ?\
Dfs_cmd.c188 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()
Deswitch_offloads.c1549 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()
Dfs_core.c2437 case MLX5_FLOW_NAMESPACE_FDB: in mlx5_get_flow_namespace()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dtc.c553 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/
Dfs.h92 MLX5_FLOW_NAMESPACE_FDB, enumerator
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_chains.c182 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/
Dipsec_fs.c966 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()