Skip to content

pds_vdpa: mac, reset, and irq updates

Shannon Nelson netdev virtualization 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 4 repliesIn review
  2. v14 patches 9 repliesSuperseded

Changes in v2 from the cover letter

- 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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5pds_vdpa: reset to vdpa specified macdrivers/vdpa/pds/vdpa_dev.c drivers/vdpa/pds/vdpa_dev.h+9 -81 reply
2/5pds_vdpa: always allow offering VIRTIO_NET_F_MACdrivers/vdpa/pds/debugfs.c drivers/vdpa/pds/vdpa_dev.c drivers/vdpa/pds/vdpa_dev.h+23 -131 reply
3/5pds_vdpa: clean and reset vqs entriesdrivers/vdpa/pds/vdpa_dev.c+17 -71 reply
4/5pds_vdpa: alloc irq vectors on DRIVER_OKdrivers/vdpa/pds/vdpa_dev.c+81 -290 replies
5/5pds_vdpa: fix up debugfs feature bit printingdrivers/vdpa/pds/debugfs.c+6 -71 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchJason Wang
1/5A-b
2/5A-b
3/5A-b
4/5A-b
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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(-)
Signature · 1 line
2.17.1