mbox series

[v2,virtio,0/5] pds_vdpa: mac, reset, and irq updates

Message ID 20230711042437.69381-1-shannon.nelson@amd.com (mailing list archive)
Headers show
Series pds_vdpa: mac, reset, and irq updates | expand

Message

Nelson, Shannon July 11, 2023, 4:24 a.m. UTC
These are some fixes for device providing a MAC address, for allocating
irq resources later to support vhost use, and for properly cleaning
vq info on reset.

v2:
 - check driver feature request against supported_features, and strip
   the F_MAC bit if needed just before writing to the HW.
 - report the driver negotiated features in get_driver_features()
 - only map the notify on initial setup, not on every reset.
 - added patch 5 to clear up some driver feature debugfs output

Allen Hubbe (2):
  pds_vdpa: reset to vdpa specified mac
  pds_vdpa: alloc irq vectors on DRIVER_OK

Shannon Nelson (3):
  pds_vdpa: always allow offering VIRTIO_NET_F_MAC
  pds_vdpa: clean and reset vqs entries
  pds_vdpa: fix up debugfs feature bit printing

 drivers/vdpa/pds/debugfs.c  |  15 ++-
 drivers/vdpa/pds/vdpa_dev.c | 176 +++++++++++++++++++++++++-----------
 drivers/vdpa/pds/vdpa_dev.h |   5 +-
 3 files changed, 134 insertions(+), 62 deletions(-)