Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_fs.c296 ft = mlx5_create_auto_grouped_flow_table(ipsec->tx_fs->ns, &ft_attr); in tx_create()
302 ipsec->tx_fs->ft = ft; in tx_create()
308 struct mlx5e_ipsec_tx *tx_fs = priv->ipsec->tx_fs; in tx_ft_get() local
311 mutex_lock(&tx_fs->mutex); in tx_ft_get()
312 if (tx_fs->refcnt) in tx_ft_get()
319 tx_fs->refcnt++; in tx_ft_get()
321 mutex_unlock(&tx_fs->mutex); in tx_ft_get()
327 struct mlx5e_ipsec_tx *tx_fs = priv->ipsec->tx_fs; in tx_ft_put() local
329 mutex_lock(&tx_fs->mutex); in tx_ft_put()
330 tx_fs->refcnt--; in tx_ft_put()
[all …]
Dmacsec_fs.c101 struct mlx5e_macsec_tx *tx_fs; member
107 struct mlx5e_macsec_tx *tx_fs = macsec_fs->tx_fs; in macsec_fs_tx_destroy() local
110 tx_tables = &tx_fs->tables; in macsec_fs_tx_destroy()
113 if (tx_fs->check_rule) { in macsec_fs_tx_destroy()
114 mlx5_del_flow_rules(tx_fs->check_rule); in macsec_fs_tx_destroy()
115 tx_fs->check_rule = NULL; in macsec_fs_tx_destroy()
134 if (tx_fs->crypto_mke_rule) { in macsec_fs_tx_destroy()
135 mlx5_del_flow_rules(tx_fs->crypto_mke_rule); in macsec_fs_tx_destroy()
136 tx_fs->crypto_mke_rule = NULL; in macsec_fs_tx_destroy()
240 struct mlx5e_macsec_tx *tx_fs = macsec_fs->tx_fs; in macsec_fs_tx_create() local
[all …]
Dipsec.h115 struct mlx5e_ipsec_tx *tx_fs; member