[dpdk-dev] virtio: Update max RX packet length
diff mbox

Message ID 1409632830-28539-1-git-send-email-changchun.ouyang@intel.com
State Superseded, archived
Headers show

Commit Message

Ouyang Changchun Sept. 2, 2014, 4:40 a.m. UTC
Update max RX packet length since virtio PMD has the capability of receiving and transmitting jumbo frame.

Signed-off-by: Changchun Ouyang <changchun.ouyang@intel.com>
Tested-by: Jingguo Fu <jingguox.fu@intel.com>

---
 lib/librte_pmd_virtio/virtio_ethdev.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox

diff --git a/lib/librte_pmd_virtio/virtio_ethdev.h b/lib/librte_pmd_virtio/virtio_ethdev.h
index d2e1eed..1da3c62 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 \