From d07982f4b1901a1774d16d91c790461148b43d44 Mon Sep 17 00:00:00 2001 From: Ouyang Changchun Date: Mon, 13 Oct 2014 11:46:12 +0800 Subject: [PATCH] virtio: increase max Rx packet length Since commit 13ce5e7eb94 ("virtio: mergeable buffers"), this driver has the capability of receiving and transmitting jumbo frame. So update max Rx packet length. Signed-off-by: Changchun Ouyang Tested-by: Jingguo Fu --- lib/librte_pmd_virtio/virtio_ethdev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_pmd_virtio/virtio_ethdev.h b/lib/librte_pmd_virtio/virtio_ethdev.h index d2e1eede15..1da3c625d8 100644 --- a/lib/librte_pmd_virtio/virtio_ethdev.h +++ b/lib/librte_pmd_virtio/virtio_ethdev.h @@ -53,7 +53,7 @@ #define VIRTIO_MAX_TX_QUEUES 128 #define VIRTIO_MAX_MAC_ADDRS 1 #define VIRTIO_MIN_RX_BUFSIZE 64 -#define VIRTIO_MAX_RX_PKTLEN 1518 +#define VIRTIO_MAX_RX_PKTLEN 9728 /* Features desired/implemented by this driver. */ #define VTNET_FEATURES \ -- 2.20.1