Home
last modified time | relevance | path

Searched refs:macsec (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dmacsec.c26 struct mlx5e_macsec *macsec; member
52 struct mlx5e_macsec *macsec; member
330 static void mlx5e_macsec_cleanup_sa(struct mlx5e_macsec *macsec, in mlx5e_macsec_cleanup_sa() argument
339 rhashtable_remove_fast(&macsec->sci_hash, &sa->hash, rhash_sci); in mlx5e_macsec_cleanup_sa()
346 mlx5e_macsec_fs_del_rule(macsec->macsec_fs, sa->macsec_rule, action); in mlx5e_macsec_cleanup_sa()
347 mlx5e_macsec_destroy_object(macsec->mdev, sa->macsec_obj_id); in mlx5e_macsec_cleanup_sa()
357 struct mlx5e_macsec *macsec = priv->macsec; in mlx5e_macsec_init_sa() local
368 obj_attrs.aso_pdn = macsec->aso.pdn; in mlx5e_macsec_init_sa()
389 macsec_rule = mlx5e_macsec_fs_add_rule(macsec->macsec_fs, ctx, &rule_attrs, &sa->fs_id); in mlx5e_macsec_init_sa()
398 err = rhashtable_insert_fast(&macsec->sci_hash, &sa->hash, rhash_sci); in mlx5e_macsec_init_sa()
[all …]
Dmacsec_stats.c25 if (!priv->macsec) in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS()
40 if (!priv->macsec) in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS()
57 if (!priv->macsec) in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS()
63 mlx5e_macsec_get_stats_fill(priv->macsec, mlx5e_macsec_get_stats(priv->macsec)); in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS()
65 data[idx++] = MLX5E_READ_CTR64_CPU(mlx5e_macsec_get_stats(priv->macsec), in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS()
Dmacsec.h36 bool mlx5e_macsec_handle_tx_skb(struct mlx5e_macsec *macsec, struct sk_buff *skb);
37 void mlx5e_macsec_tx_build_eseg(struct mlx5e_macsec *macsec,
56 void mlx5e_macsec_get_stats_fill(struct mlx5e_macsec *macsec, void *macsec_stats);
57 struct mlx5e_macsec_stats *mlx5e_macsec_get_stats(struct mlx5e_macsec *macsec);
Den_accel.h145 if (unlikely(!mlx5e_macsec_handle_tx_skb(priv->macsec, skb))) in mlx5e_accel_tx_begin()
178 mlx5e_macsec_tx_build_eseg(priv->macsec, skb, eseg); in mlx5e_accel_tx_eseg()
/linux-6.1.9/drivers/net/
Dmacsec.c326 static bool macsec_is_offloaded(struct macsec_dev *macsec) in macsec_is_offloaded() argument
328 if (macsec->offload == MACSEC_OFFLOAD_MAC || in macsec_is_offloaded()
329 macsec->offload == MACSEC_OFFLOAD_PHY) in macsec_is_offloaded()
337 struct macsec_dev *macsec) in macsec_check_offload() argument
339 if (!macsec || !macsec->real_dev) in macsec_check_offload()
343 return macsec->real_dev->phydev && in macsec_check_offload()
344 macsec->real_dev->phydev->macsec_ops; in macsec_check_offload()
346 return macsec->real_dev->features & NETIF_F_HW_MACSEC && in macsec_check_offload()
347 macsec->real_dev->macsec_ops; in macsec_check_offload()
353 struct macsec_dev *macsec, in __macsec_get_ops() argument
[all …]
DMakefile16 obj-$(CONFIG_MACSEC) += macsec.o
/linux-6.1.9/Documentation/devicetree/bindings/net/
Dnvidia,tegra234-mgbe.yaml34 - const: macsec-ns
35 - const: macsec
/linux-6.1.9/drivers/net/ethernet/aquantia/atlantic/
DMakefile32 macsec/macsec_api.o
/linux-6.1.9/tools/testing/selftests/net/
Drtnetlink.sh585 ip macsec help 2>&1 | grep -q "^Usage: ip macsec"
591 ip link add link "$devdummy" "$msname" type macsec port 42 encrypt on
598 ip macsec add "$msname" tx sa 0 pn 1024 on key 01 12345678901234567890123456789012
601 ip macsec add "$msname" rx port 1234 address "1c:ed:de:ad:be:ef"
604 …ip macsec add "$msname" rx port 1234 address "1c:ed:de:ad:be:ef" sa 0 pn 1 on key 00 0123456789abc…
607 ip macsec show > /dev/null
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
DMakefile95 mlx5_core-$(CONFIG_MLX5_EN_MACSEC) += en_accel/macsec.o en_accel/macsec_fs.o \
Den.h952 struct mlx5e_macsec *macsec; member