Home
last modified time | relevance | path

Searched refs:ct_nat (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dct_fs_smfs.c35 struct mlx5_flow_table *ct_nat; member
184 struct mlx5_flow_table *ct_nat, struct mlx5_flow_table *post_ct) in mlx5_ct_fs_smfs_init() argument
190 ct_nat_tbl = mlx5_smfs_table_get_from_fs_ft(ct_nat); in mlx5_ct_fs_smfs_init()
192 fs_smfs->ct_nat = ct_nat; in mlx5_ct_fs_smfs_init()
324 nat = (attr->ft == fs_smfs->ct_nat); in mlx5_ct_fs_smfs_ct_rule_add()
H A Dct_fs.h20 struct mlx5_flow_table *ct_nat, struct mlx5_flow_table *post_ct);
H A Dct_fs_dmfs.c19 struct mlx5_flow_table *ct_nat, struct mlx5_flow_table *post_ct) in mlx5_ct_fs_dmfs_init() argument
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_ct.c71 struct mlx5_flow_table *ct_nat; member
828 attr->ft = nat ? ct_priv->ct_nat : ct_priv->ct; in mlx5_tc_ct_entry_add_rule()
1620 dest.ft = nat ? ct_priv->ct_nat : ct_priv->ct; in tc_ct_pre_ct_add_rules()
1968 attr->dest_ft = nat ? ct_priv->ct_nat : ct_priv->ct; in __mlx5_tc_ct_flow_offload()
2064 err = ct_priv->fs_ops->init(ct_priv->fs, ct_priv->ct, ct_priv->ct_nat, post_ct); in mlx5_tc_ct_fs_init()
2207 ct_priv->ct_nat = mlx5_chains_create_global_table(chains); in mlx5_tc_ct_init()
2208 if (IS_ERR(ct_priv->ct_nat)) { in mlx5_tc_ct_init()
2209 err = PTR_ERR(ct_priv->ct_nat); in mlx5_tc_ct_init()
2247 mlx5_chains_destroy_global_table(chains, ct_priv->ct_nat); in mlx5_tc_ct_init()
2277 mlx5_chains_destroy_global_table(chains, ct_priv->ct_nat); in mlx5_tc_ct_clean()