The structure virtio_net_config_ll is moved to virtio_net.c.
It is related to internal virtio device management,
so it should not be exposed to other files.
Signed-off-by: Huawei Xie <huawei.xie@intel.com>
Acked-by: Changchun Ouyang <changchun.ouyang@intel.com>
uint32_t flags; /* Device flags. Only used to check if device is running on data core. */
} __rte_cache_aligned;
-/*
- * Device linked list structure for configuration.
- */
-struct virtio_net_config_ll
-{
- struct virtio_net dev; /* Virtio device. */
- struct virtio_net_config_ll *next; /* Next entry on linked list. */
-};
-
/*
* Information relating to memory regions including offsets to addresses in QEMUs memory file.
*/
#include "vhost-net-cdev.h"
#include "eventfd_link/eventfd_link.h"
+/**
+ * Device linked list structure for configuration.
+ */
+struct virtio_net_config_ll {
+ struct virtio_net dev; /* Virtio device. */
+ struct virtio_net_config_ll *next; /* Next entry on linked list. */
+};
+
const char eventfd_cdev[] = "/dev/eventfd-link";
/* device ops to add/remove device to data core. */