Skip to content

virtio driver fixes and cleanup

Stephen Hemminger dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5virtio: remove useless new lineslib/librte_pmd_virtio/virtio_ethdev.c+0 -61 reply
2/5virtio: don't enable/disable rx modes unless supportedlib/librte_pmd_virtio/virtio_ethdev.c+20 -01 reply
3/5virtio: don't set mac table unless negotiatedlib/librte_pmd_virtio/virtio_ethdev.c+6 -31 reply
4/5virtio: fix ring size negotiationlib/librte_pmd_virtio/virtio_ethdev.c+13 -56 replies
5/5virtio: clarify feature bit handlinglib/librte_pmd_virtio/virtio_ethdev.c lib/librte_pmd_virtio/virtio_ethdev.h lib/librte_pmd_virtio/virtio_pci.h +1 more+61 -872 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchChangchun Ouyang
1/5A-b
2/5A-b
3/5A-b
4/5
5/5

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

Read the v1 thread

Cover letter [PATCH 0/5] virtio driver fixes and cleanup

These are cleanups and enhancements to virtio driver.
The important fixes are those that allow virtio to work in non-KVM environments. The driver was not negotiating properly with the host.

Stephen Hemminger (5):
virtio: remove useless new lines
virtio: don't enable/disable rx modes unless supported
virtio: don't set mac table unless negotiated
virtio: fix ring size negotiation
virtio: clarify feature bit handling

 lib/librte_pmd_virtio/virtio_ethdev.c | 70 ++++++++++++++-----------
 lib/librte_pmd_virtio/virtio_ethdev.h | 27 ++++------
 lib/librte_pmd_virtio/virtio_pci.h    | 96 ++++++++++++++++++-----------------
 lib/librte_pmd_virtio/virtqueue.h     |  8 +--
 4 files changed, 100 insertions(+), 101 deletions(-)
Signature · 1 line
2.1.4