Searched refs:esw_chains (Results 1 – 4 of 4) sorted by relevance
198 if (!mlx5_chains_prios_supported(esw_chains(esw))) in mlx5e_rep_setup_ft_cb()210 if (tmp.common.prio >= mlx5_chains_get_prio_range(esw_chains(esw))) in mlx5e_rep_setup_ft_cb()215 tmp.common.chain_index = mlx5_chains_get_nf_ft_chain(esw_chains(esw)); in mlx5e_rep_setup_ft_cb()382 if (!mlx5_chains_prios_supported(esw_chains(esw)) || in mlx5e_rep_indr_setup_ft_cb()383 tmp.common.prio >= mlx5_chains_get_prio_range(esw_chains(esw)) || in mlx5e_rep_indr_setup_ft_cb()387 tmp.common.chain_index = mlx5_chains_get_nf_ft_chain(esw_chains(esw)); in mlx5e_rep_indr_setup_ft_cb()634 err = mlx5_get_chain_for_tag(esw_chains(esw), reg_c0, &chain); in mlx5e_rep_tc_update_skb()
306 struct mlx5_fs_chains *chains = esw_chains(esw); in mlx5_eswitch_add_offloaded_rule()451 struct mlx5_fs_chains *chains = esw_chains(esw); in mlx5_eswitch_add_fwd_rule()519 struct mlx5_fs_chains *chains = esw_chains(esw); in __mlx5_eswitch_del_rule()1442 esw_chains_destroy(esw, esw_chains(esw)); in esw_create_offloads_fdb_tables()1466 esw_chains_destroy(esw, esw_chains(esw)); in esw_destroy_offloads_fdb_tables()
66 #define esw_chains(esw) \ macro
1359 if (!mlx5_chains_prios_supported(esw_chains(esw)) && attr->prio != 1) { in mlx5e_tc_add_fdb_flow()1370 max_chain = mlx5_chains_get_chain_range(esw_chains(esw)); in mlx5e_tc_add_fdb_flow()1377 max_prio = mlx5_chains_get_prio_range(esw_chains(esw)); in mlx5e_tc_add_fdb_flow()3488 chains = is_esw ? esw_chains(esw) : nic_chains(priv); in validate_goto_chain()5407 esw_chains(esw), in mlx5e_tc_esw_init()