Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dmacsec.c26 struct mlx5e_macsec *macsec; member
52 struct mlx5e_macsec *macsec; member
313 static void mlx5e_macsec_cleanup_sa_fs(struct mlx5e_macsec *macsec, in mlx5e_macsec_cleanup_sa_fs() argument
323 mlx5_macsec_fs_del_rule(macsec->mdev->macsec_fs, sa->macsec_rule, action, netdev, in mlx5e_macsec_cleanup_sa_fs()
328 static void mlx5e_macsec_cleanup_sa(struct mlx5e_macsec *macsec, in mlx5e_macsec_cleanup_sa() argument
332 mlx5e_macsec_cleanup_sa_fs(macsec, sa, is_tx, netdev, fs_id); in mlx5e_macsec_cleanup_sa()
333 mlx5e_macsec_destroy_object(macsec->mdev, sa->macsec_obj_id); in mlx5e_macsec_cleanup_sa()
369 struct mlx5e_macsec *macsec = priv->macsec; in mlx5e_macsec_init_sa() local
378 obj_attrs.aso_pdn = macsec->aso.pdn; in mlx5e_macsec_init_sa()
425 struct mlx5e_macsec *macsec = priv->macsec; in macsec_rx_sa_active_update() local
[all …]
H A 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()
58 if (!priv->macsec) in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS()
H A Dmacsec.h20 bool mlx5e_macsec_handle_tx_skb(struct mlx5e_macsec *macsec, struct sk_buff *skb);
21 void mlx5e_macsec_tx_build_eseg(struct mlx5e_macsec *macsec,
H A Den_accel.h151 if (unlikely(!mlx5e_macsec_handle_tx_skb(priv->macsec, skb))) in mlx5e_accel_tx_begin()
184 mlx5e_macsec_tx_build_eseg(priv->macsec, skb, eseg); in mlx5e_accel_tx_eseg()
/openbmc/linux/drivers/net/
H A Dmacsec.c313 static bool macsec_is_offloaded(struct macsec_dev *macsec) in macsec_is_offloaded() argument
315 if (macsec->offload == MACSEC_OFFLOAD_MAC || in macsec_is_offloaded()
316 macsec->offload == MACSEC_OFFLOAD_PHY) in macsec_is_offloaded()
324 struct macsec_dev *macsec) in macsec_check_offload() argument
326 if (!macsec || !macsec->real_dev) in macsec_check_offload()
330 return macsec->real_dev->phydev && in macsec_check_offload()
331 macsec->real_dev->phydev->macsec_ops; in macsec_check_offload()
333 return macsec->real_dev->features & NETIF_F_HW_MACSEC && in macsec_check_offload()
334 macsec->real_dev->macsec_ops; in macsec_check_offload()
340 struct macsec_dev *macsec, in __macsec_get_ops() argument
[all …]
H A DMakefile16 obj-$(CONFIG_MACSEC) += macsec.o
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dmacsec.c131 struct mlx5_macsec *macsec = container_of(nb, struct mlx5_macsec, blocking_events_nb); in macsec_event() local
133 mutex_lock(&macsec->lock); in macsec_event()
136 handle_macsec_gids(&macsec->macsec_devices_list, data); in macsec_event()
139 del_sa_roce_rule(&macsec->macsec_devices_list, data); in macsec_event()
142 mutex_unlock(&macsec->lock); in macsec_event()
145 mutex_unlock(&macsec->lock); in macsec_event()
156 dev->macsec.blocking_events_nb.notifier_call = macsec_event; in mlx5r_macsec_event_register()
158 &dev->macsec.blocking_events_nb); in mlx5r_macsec_event_register()
169 &dev->macsec.blocking_events_nb); in mlx5r_macsec_event_unregister()
193 INIT_LIST_HEAD(&dev->macsec.macsec_devices_list); in mlx5r_macsec_init_gids_and_devlist()
[all …]
H A DMakefile31 mlx5_ib-$(CONFIG_MLX5_MACSEC) += macsec.o
H A Dmlx5_ib.h1175 struct mlx5_macsec macsec; member
/openbmc/linux/drivers/net/netdevsim/
H A Dmacsec.c16 if (ns->macsec.nsim_secy[i].sci == sci) in nsim_macsec_find_secy()
40 if (ns->macsec.nsim_secy_count == NSIM_MACSEC_MAX_SECY_COUNT) in nsim_macsec_add_secy()
44 if (!ns->macsec.nsim_secy[idx].used) in nsim_macsec_add_secy()
56 ns->macsec.nsim_secy[idx].used = true; in nsim_macsec_add_secy()
57 ns->macsec.nsim_secy[idx].nsim_rxsc_count = 0; in nsim_macsec_add_secy()
58 ns->macsec.nsim_secy[idx].sci = ctx->secy->sci; in nsim_macsec_add_secy()
59 ns->macsec.nsim_secy_count++; in nsim_macsec_add_secy()
97 ns->macsec.nsim_secy[idx].used = false; in nsim_macsec_del_secy()
98 memset(&ns->macsec.nsim_secy[idx], 0, sizeof(ns->macsec.nsim_secy[idx])); in nsim_macsec_del_secy()
99 ns->macsec.nsim_secy_count--; in nsim_macsec_del_secy()
[all …]
H A DMakefile22 netdevsim-objs += macsec.o
H A Dnetdevsim.h118 struct nsim_macsec macsec; member
/openbmc/openbmc/poky/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/
H A D0001-macsec_linux-Hardware-offload-requires-Linux-headers.patch6 Hardware offload in Linux macsec driver is enabled in compile time if
17 Extend compile time condition for the enablement of the macsec hardware
35 #include <netlink/route/link/macsec.h>
/openbmc/linux/tools/testing/selftests/net/
H A Drtnetlink.sh611 ip macsec help 2>&1 | grep -q "^Usage: ip macsec"
617 ip link add link "$devdummy" "$msname" type macsec port 42 encrypt on
624 ip macsec add "$msname" tx sa 0 pn 1024 on key 01 12345678901234567890123456789012
627 ip macsec add "$msname" rx port 1234 address "1c:ed:de:ad:be:ef"
630 …ip macsec add "$msname" rx port 1234 address "1c:ed:de:ad:be:ef" sa 0 pn 1 on key 00 0123456789abc…
633 ip macsec show > /dev/null
654 ip macsec help 2>&1 | grep -q "^Usage: ip macsec"
688 ip link add link $dev kci_macsec1 type macsec port 4 offload mac
691 ip link add link $dev kci_macsec2 type macsec address "aa:bb:cc:dd:ee:ff" port 5 offload mac
694 ip link add link $dev kci_macsec3 type macsec sci abbacdde01020304 offload mac
[all …]
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/
H A DMakefile32 macsec/macsec_api.o
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/
H A D0019-Adjust-for-musl-headers.patch23 src/network/netdev/macsec.c | 2 +-
180 diff --git a/src/network/netdev/macsec.c b/src/network/netdev/macsec.c
182 --- a/src/network/netdev/macsec.c
183 +++ b/src/network/netdev/macsec.c
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0017-Adjust-for-musl-headers.patch23 src/network/netdev/macsec.c | 2 +-
181 diff --git a/src/network/netdev/macsec.c b/src/network/netdev/macsec.c
183 --- a/src/network/netdev/macsec.c
184 +++ b/src/network/netdev/macsec.c
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A DMakefile101 mlx5_core-$(CONFIG_MLX5_MACSEC) += en_accel/macsec.o lib/macsec_fs.o \
H A Den.h922 struct mlx5e_macsec *macsec; member
/openbmc/linux/
H A DMAINTAINERS14988 F: drivers/net/macsec.c
14989 F: include/net/macsec.h
14991 K: macsec
H A Dopengrok1.0.log[all...]
H A Dopengrok0.0.log1959 2024-12-28 20:09:06.347-0600 FINEST t1079 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/macsec/macsec_struct.h.gz'
[all...]
H A Dopengrok2.0.log[all...]
/openbmc/
Dopengrok1.0.log[all...]
Dopengrok2.0.log[all...]