From: Ouyang Changchun Date: Mon, 13 Oct 2014 03:46:12 +0000 (+0800) Subject: virtio: increase max Rx packet length X-Git-Tag: spdx-start~10274 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=d07982f4b1901a1774d16d91c790461148b43d44;p=dpdk.git 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 --- 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 \