Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dmacsec.c674 const struct macsec_rx_sc *ctx_rx_sc = ctx->rx_sc; in mlx5e_macsec_add_rxsc() local
691 rx_sc = mlx5e_macsec_get_rx_sc_from_sc_list(rx_sc_list, ctx_rx_sc->sci); in mlx5e_macsec_add_rxsc()
694 ctx_rx_sc->sci); in mlx5e_macsec_add_rxsc()
728 rx_sc->sci = ctx_rx_sc->sci; in mlx5e_macsec_add_rxsc()
729 rx_sc->active = ctx_rx_sc->active; in mlx5e_macsec_add_rxsc()
754 const struct macsec_rx_sc *ctx_rx_sc = ctx->rx_sc; in mlx5e_macsec_upd_rxsc() local
774 rx_sc = mlx5e_macsec_get_rx_sc_from_sc_list(list, ctx_rx_sc->sci); in mlx5e_macsec_upd_rxsc()
780 if (rx_sc->active == ctx_rx_sc->active) in mlx5e_macsec_upd_rxsc()
783 rx_sc->active = ctx_rx_sc->active; in mlx5e_macsec_upd_rxsc()
789 err = macsec_rx_sa_active_update(ctx, rx_sa, rx_sa->active && ctx_rx_sc->active, in mlx5e_macsec_upd_rxsc()