Home
last modified time | relevance | path

Searched refs:esw_chains (Results 1 – 6 of 6) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dtc.c205 if (!mlx5_chains_prios_supported(esw_chains(esw))) in mlx5e_rep_setup_ft_cb()
217 if (tmp.common.prio >= mlx5_chains_get_prio_range(esw_chains(esw))) in mlx5e_rep_setup_ft_cb()
222 tmp.common.chain_index = mlx5_chains_get_nf_ft_chain(esw_chains(esw)); in mlx5e_rep_setup_ft_cb()
398 if (!mlx5_chains_prios_supported(esw_chains(esw)) || in mlx5e_rep_indr_setup_ft_cb()
399 tmp.common.prio >= mlx5_chains_get_prio_range(esw_chains(esw)) || in mlx5e_rep_indr_setup_ft_cb()
403 tmp.common.chain_index = mlx5_chains_get_nf_ft_chain(esw_chains(esw)); in mlx5e_rep_indr_setup_ft_cb()
/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
Dgoto.c25 chains = is_esw ? esw_chains(esw) : mlx5e_nic_chains(tc); in validate_goto_chain()
/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dindir_table.c100 struct mlx5_fs_chains *chains = esw_chains(esw); in mlx5_esw_indir_table_rule_get()
175 struct mlx5_fs_chains *chains = esw_chains(esw); in mlx5_esw_indir_table_rule_put()
/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c275 struct mlx5_fs_chains *chains = esw_chains(esw); in esw_put_dest_tables_loop()
472 struct mlx5_fs_chains *chains = esw_chains(esw); in esw_setup_dests()
514 struct mlx5_fs_chains *chains = esw_chains(esw); in esw_cleanup_dests()
549 struct mlx5_fs_chains *chains = esw_chains(esw); in mlx5_eswitch_add_offloaded_rule()
669 struct mlx5_fs_chains *chains = esw_chains(esw); in mlx5_eswitch_add_fwd_rule()
751 struct mlx5_fs_chains *chains = esw_chains(esw); in __mlx5_eswitch_del_rule()
1922 esw_chains_destroy(esw, esw_chains(esw)); in esw_create_offloads_fdb_tables()
1950 esw_chains_destroy(esw, esw_chains(esw)); in esw_destroy_offloads_fdb_tables()
Den_tc.c1431 err = mlx5_chains_get_chain_mapping(esw_chains(esw), flow->attr->chain, &chain_mapping); in mlx5e_tc_offload_to_slow_path()
1472 mlx5_chains_put_chain_mapping(esw_chains(esw), chain_mapping); in mlx5e_tc_offload_to_slow_path()
1501 mlx5_chains_put_chain_mapping(esw_chains(esw), flow->chain_mapping); in mlx5e_tc_unoffload_from_slow_path()
1749 max_chain = mlx5_chains_get_chain_range(esw_chains(esw)); in mlx5e_tc_add_fdb_flow()
1757 max_prio = mlx5_chains_get_prio_range(esw_chains(esw)); in mlx5e_tc_add_fdb_flow()
5109 uplink_priv->post_act = mlx5e_tc_post_act_init(priv, esw_chains(esw), in mlx5e_tc_esw_init()
5112 esw_chains(esw), in mlx5e_tc_esw_init()
Deswitch.h84 #define esw_chains(esw) \ macro