Thread (122 messages) 122 messages, 8 authors, 2016-02-03

Re: [PATCH v7 0/9] virtio 1.0 enabling for virtio pmd driver

From: Thomas Monjalon <hidden>
Date: 2016-02-03 15:10:38

2016-02-02 21:48, Yuanhan Liu:
v7: - make checkpatch a bit happier; few (false) warnings still left.

    - rebase to latest code: fixed a conflict.

v6: unfold IO_READ/WRITE_DEF macro

v5: minor fixes:

    - fix wrong type of arg "offset" of read/write_dev_config(): patch 2
      is newly added for that.

    - check "offset + length" overflow

Almost all difference comes from virtio 1.0 are the PCI layout change:
the major configuration structures are stored at bar space, and their
location is stored at corresponding pci cap structure. Reading/parsing
them is one of the major work of patch 8.

To make handling virtio v1.0 and v0.95 co-exist well, this patch set
introduces a virtio_pci_ops structure, to add another layer so that
we could keep those vtpci_foo_bar "APIs". With that, we could do the
minimum change to add virtio 1.0 support.
Applied, thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help