Lines Matching defs:secy

382 	obj_attrs.replay_window = ctx->secy->replay_window;
383 obj_attrs.replay_protect = ctx->secy->replay_protect;
429 mlx5e_macsec_cleanup_sa(macsec, rx_sa, false, ctx->secy->netdev, *fs_id);
443 const struct macsec_secy *secy = ctx->secy;
445 if (secy->validate_frames != MACSEC_VALIDATE_STRICT) {
451 if (secy->icv_len != MACSEC_DEFAULT_ICV_LEN) {
457 if (!secy->protect_frames) {
463 if (!ctx->secy->tx_sc.encrypt) {
480 if (iter->netdev == ctx->secy->netdev)
502 const struct macsec_tx_sc *tx_sc = &ctx->secy->tx_sc;
504 const struct macsec_secy *secy = ctx->secy;
536 tx_sa->sci = secy->sci;
539 if (secy->xpn)
543 err = mlx5_create_encryption_key(mdev, ctx->sa.key, secy->key_len,
550 if (!secy->operational)
575 const struct macsec_tx_sc *tx_sc = &ctx->secy->tx_sc;
626 mlx5e_macsec_cleanup_sa_fs(macsec, tx_sa, true, ctx->secy->netdev, 0);
659 mlx5e_macsec_cleanup_sa(macsec, tx_sa, true, ctx->secy->netdev, 0);
861 macsec_del_rxsc_ctx(macsec, rx_sc, ctx->secy->netdev);
921 if (ctx->secy->xpn)
925 err = mlx5_create_encryption_key(mdev, ctx->sa.key, ctx->secy->key_len,
1053 mlx5e_macsec_cleanup_sa(macsec, rx_sa, false, ctx->secy->netdev,
1068 const struct net_device *dev = ctx->secy->netdev;
1120 const struct net_device *dev = ctx->secy->netdev;
1135 mlx5e_macsec_cleanup_sa_fs(macsec, rx_sa, false, ctx->secy->netdev,
1169 const struct macsec_tx_sc *tx_sc = &ctx->secy->tx_sc;
1170 const struct net_device *dev = ctx->secy->netdev;
1201 mlx5e_macsec_cleanup_sa_fs(macsec, tx_sa, true, ctx->secy->netdev, 0);
1248 mlx5e_macsec_cleanup_sa(macsec, tx_sa, true, ctx->secy->netdev, 0);
1256 macsec_del_rxsc_ctx(macsec, rx_sc, ctx->secy->netdev);