Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dmacsec_fs.c927 macsec_fs->tx_fs = NULL; in macsec_fs_tx_cleanup()
977 macsec_fs->tx_fs = NULL; in macsec_fs_tx_init()
1050 macsec_fs_rdma_rx_destroy(&macsec_fs->rx_fs->roce, macsec_fs->mdev); in macsec_fs_rx_destroy()
2061 if (!macsec_fs) in mlx5_macsec_fs_get_stats()
2087 struct mlx5_macsec_event_data data = {.macsec_fs = macsec_fs, in mlx5_macsec_fs_add_rule()
2112 struct mlx5_macsec_event_data data = {.macsec_fs = macsec_fs, in mlx5_macsec_fs_del_rule()
2357 kfree(macsec_fs); in mlx5_macsec_fs_cleanup()
2366 macsec_fs = kzalloc(sizeof(*macsec_fs), GFP_KERNEL); in mlx5_macsec_fs_init()
2367 if (!macsec_fs) in mlx5_macsec_fs_init()
2400 return macsec_fs; in mlx5_macsec_fs_init()
[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
351 macsec_rule = mlx5_macsec_fs_add_rule(macsec_fs, ctx, &rule_attrs, fs_id); in mlx5e_macsec_init_sa_fs()
1651 fs_id = mlx5_macsec_fs_get_fs_id_from_hashtable(macsec->mdev->macsec_fs, in mlx5e_macsec_handle_tx_skb()
1670 fs_id = mlx5_macsec_fs_get_fs_id_from_hashtable(macsec->mdev->macsec_fs, in mlx5e_macsec_tx_build_eseg()
1724 struct mlx5_macsec_fs *macsec_fs; in mlx5e_macsec_init() local
1757 macsec_fs = mlx5_macsec_fs_init(mdev); in mlx5e_macsec_init()
1758 if (!macsec_fs) { in mlx5e_macsec_init()
1763 mdev->macsec_fs = macsec_fs; in mlx5e_macsec_init()
1791 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.h812 struct mlx5_macsec_fs *macsec_fs; member
1372 !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 \