Searched refs:macsec_sa (Results 1 – 1 of 1) sorted by relevance
1414 struct mlx5e_macsec_sa *macsec_sa; in get_macsec_tx_sa_from_obj_id() local1422 macsec_sa = iter->tx_sa[i]; in get_macsec_tx_sa_from_obj_id()1423 if (!macsec_sa || !macsec_sa->active) in get_macsec_tx_sa_from_obj_id()1425 if (macsec_sa->macsec_obj_id == obj_id) in get_macsec_tx_sa_from_obj_id()1426 return macsec_sa; in get_macsec_tx_sa_from_obj_id()1438 struct mlx5e_macsec_sa *macsec_sa; in get_macsec_rx_sa_from_obj_id() local1448 macsec_sa = mlx5e_rx_sc->rx_sa[i]; in get_macsec_rx_sa_from_obj_id()1449 if (!macsec_sa || !macsec_sa->active) in get_macsec_rx_sa_from_obj_id()1451 if (macsec_sa->macsec_obj_id == obj_id) in get_macsec_rx_sa_from_obj_id()1452 return macsec_sa; in get_macsec_rx_sa_from_obj_id()[all …]