Searched refs:vhca_map (Results 1 – 3 of 3) sorted by relevance
1882 xa_init_flags(&esw->offloads.vhca_map, XA_FLAGS_ALLOC); in mlx5_eswitch_init()1933 WARN_ON(!xa_empty(&esw->offloads.vhca_map)); in mlx5_eswitch_cleanup()1934 xa_destroy(&esw->offloads.vhca_map); in mlx5_eswitch_cleanup()
293 struct xarray vhca_map; member
4171 old_entry = xa_store(&esw->offloads.vhca_map, vhca_id, vhca_map_entry, GFP_KERNEL); in mlx5_esw_vport_vhca_id_set()4190 vhca_map_entry = xa_erase(&esw->offloads.vhca_map, vhca_id); in mlx5_esw_vport_vhca_id_clear()4196 u16 *res = xa_load(&esw->offloads.vhca_map, vhca_id); in mlx5_eswitch_vhca_id_to_vport()