Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dmacsec.c1434 struct mlx5e_macsec_sa *macsec_sa; in get_macsec_tx_sa_from_obj_id() local
1442 macsec_sa = iter->tx_sa[i]; in get_macsec_tx_sa_from_obj_id()
1443 if (!macsec_sa || !macsec_sa->active) in get_macsec_tx_sa_from_obj_id()
1445 if (macsec_sa->macsec_obj_id == obj_id) in get_macsec_tx_sa_from_obj_id()
1446 return macsec_sa; in get_macsec_tx_sa_from_obj_id()
1458 struct mlx5e_macsec_sa *macsec_sa; in get_macsec_rx_sa_from_obj_id() local
1468 macsec_sa = mlx5e_rx_sc->rx_sa[i]; in get_macsec_rx_sa_from_obj_id()
1469 if (!macsec_sa || !macsec_sa->active) in get_macsec_rx_sa_from_obj_id()
1471 if (macsec_sa->macsec_obj_id == obj_id) in get_macsec_rx_sa_from_obj_id()
1472 return macsec_sa; in get_macsec_rx_sa_from_obj_id()
[all …]