Home
last modified time | relevance | path

Searched refs:ct_tbl (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dct_fs_hmfs.c22 struct mlx5hws_table *ct_tbl; member
49 struct mlx5hws_table *ct_tbl, *ct_nat_tbl, *post_ct_tbl; in mlx5_ct_fs_hmfs_init() local
52 ct_tbl = ct->fs_hws_table.hws_table; in mlx5_ct_fs_hmfs_init()
57 if (!ct_tbl || !ct_nat_tbl || !post_ct_tbl) { in mlx5_ct_fs_hmfs_init()
64 fs_hmfs->ct_tbl = ct_tbl; in mlx5_ct_fs_hmfs_init()
66 fs_hmfs->ctx = ct_tbl->ctx; in mlx5_ct_fs_hmfs_init()
69 fs_hmfs->fwd_action = mlx5hws_action_create_dest_table(ct_tbl->ctx, post_ct_tbl, flags); in mlx5_ct_fs_hmfs_init()
74 fs_hmfs->last_action = mlx5hws_action_create_last(ct_tbl->ctx, flags); in mlx5_ct_fs_hmfs_init()
134 tbl = nat ? fs_hmfs->ct_nat_tbl : fs_hmfs->ct_tbl; in mlx5_ct_fs_hmfs_matcher_get()
H A Dct_fs_smfs.c30 struct mlx5dr_table *ct_tbl, *ct_nat_tbl; member
147 tbl = nat ? fs_smfs->ct_nat_tbl : fs_smfs->ct_tbl; in mlx5_ct_fs_smfs_matcher_get()
185 struct mlx5dr_table *ct_tbl, *ct_nat_tbl, *post_ct_tbl; in mlx5_ct_fs_smfs_init() local
190 ct_tbl = mlx5_smfs_table_get_from_fs_ft(ct); in mlx5_ct_fs_smfs_init()
193 if (!ct_tbl || !ct_nat_tbl || !post_ct_tbl) { in mlx5_ct_fs_smfs_init()
205 fs_smfs->ct_tbl = ct_tbl; in mlx5_ct_fs_smfs_init()
/linux/drivers/net/ethernet/sfc/
H A Dmae.c399 bool ct_tbl = false; in efx_mae_check_table_exists() local
421 ct_tbl = true; in efx_mae_check_table_exists()
427 if (!ct_tbl && pos < tbl_total) in efx_mae_check_table_exists()
430 return ct_tbl; in efx_mae_check_table_exists()