X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fvirtio%2Fvirtio_ethdev.h;h=5a501e7890048f5f35d00f4a1c591f82baea8532;hb=21b1677d87a23a9695be0cbcbdf38607a2d58f84;hp=b7d52d497fef10a4c66f4cfccdb1be3f175f8153;hpb=6494b9a9b2397282193050b78a21e5c4b72e3c58;p=dpdk.git diff --git a/drivers/net/virtio/virtio_ethdev.h b/drivers/net/virtio/virtio_ethdev.h index b7d52d497f..5a501e7890 100644 --- a/drivers/net/virtio/virtio_ethdev.h +++ b/drivers/net/virtio/virtio_ethdev.h @@ -7,11 +7,9 @@ #include -#include "virtio_pci.h" +#include -#ifndef PAGE_SIZE -#define PAGE_SIZE 4096 -#endif +#include "virtio.h" #define VIRTIO_MAX_RX_QUEUES 128U #define VIRTIO_MAX_TX_QUEUES 128U @@ -117,6 +115,8 @@ void virtio_interrupt_handler(void *param); int virtio_dev_pause(struct rte_eth_dev *dev); void virtio_dev_resume(struct rte_eth_dev *dev); +int virtio_dev_stop(struct rte_eth_dev *dev); +int virtio_dev_close(struct rte_eth_dev *dev); int virtio_inject_pkts(struct rte_eth_dev *dev, struct rte_mbuf **tx_pkts, int nb_pkts);