Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dmacsec.c503 const struct macsec_tx_sa *ctx_tx_sa = ctx->sa.tx_sa; in mlx5e_macsec_add_txsa() local
534 tx_sa->active = ctx_tx_sa->active; in mlx5e_macsec_add_txsa()
535 tx_sa->next_pn = ctx_tx_sa->next_pn_halves.lower; in mlx5e_macsec_add_txsa()
540 update_macsec_epn(tx_sa, &ctx_tx_sa->key, &ctx_tx_sa->next_pn_halves, in mlx5e_macsec_add_txsa()
541 ctx_tx_sa->ssci); in mlx5e_macsec_add_txsa()
576 const struct macsec_tx_sa *ctx_tx_sa = ctx->sa.tx_sa; in mlx5e_macsec_upd_txsa() local
609 if (tx_sa->active == ctx_tx_sa->active) in mlx5e_macsec_upd_txsa()
612 tx_sa->active = ctx_tx_sa->active; in mlx5e_macsec_upd_txsa()
616 if (ctx_tx_sa->active) { in mlx5e_macsec_upd_txsa()