On Wed, Apr 04, 2018 at 09:33:20AM +0200, Maxime Coquelin wrote:
On 03/16/2018 04:21 PM, Jens Freimann wrote:
Add and initialize descriptor data structures.
Signed-off-by: Jens Freimann <jfreim...@redhat.com>
---
drivers/net/virtio/virtio_ethdev.c | 22 ++++++++++++----------
drivers/net/virtio/virtio_pci.h | 8 ++++++++
drivers/net/virtio/virtio_ring.h | 25 +++++++++++++++++++++++--
drivers/net/virtio/virtqueue.h | 10 ++++++++++
4 files changed, 53 insertions(+), 12 deletions(-)
diff --git a/drivers/net/virtio/virtio_ethdev.c
b/drivers/net/virtio/virtio_ethdev.c
index 884f74a..ce4f53d 100644
--- a/drivers/net/virtio/virtio_ethdev.c
+++ b/drivers/net/virtio/virtio_ethdev.c
@@ -299,19 +299,21 @@ struct rte_virtio_xstats_name_off {
PMD_INIT_FUNC_TRACE();
- /*
- * Reinitialise since virtio port might have been stopped and restarted
- */
Are you sure the comment has to be removed?
Fixed in v3. Thanks!
regards,
Jens