Searched refs:vhca_map (Results 1 – 3 of 3) sorted by relevance
1885 xa_init_flags(&esw->offloads.vhca_map, XA_FLAGS_ALLOC); in mlx5_eswitch_init()1931 WARN_ON(!xa_empty(&esw->offloads.vhca_map)); in mlx5_eswitch_cleanup()1932 xa_destroy(&esw->offloads.vhca_map); in mlx5_eswitch_cleanup()
294 struct xarray vhca_map; member
4186 old_entry = xa_store(&esw->offloads.vhca_map, vhca_id, vhca_map_entry, GFP_KERNEL); in mlx5_esw_vport_vhca_id_set()4205 vhca_map_entry = xa_erase(&esw->offloads.vhca_map, vhca_id); in mlx5_esw_vport_vhca_id_clear()4211 u16 *res = xa_load(&esw->offloads.vhca_map, vhca_id); in mlx5_eswitch_vhca_id_to_vport()