Home
last modified time | relevance | path

Searched refs:macsec_fs (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dmacsec_fs.c220 static void macsec_fs_tx_destroy(struct mlx5_macsec_fs *macsec_fs) in macsec_fs_tx_destroy() argument
222 struct mlx5_macsec_tx *tx_fs = macsec_fs->tx_fs; in macsec_fs_tx_destroy()
225 if (mlx5_is_macsec_roce_supported(macsec_fs->mdev)) in macsec_fs_tx_destroy()
360 static int macsec_fs_tx_roce_create(struct mlx5_macsec_fs *macsec_fs) in macsec_fs_tx_roce_create() argument
362 struct mlx5_macsec_tx *tx_fs = macsec_fs->tx_fs; in macsec_fs_tx_roce_create()
363 struct mlx5_core_dev *mdev = macsec_fs->mdev; in macsec_fs_tx_roce_create()
389 static int macsec_fs_tx_create(struct mlx5_macsec_fs *macsec_fs) in macsec_fs_tx_create() argument
392 struct mlx5_macsec_tx *tx_fs = macsec_fs->tx_fs; in macsec_fs_tx_create()
393 struct mlx5_core_dev *mdev = macsec_fs->mdev; in macsec_fs_tx_create()
531 err = macsec_fs_tx_roce_create(macsec_fs); in macsec_fs_tx_create()
[all …]
Dmacsec_fs.h43 void mlx5_macsec_fs_cleanup(struct mlx5_macsec_fs *macsec_fs);
49 mlx5_macsec_fs_add_rule(struct mlx5_macsec_fs *macsec_fs,
54 void mlx5_macsec_fs_del_rule(struct mlx5_macsec_fs *macsec_fs,
58 void mlx5_macsec_fs_get_stats_fill(struct mlx5_macsec_fs *macsec_fs, void *macsec_stats);
59 struct mlx5_macsec_stats *mlx5_macsec_fs_get_stats(struct mlx5_macsec_fs *macsec_fs);
60 u32 mlx5_macsec_fs_get_fs_id_from_hashtable(struct mlx5_macsec_fs *macsec_fs, sci_t *sci);
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dmacsec_stats.c55 struct mlx5_macsec_fs *macsec_fs; in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS() local
64 macsec_fs = priv->mdev->macsec_fs; in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS()
65 mlx5_macsec_fs_get_stats_fill(macsec_fs, mlx5_macsec_fs_get_stats(macsec_fs)); in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS()
67 data[idx++] = MLX5E_READ_CTR64_CPU(mlx5_macsec_fs_get_stats(macsec_fs), in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS()
Dmacsec.c323 mlx5_macsec_fs_del_rule(macsec->mdev->macsec_fs, sa->macsec_rule, action, netdev, in mlx5e_macsec_cleanup_sa()
366 macsec_rule = mlx5_macsec_fs_add_rule(mdev->macsec_fs, ctx, &rule_attrs, fs_id); in mlx5e_macsec_init_sa()
1630 fs_id = mlx5_macsec_fs_get_fs_id_from_hashtable(macsec->mdev->macsec_fs, in mlx5e_macsec_handle_tx_skb()
1649 fs_id = mlx5_macsec_fs_get_fs_id_from_hashtable(macsec->mdev->macsec_fs, in mlx5e_macsec_tx_build_eseg()
1703 struct mlx5_macsec_fs *macsec_fs; in mlx5e_macsec_init() local
1736 macsec_fs = mlx5_macsec_fs_init(mdev); in mlx5e_macsec_init()
1737 if (!macsec_fs) { in mlx5e_macsec_init()
1742 mdev->macsec_fs = macsec_fs; in mlx5e_macsec_init()
1770 mlx5_macsec_fs_cleanup(mdev->macsec_fs); in mlx5e_macsec_cleanup()
/Linux-v6.6/include/linux/mlx5/
Dmacsec.h9 struct mlx5_macsec_fs *macsec_fs; member
17 struct mlx5_macsec_fs *macsec_fs);
19 void mlx5_macsec_del_roce_rule(u16 gid_idx, struct mlx5_macsec_fs *macsec_fs,
25 struct mlx5_macsec_fs *macsec_fs, bool is_tx);
27 void mlx5_macsec_del_roce_sa_rules(u32 fs_id, struct mlx5_macsec_fs *macsec_fs,
Ddriver.h812 struct mlx5_macsec_fs *macsec_fs; member
1369 !mlx5e_is_macsec_device(mdev) || !mdev->macsec_fs) in mlx5_is_macsec_roce_supported()
/Linux-v6.6/drivers/infiniband/hw/mlx5/
Dmacsec.c111 &macsec_device->rx_rules_list, data->macsec_fs, in handle_macsec_gids()
124 mlx5_macsec_del_roce_sa_rules(data->fs_id, data->macsec_fs, in del_sa_roce_rule()
279 &macsec_device->rx_rules_list, dev->mdev->macsec_fs); in mlx5r_add_gid_macsec_operations()
357 mlx5_macsec_del_roce_rule(attr->index, dev->mdev->macsec_fs, in mlx5r_del_gid_macsec_operations()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
DMakefile101 mlx5_core-$(CONFIG_MLX5_MACSEC) += en_accel/macsec.o lib/macsec_fs.o \