mbox series

[0/2] Fix failure to hot add memory

Message ID 20210128134130.3051-1-elic@nvidia.com (mailing list archive)
Headers show
Series Fix failure to hot add memory | expand

Message

Eli Cohen Jan. 28, 2021, 1:41 p.m. UTC
Hi Michael,
The following two patches are a fixing a failure to update the hardware
with the updated used index. This results in a failure to to hot add
memory to the guest which results in a memory map update and teardown
and re-create of the resources.

The first patch just removes unnecessary code. The second on is the
actual fix.

Eli Cohen (2):
  vdpa/mlx5: Avoid unnecessary query virtqueue
  vdpa/mlx5: Restore the hardware used index after change map

 drivers/vdpa/mlx5/net/mlx5_vnet.c | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)