Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dmacsec_fs.c216 static void macsec_fs_tx_destroy(struct mlx5_macsec_fs *macsec_fs) in macsec_fs_tx_destroy() argument
218 struct mlx5_macsec_tx *tx_fs = macsec_fs->tx_fs; in macsec_fs_tx_destroy()
221 if (mlx5_is_macsec_roce_supported(macsec_fs->mdev)) in macsec_fs_tx_destroy()
356 static int macsec_fs_tx_roce_create(struct mlx5_macsec_fs *macsec_fs) in macsec_fs_tx_roce_create() argument
358 struct mlx5_macsec_tx *tx_fs = macsec_fs->tx_fs; in macsec_fs_tx_roce_create()
359 struct mlx5_core_dev *mdev = macsec_fs->mdev; in macsec_fs_tx_roce_create()
385 static int macsec_fs_tx_create(struct mlx5_macsec_fs *macsec_fs) in macsec_fs_tx_create() argument
388 struct mlx5_macsec_tx *tx_fs = macsec_fs->tx_fs; in macsec_fs_tx_create()
389 struct mlx5_core_dev *mdev = macsec_fs->mdev; in macsec_fs_tx_create()
527 err = macsec_fs_tx_roce_create(macsec_fs); in macsec_fs_tx_create()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dmacsec_stats.c52 struct mlx5_macsec_fs *macsec_fs; in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS() local
61 macsec_fs = priv->mdev->macsec_fs; in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS()
62 mlx5_macsec_fs_get_stats_fill(macsec_fs, mlx5_macsec_fs_get_stats(macsec_fs)); in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS()
66 mlx5_macsec_fs_get_stats(macsec_fs), in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS()
H A Dmacsec.c324 mlx5_macsec_fs_del_rule(macsec->mdev->macsec_fs, sa->macsec_rule, action, netdev, in mlx5e_macsec_cleanup_sa_fs()
342 struct mlx5_macsec_fs *macsec_fs = priv->mdev->macsec_fs; in mlx5e_macsec_init_sa_fs() local
356 macsec_rule = mlx5_macsec_fs_add_rule(macsec_fs, ctx, &rule_attrs, fs_id); in mlx5e_macsec_init_sa_fs()
1652 fs_id = mlx5_macsec_fs_get_fs_id_from_hashtable(macsec->mdev->macsec_fs, in mlx5e_macsec_handle_tx_skb()
1671 fs_id = mlx5_macsec_fs_get_fs_id_from_hashtable(macsec->mdev->macsec_fs, in mlx5e_macsec_tx_build_eseg()
1725 struct mlx5_macsec_fs *macsec_fs; in mlx5e_macsec_init() local
1758 macsec_fs = mlx5_macsec_fs_init(mdev); in mlx5e_macsec_init()
1759 if (!macsec_fs) { in mlx5e_macsec_init()
1764 mdev->macsec_fs = macsec_fs; in mlx5e_macsec_init()
1792 mlx5_macsec_fs_cleanup(mdev->macsec_fs); in mlx5e_macsec_cleanup()
/linux/include/linux/mlx5/
H A 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,
H A Ddriver.h792 struct mlx5_macsec_fs *macsec_fs; member
1373 !mlx5e_is_macsec_device(mdev) || !mdev->macsec_fs) in mlx5_is_macsec_roce_supported()
/linux/drivers/infiniband/hw/mlx5/
H A 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()
278 &macsec_device->rx_rules_list, dev->mdev->macsec_fs); in mlx5r_add_gid_macsec_operations()
356 mlx5_macsec_del_roce_rule(attr->index, dev->mdev->macsec_fs, in mlx5r_del_gid_macsec_operations()