From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 7F31B2BD7 for ; Tue, 22 Mar 2016 11:27:44 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP; 22 Mar 2016 03:27:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,376,1455004800"; d="scan'208";a="916290326" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.220.103]) by orsmga001.jf.intel.com with SMTP; 22 Mar 2016 03:27:41 -0700 Received: by (sSMTP sendmail emulation); Tue, 22 Mar 2016 10:27:41 +0025 Date: Tue, 22 Mar 2016 10:27:40 +0000 From: Bruce Richardson To: Clarylin L Cc: dev@dpdk.org Message-ID: <20160322102740.GC19268@bricha3-MOBL3> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] multi-segment mbuf 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: Tue, 22 Mar 2016 10:27:44 -0000 On Mon, Mar 21, 2016 at 04:34:50PM -0700, Clarylin L wrote: > I am trying multi-segment mbuf, but it seems not working. > > On my target host, the mbuf size is set to 2048 and I am trying to send > large packet to it (say 2500 bytes without fragmentation) from another > host. I enabled both jumbo_frame and enable_scatter for the port. But I saw > on the target only one mbuf is received with data_len equal to 2500 (it's > supposed to be a two-mbuf chain). Although mbuf itself is not working as > expected, ping between two hosts succeeded (large ping size; no > fragmentation). > > 1. my mbuf size is only 2048. how can it support receiving such large > packet in one mbuf? > > 2.how to make it work as expected (enable multi-segment mbuf and receive > using mbuf chain when needed)? > > Appreciate your help. Hi, when you get the single mbuf with data_len == 2500, what is the buf_len value reported as? /Bruce