[dpdk-dev,v2] virtio: Update max RX packet length

Message ID 1413171972-3809-1-git-send-email-changchun.ouyang@intel.com (mailing list archive)
State Accepted, archived
Headers

Commit Message

Ouyang Changchun Oct. 13, 2014, 3:46 a.m. UTC
  Update max RX packet length since virtio PMD has the capability of receiving and transmitting jumbo frame.

This following patch provides the above capability:
[dpdk-dev,v3] virtio: Support mergeable buffer in virtio pmd
  Submitter Ouyang Changchun 
  Date Aug. 14, 2014, 8:54 a.m. 
  Message ID <1408006475-17606-1-git-send-email-changchun.ouyang@intel.com> 
  Permalink http://dpdk.org/dev/patchwork/patch/159/

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(-)
  

Comments

Thomas Monjalon Oct. 15, 2014, 2:21 p.m. UTC | #1
2014-10-13 11:46, Ouyang Changchun:
> Update max RX packet length since virtio PMD has the capability of receiving and transmitting jumbo frame.
> 
> This following patch provides the above capability:
> [dpdk-dev,v3] virtio: Support mergeable buffer in virtio pmd
>   Submitter Ouyang Changchun 
>   Date Aug. 14, 2014, 8:54 a.m. 
>   Message ID <1408006475-17606-1-git-send-email-changchun.ouyang@intel.com> 
>   Permalink http://dpdk.org/dev/patchwork/patch/159/
> 
> Signed-off-by: Changchun Ouyang <changchun.ouyang@intel.com>
> Tested-by: Jingguo Fu <jingguox.fu@intel.com>

Applied

Thanks
  

Patch

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 \