Home
last modified time | relevance | path

Searched refs:tx_fs (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dpsp.c65 struct mlx5e_psp_tx *tx_fs; member
684 struct mlx5e_psp_tx *tx_fs; in accel_psp_fs_tx_create_ft_table() local
703 tx_fs = fs->tx_fs; in accel_psp_fs_tx_create_ft_table()
704 ft = mlx5_create_flow_table(tx_fs->ns, &ft_attr); in accel_psp_fs_tx_create_ft_table()
730 dest.counter = tx_fs->tx_counter; in accel_psp_fs_tx_create_ft_table()
738 tx_fs->ft = ft; in accel_psp_fs_tx_create_ft_table()
739 tx_fs->fg = fg; in accel_psp_fs_tx_create_ft_table()
740 tx_fs->rule = rule; in accel_psp_fs_tx_create_ft_table()
753 static void accel_psp_fs_tx_destroy(struct mlx5e_psp_tx *tx_fs) in accel_psp_fs_tx_destroy() argument
755 if (!tx_fs->ft) in accel_psp_fs_tx_destroy()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dmacsec_fs.c180 struct mlx5_macsec_tx *tx_fs; member
218 struct mlx5_macsec_tx *tx_fs = macsec_fs->tx_fs; in macsec_fs_tx_destroy() local
222 mlx5_destroy_flow_table(tx_fs->ft_rdma_tx); in macsec_fs_tx_destroy()
224 tx_tables = &tx_fs->tables; in macsec_fs_tx_destroy()
227 if (tx_fs->check_rule) { in macsec_fs_tx_destroy()
228 mlx5_del_flow_rules(tx_fs->check_rule); in macsec_fs_tx_destroy()
229 tx_fs->check_rule = NULL; in macsec_fs_tx_destroy()
248 if (tx_fs->crypto_mke_rule) { in macsec_fs_tx_destroy()
249 mlx5_del_flow_rules(tx_fs->crypto_mke_rule); in macsec_fs_tx_destroy()
250 tx_fs->crypto_mke_rule = NULL; in macsec_fs_tx_destroy()
[all …]