dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
From: Ouyang Changchun <changchun.ouyang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: dev-VfR2kkLFssw@public.gmane.org
Subject: [PATCH] virtio: Update max RX packet length
Date: Tue,  2 Sep 2014 12:40:30 +0800	[thread overview]
Message-ID: <1409632830-28539-1-git-send-email-changchun.ouyang@intel.com> (raw)

Update max RX packet length since virtio PMD has the capability of receiving and transmitting jumbo frame.

Signed-off-by: Changchun Ouyang <changchun.ouyang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Tested-by: Jingguo Fu <jingguox.fu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

---
 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 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 \
-- 
1.8.4.2

             reply	other threads:[~2014-09-02  4:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-02  4:40 Ouyang Changchun [this message]
     [not found] ` <1409632830-28539-1-git-send-email-changchun.ouyang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-13  3:46   ` [PATCH v2] virtio: Update max RX packet length Ouyang Changchun
     [not found]     ` <1413171972-3809-1-git-send-email-changchun.ouyang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-15 14:21       ` Thomas Monjalon
2014-10-28 14:38       ` Yan Freedland
     [not found]         ` <CEFFBC011B3590479939EA0B9311D21526916D4B-c7dmUlN0JpUFwryiss7F11muhGz1hbfE@public.gmane.org>
2014-10-28 14:48           ` Thomas Monjalon
2014-10-28 16:26             ` Yan Freedland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1409632830-28539-1-git-send-email-changchun.ouyang@intel.com \
    --to=changchun.ouyang-ral2jqcrhueavxtiumwx3w@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).