Searched refs:macsec (Results 1 – 21 of 21) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| A D | macsec.c | 514 macsec = priv->macsec; in mlx5e_macsec_add_txsa() 586 macsec = priv->macsec; in mlx5e_macsec_upd_txsa() 644 macsec = priv->macsec; in mlx5e_macsec_del_txsa() 682 macsec = priv->macsec; in mlx5e_macsec_add_rxsc() 765 macsec = priv->macsec; in mlx5e_macsec_upd_rxsc() 843 macsec = priv->macsec; in mlx5e_macsec_del_rxsc() 884 macsec = priv->macsec; in mlx5e_macsec_add_rxsa() 968 macsec = priv->macsec; in mlx5e_macsec_upd_rxsa() 1025 macsec = priv->macsec; in mlx5e_macsec_del_rxsa() 1078 macsec = priv->macsec; in mlx5e_macsec_add_secy() [all …]
|
| A D | macsec_stats.c | 25 if (!priv->macsec) in MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS() 40 if (!priv->macsec) in MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS() 55 if (!priv->macsec) in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS()
|
| A D | macsec.h | 20 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,
|
| A D | en_accel.h | 151 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()
|
| /linux/drivers/net/ |
| A D | macsec.c | 329 if (!macsec || !macsec->real_dev) in macsec_check_offload() 368 if (!macsec_check_offload(macsec->offload, macsec)) in macsec_get_ops() 371 return __macsec_get_ops(macsec->offload, macsec, ctx); in macsec_get_ops() 586 secy = &macsec->secy; in macsec_encrypt() 1169 secy = &macsec->secy; in macsec_handle_frame() 2652 macsec, &ctx); in macsec_update_offload() 2667 macsec->insert_tx_tag = macsec_needs_tx_tag(macsec, ops); in macsec_update_offload() 3806 netdev_put(macsec->real_dev, &macsec->dev_tracker); in macsec_free_netdev() 4076 if (!macsec->stats) in macsec_add_dev() 4147 !macsec_check_offload(macsec->offload, macsec)) in macsec_newlink() [all …]
|
| A D | Makefile | 16 obj-$(CONFIG_MACSEC) += macsec.o
|
| /linux/drivers/infiniband/hw/mlx5/ |
| A D | macsec.c | 133 mutex_lock(&macsec->lock); in macsec_event() 142 mutex_unlock(&macsec->lock); in macsec_event() 145 mutex_unlock(&macsec->lock); in macsec_event() 158 &dev->macsec.blocking_events_nb); in mlx5r_macsec_event_register() 194 mutex_init(&dev->macsec.lock); in mlx5r_macsec_init_gids_and_devlist() 215 mutex_destroy(&dev->macsec.lock); in mlx5r_macsec_dealloc_gids() 253 mutex_lock(&dev->macsec.lock); in mlx5r_add_gid_macsec_operations() 286 mutex_unlock(&dev->macsec.lock); in mlx5r_add_gid_macsec_operations() 298 mutex_unlock(&dev->macsec.lock); in mlx5r_add_gid_macsec_operations() 339 mutex_lock(&dev->macsec.lock); in mlx5r_del_gid_macsec_operations() [all …]
|
| A D | Makefile | 32 mlx5_ib-$(CONFIG_MLX5_MACSEC) += macsec.o
|
| A D | mlx5_ib.h | 1197 struct mlx5_macsec macsec; member
|
| /linux/drivers/net/netdevsim/ |
| A D | macsec.c | 11 if (ns->macsec.nsim_secy[i].sci == sci) in nsim_macsec_find_secy() 39 if (!ns->macsec.nsim_secy[idx].used) in nsim_macsec_add_secy() 54 ns->macsec.nsim_secy_count++; in nsim_macsec_add_secy() 93 memset(&ns->macsec.nsim_secy[idx], 0, sizeof(ns->macsec.nsim_secy[idx])); in nsim_macsec_del_secy() 94 ns->macsec.nsim_secy_count--; in nsim_macsec_del_secy() 111 secy = &ns->macsec.nsim_secy[idx]; in nsim_macsec_add_rxsc() 146 secy = &ns->macsec.nsim_secy[idx]; in nsim_macsec_upd_rxsc() 173 secy = &ns->macsec.nsim_secy[idx]; in nsim_macsec_del_rxsc() 204 secy = &ns->macsec.nsim_secy[idx]; in nsim_macsec_add_rxsa() 231 secy = &ns->macsec.nsim_secy[idx]; in nsim_macsec_upd_rxsa() [all …]
|
| A D | Makefile | 22 netdevsim-objs += macsec.o
|
| A D | netdevsim.h | 126 struct nsim_macsec macsec; member
|
| /linux/drivers/net/phy/ |
| A D | nxp-c45-tja11xx-macsec.c | 946 set_bit(phy_secy->secy_id, priv->macsec->secy_bitmap); in nxp_c45_mdo_dev_open() 991 if (nxp_c45_is_rx_sc0_impl(&priv->macsec->secy_list)) in nxp_c45_mdo_add_secy() 1024 set_bit(idx, priv->macsec->tx_sc_bitmap); in nxp_c45_mdo_add_secy() 1114 if (list_empty(&priv->macsec->secy_list)) in nxp_c45_mdo_del_secy() 1609 if (!priv->macsec) in nxp_c45_macsec_config_init() 1658 priv->macsec = devm_kzalloc(dev, sizeof(*priv->macsec), GFP_KERNEL); in nxp_c45_macsec_probe() 1659 if (!priv->macsec) in nxp_c45_macsec_probe() 1662 INIT_LIST_HEAD(&priv->macsec->secy_list); in nxp_c45_macsec_probe() 1675 if (!priv->macsec) in nxp_c45_macsec_remove() 1678 secy_list = &priv->macsec->secy_list; in nxp_c45_macsec_remove() [all …]
|
| A D | nxp-c45-tja11xx.h | 30 struct nxp_c45_macsec *macsec; member
|
| A D | Makefile | 91 nxp-c45-tja-objs += nxp-c45-tja11xx-macsec.o
|
| /linux/tools/testing/selftests/net/ |
| A D | rtnetlink.sh | 538 run_cmd_grep "^Usage: ip macsec" ip macsec help 543 run_cmd ip link add link "$devdummy" "$msname" type macsec port 42 encrypt on 549 run_cmd ip macsec add "$msname" rx port 1234 address "1c:ed:de:ad:be:ef" 551 run_cmd ip macsec show 568 run_cmd_grep "^Usage: ip macsec" ip macsec help 604 run_cmd ip link add link $dev kci_macsec1 type macsec port 4 offload mac 606 run_cmd ip link add link $dev kci_macsec3 type macsec sci abbacdde01020304 offload mac 607 run_cmd_fail ip link add link $dev kci_macsec4 type macsec port 8 offload mac 611 run_cmd ip macsec add "$msname" rx port 1234 address "1c:ed:de:ad:be:ef" 612 run_cmd ip macsec add "$msname" rx port 1234 address "1c:ed:de:ad:be:ef" sa 0 pn 1 on \ [all …]
|
| /linux/Documentation/devicetree/bindings/net/ |
| A D | nvidia,tegra234-mgbe.yaml | 34 - const: macsec-ns 35 - const: macsec
|
| /linux/drivers/net/ethernet/aquantia/atlantic/ |
| A D | Makefile | 32 macsec/macsec_api.o
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | Makefile | 101 mlx5_core-$(CONFIG_MLX5_MACSEC) += en_accel/macsec.o lib/macsec_fs.o \
|
| A D | en.h | 923 struct mlx5e_macsec *macsec; member
|
| /linux/ |
| A D | MAINTAINERS | 16225 F: drivers/net/macsec.c 16226 F: include/net/macsec.h 16228 K: macsec
|
Completed in 645 milliseconds