From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by dpdk.org (Postfix) with ESMTP id 6A2F11F7 for ; Mon, 30 Mar 2015 12:52:16 +0200 (CEST) Received: by wicne17 with SMTP id ne17so26058660wic.0 for ; Mon, 30 Mar 2015 03:52:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=c0Z5W1jafPH9MNLu/MpBxJGK0GcdhlCfmn3lNcUPmqs=; b=ygGcl8v+Xks1sM1+2iSSJrOhZb7y2cApSrxA9MtyF65x9nv0naTrFyVGE3ie5al7z8 QVmEPXbeuZ6JLE/X2A6lo9nSzM/0ZrhbruSSGgOKlssFM8GZ4cI5gIXSGjzG5LE6TQp7 IBXDipZjJ5gZKJa+lr15vdcmIWAt36NBHFweeZ5Iw/kvuebUI6YiZsXqpzIJXJIvxQue zBpRD6hozPrK6DiSodjRJiUbDo5SSEP+YC3jYRaQKOuLcnmaB4sP5Cnnj8e1ILsjLywm KNXKUrO0iwyk3kmD/Ffoz3VJAYD6ss34YgVLIb8JzXD0W4uHvm7aVgYfSr6LVpEEzreS j5PQ== X-Received: by 10.194.85.129 with SMTP id h1mr63177237wjz.147.1427712736240; Mon, 30 Mar 2015 03:52:16 -0700 (PDT) Received: from fedex ([2a02:ac8:2003:44:3e97:eff:fe44:ba89]) by mx.google.com with ESMTPSA id g2sm19535890wib.1.2015.03.30.03.52.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Mar 2015 03:52:15 -0700 (PDT) Date: Mon, 30 Mar 2015 12:52:22 +0200 From: Newman Poborsky To: dev@dpdk.org Message-ID: <20150330094416.GA22583@fedex> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Subject: [dpdk-dev] issues with packets bigger than 1500 bytes X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2015 10:52:16 -0000 Hi, I'm having some problems with dpdk on links that have packets bigger than 1500bytes. Some packets that are receieved are around 4K, and some are 9k jumbo frames. When using testpmd app, I can see a lot of RX-errors (both RX-missed and RX-badlen). When I set max packet length to 9000, RX-badlen counter stops increasing, but RX-missed still keeps growing. What is the proper way to deal with jumbo frames? I tried setting MTU to 9k, but this fails. From what I can see, you have to pass additional parameter to mp_init callback in rte_mempool_create(). Is this right? I'm not sure should I just set max packet length (like in testpmd example app), or should I (also) set MTU? Is this actually related to the original problem of having a lot of RX-missed packets? If I missed some documentation related to jumbo frames and MTU, I apologize, please point me to it. Any help is appreciated. Thank you, Newman P.