[dpdk-dev] [PATCH 1/2] net/virtio: support modern device id

2016-09-05 Thread Jason Wang
On 2016?09?02? 20:57, Thomas Monjalon wrote: > 2016-09-02 14:36, Jason Wang: >> Spec said "The PCI Device ID is calculated by adding 0x1040 to the >> Virtio Device ID". So this patch makes pmd can recognize modern virtio >> net id. > Please could you describe what is a modern virtio-net? I think

[dpdk-dev] [PATCH 1/2] net/virtio: support modern device id

2016-09-02 Thread Thomas Monjalon
2016-09-02 14:36, Jason Wang: > Spec said "The PCI Device ID is calculated by adding 0x1040 to the > Virtio Device ID". So this patch makes pmd can recognize modern virtio > net id. Please could you describe what is a modern virtio-net? > #define VIRTIO_PCI_DEVICEID_MIN 0x1000 > #define VIRTIO_

[dpdk-dev] [PATCH 1/2] net/virtio: support modern device id

2016-09-02 Thread Jason Wang
Spec said "The PCI Device ID is calculated by adding 0x1040 to the Virtio Device ID". So this patch makes pmd can recognize modern virtio net id. Signed-off-by: Jason Wang --- drivers/net/virtio/virtio_ethdev.c | 1 + drivers/net/virtio/virtio_pci.h| 1 + 2 files changed, 2 insertions(+) di