Searched refs:sci_hash (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | macsec.c | 130 struct rhashtable sci_hash; /* sci -> mlx5e_macsec_sa */ member 338 rhashtable_remove_fast(&macsec->sci_hash, &sa->hash, rhash_sci); in mlx5e_macsec_cleanup_sa() 402 err = rhashtable_insert_fast(&macsec->sci_hash, &sa->hash, rhash_sci); in mlx5e_macsec_init_sa() 684 static u32 mlx5e_macsec_get_sa_from_hashtable(struct rhashtable *sci_hash, sci_t *sci) in mlx5e_macsec_get_sa_from_hashtable() argument 690 macsec_sa = rhashtable_lookup(sci_hash, sci, rhash_sci); in mlx5e_macsec_get_sa_from_hashtable() 1707 fs_id = mlx5e_macsec_get_sa_from_hashtable(&macsec->sci_hash, &md_dst->u.macsec_info.sci); in mlx5e_macsec_handle_tx_skb() 1725 fs_id = mlx5e_macsec_get_sa_from_hashtable(&macsec->sci_hash, &md_dst->u.macsec_info.sci); in mlx5e_macsec_tx_build_eseg() 1793 err = rhashtable_init(&macsec->sci_hash, &rhash_sci); in mlx5e_macsec_init() 1838 rhashtable_destroy(&macsec->sci_hash); in mlx5e_macsec_init() 1857 rhashtable_destroy(&macsec->sci_hash); in mlx5e_macsec_cleanup()
|