Searched refs:macsec_sa (Results 1 – 1 of 1) sorted by relevance
1435 struct mlx5e_macsec_sa *macsec_sa; in get_macsec_tx_sa_from_obj_id() local1443 macsec_sa = iter->tx_sa[i]; in get_macsec_tx_sa_from_obj_id()1444 if (!macsec_sa || !macsec_sa->active) in get_macsec_tx_sa_from_obj_id()1446 if (macsec_sa->macsec_obj_id == obj_id) in get_macsec_tx_sa_from_obj_id()1447 return macsec_sa; in get_macsec_tx_sa_from_obj_id()1459 struct mlx5e_macsec_sa *macsec_sa; in get_macsec_rx_sa_from_obj_id() local1469 macsec_sa = mlx5e_rx_sc->rx_sa[i]; in get_macsec_rx_sa_from_obj_id()1470 if (!macsec_sa || !macsec_sa->active) in get_macsec_rx_sa_from_obj_id()1472 if (macsec_sa->macsec_obj_id == obj_id) in get_macsec_rx_sa_from_obj_id()1473 return macsec_sa; in get_macsec_rx_sa_from_obj_id()[all …]