Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A 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 …]
H A 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);
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A 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()
H A Dmacsec.c323 mlx5_macsec_fs_del_rule(macsec->mdev->macsec_fs, sa->macsec_rule, action, netdev, in mlx5e_macsec_cleanup_sa_fs()
341 struct mlx5_macsec_fs *macsec_fs = priv->mdev->macsec_fs; in mlx5e_macsec_init_sa_fs() local
355 macsec_rule = mlx5_macsec_fs_add_rule(macsec_fs, ctx, &rule_attrs, fs_id); in mlx5e_macsec_init_sa_fs()
1655 fs_id = mlx5_macsec_fs_get_fs_id_from_hashtable(macsec->mdev->macsec_fs, in mlx5e_macsec_handle_tx_skb()
1674 fs_id = mlx5_macsec_fs_get_fs_id_from_hashtable(macsec->mdev->macsec_fs, in mlx5e_macsec_tx_build_eseg()
1728 struct mlx5_macsec_fs *macsec_fs; in mlx5e_macsec_init() local
1761 macsec_fs = mlx5_macsec_fs_init(mdev); in mlx5e_macsec_init()
1762 if (!macsec_fs) { in mlx5e_macsec_init()
1767 mdev->macsec_fs = macsec_fs; in mlx5e_macsec_init()
1795 mlx5_macsec_fs_cleanup(mdev->macsec_fs); in mlx5e_macsec_cleanup()
/openbmc/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.h811 struct mlx5_macsec_fs *macsec_fs; member
1377 !mlx5e_is_macsec_device(mdev) || !mdev->macsec_fs) in mlx5_is_macsec_roce_supported()
/openbmc/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()
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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A DMakefile101 mlx5_core-$(CONFIG_MLX5_MACSEC) += en_accel/macsec.o lib/macsec_fs.o \
/openbmc/linux/
H A Dopengrok0.0.log[all...]
H A Dopengrok1.0.log[all...]