Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dgoto.c25 chains = is_esw ? esw_chains(esw) : mlx5e_nic_chains(tc); in validate_goto_chain()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A 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()
H A 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A 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()
H A 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()
H A Deswitch.h86 #define esw_chains(esw) \ macro
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_fs.c148 mlx5_chains_put_table(esw_chains(ipsec->mdev->priv.eswitch), 0, 1, 0); in ipsec_rx_status_pass_destroy()