Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dtc.c204 if (!mlx5_chains_prios_supported(esw_chains(esw))) in mlx5e_rep_setup_ft_cb()
216 if (tmp.common.prio >= mlx5_chains_get_prio_range(esw_chains(esw))) in mlx5e_rep_setup_ft_cb()
221 tmp.common.chain_index = mlx5_chains_get_nf_ft_chain(esw_chains(esw)); in mlx5e_rep_setup_ft_cb()
397 if (!mlx5_chains_prios_supported(esw_chains(esw)) || in mlx5e_rep_indr_setup_ft_cb()
398 tmp.common.prio >= mlx5_chains_get_prio_range(esw_chains(esw)) || in mlx5e_rep_indr_setup_ft_cb()
402 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()
Dipsec_fs.c38 dest->ft = mlx5_chains_get_table(esw_chains(ipsec->mdev->priv.eswitch), 0, 1, 0); in mlx5_esw_ipsec_rx_status_pass_dest_get()
/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c284 struct mlx5_fs_chains *chains = esw_chains(esw); in esw_put_dest_tables_loop()
573 struct mlx5_fs_chains *chains = esw_chains(esw); in esw_setup_dests()
621 struct mlx5_fs_chains *chains = esw_chains(esw); in esw_cleanup_dests()
656 struct mlx5_fs_chains *chains = esw_chains(esw); in mlx5_eswitch_add_offloaded_rule()
793 struct mlx5_fs_chains *chains = esw_chains(esw); in mlx5_eswitch_add_fwd_rule()
875 struct mlx5_fs_chains *chains = esw_chains(esw); in __mlx5_eswitch_del_rule()
1932 esw_chains_destroy(esw, esw_chains(esw)); in esw_create_offloads_fdb_tables()
1960 esw_chains_destroy(esw, esw_chains(esw)); in esw_destroy_offloads_fdb_tables()
Den_tc.c1521 err = mlx5_chains_get_chain_mapping(esw_chains(esw), flow->attr->chain, &chain_mapping); in mlx5e_tc_offload_to_slow_path()
1562 mlx5_chains_put_chain_mapping(esw_chains(esw), chain_mapping); in mlx5e_tc_offload_to_slow_path()
1592 mlx5_chains_put_chain_mapping(esw_chains(esw), flow->chain_mapping); in mlx5e_tc_unoffload_from_slow_path()
1809 max_chain = mlx5_chains_get_chain_range(esw_chains(esw)); in mlx5e_tc_add_fdb_flow()
1817 max_prio = mlx5_chains_get_prio_range(esw_chains(esw)); in mlx5e_tc_add_fdb_flow()
5302 uplink_priv->post_act = mlx5e_tc_post_act_init(priv, esw_chains(esw), in mlx5e_tc_esw_init()
5305 esw_chains(esw), in mlx5e_tc_esw_init()
Deswitch.h86 #define esw_chains(esw) \ macro
/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_fs.c148 mlx5_chains_put_table(esw_chains(ipsec->mdev->priv.eswitch), 0, 1, 0); in ipsec_rx_status_pass_destroy()