Searched refs:esw_chains (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
D | tc.c | 204 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()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
D | goto.c | 25 chains = is_esw ? esw_chains(esw) : mlx5e_nic_chains(tc); in validate_goto_chain()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | indir_table.c | 100 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()
|
D | ipsec_fs.c | 38 dest->ft = mlx5_chains_get_table(esw_chains(ipsec->mdev->priv.eswitch), 0, 1, 0); in mlx5_esw_ipsec_rx_status_pass_dest_get()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eswitch_offloads.c | 284 struct mlx5_fs_chains *chains = esw_chains(esw); in esw_put_dest_tables_loop() 568 struct mlx5_fs_chains *chains = esw_chains(esw); in esw_setup_dests() 616 struct mlx5_fs_chains *chains = esw_chains(esw); in esw_cleanup_dests() 651 struct mlx5_fs_chains *chains = esw_chains(esw); in mlx5_eswitch_add_offloaded_rule() 788 struct mlx5_fs_chains *chains = esw_chains(esw); in mlx5_eswitch_add_fwd_rule() 870 struct mlx5_fs_chains *chains = esw_chains(esw); in __mlx5_eswitch_del_rule() 1927 esw_chains_destroy(esw, esw_chains(esw)); in esw_create_offloads_fdb_tables() 1955 esw_chains_destroy(esw, esw_chains(esw)); in esw_destroy_offloads_fdb_tables()
|
D | en_tc.c | 1521 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()
|
D | eswitch.h | 86 #define esw_chains(esw) \ macro
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ipsec_fs.c | 148 mlx5_chains_put_table(esw_chains(ipsec->mdev->priv.eswitch), 0, 1, 0); in ipsec_rx_status_pass_destroy()
|