From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <bruce.richardson@intel.com>
Received: from mga14.intel.com (mga14.intel.com [192.55.52.115])
 by dpdk.org (Postfix) with ESMTP id ED50A5587
 for <dev@dpdk.org>; Tue, 29 Mar 2016 11:24:32 +0200 (CEST)
Received: from fmsmga004.fm.intel.com ([10.253.24.48])
 by fmsmga103.fm.intel.com with ESMTP; 29 Mar 2016 02:24:32 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.24,410,1455004800"; d="scan'208";a="75071415"
Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.221.48])
 by fmsmga004.fm.intel.com with SMTP; 29 Mar 2016 02:24:30 -0700
Received: by  (sSMTP sendmail emulation); Tue, 29 Mar 2016 10:24:29 +0025
Date: Tue, 29 Mar 2016 10:24:29 +0100
From: Bruce Richardson <bruce.richardson@intel.com>
To: Clarylin L <clearasu@gmail.com>
Cc: dev@dpdk.org
Message-ID: <20160329092429.GB17800@bricha3-MOBL3>
References: <CAKj5MjtvX=1=Dka7_78_qNhRF_bUH_GaJvpT5WjUwrASTn3ZBg@mail.gmail.com>
 <CAKj5MjtR0qD3r3bG6JUbzO0SNSu4_4o+g1wwmN--KzjTdhYvjQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAKj5MjtR0qD3r3bG6JUbzO0SNSu4_4o+g1wwmN--KzjTdhYvjQ@mail.gmail.com>
Organization: Intel Shannon Ltd.
User-Agent: Mutt/1.5.23 (2014-03-12)
Subject: Re: [dpdk-dev] Unable to get multi-segment mbuf working for ixgbe
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Mar 2016 09:24:33 -0000

On Mon, Mar 28, 2016 at 10:05:40AM -0700, Clarylin L wrote:
> Any pointers to what the issue could be? thanks
> 
> On Fri, Mar 25, 2016 at 4:13 PM, Clarylin L <clearasu@gmail.com> wrote:
> 
> > Hello,
> >
> > I am trying to use multi-segment mbuf to receive large packet. I enabled
> > jumbo_frame and enable_scatter for the port and was expecting mbuf chaining
> > would be used to receive packets larger than the mbuf size (which was set
> > to 2048).
> >
> > When sending 3000-byte (without fragmentation) packet from another
> > non-dpdk host, I didn't see packet was received by the ixgbe PMD driver.
> >
> > After a quick debugging session I found that the following statement in ixgbe_recv_scattered_pkts
> > (ixgbe_rxtx.c) is
> > always true and break the loop in case of large packet, while it's not the
> > case for small packet (smaller than mbuf size):
> >
> > if (! staterr & rte_cpu_to_le32(IXGBE_RXDADV_STAT_DD))
> >     break;
> >
> > Is enabling jumbo_frame and enable_scatter good enough to get started the
> > mbuf chaining?

What did you configure for the max MTU for jumbo frames? What do the port stats
and extended stats (xstats) report. Is there an error counter there that is
incrementing that could give a hint as to what the problem is.

/Bruce

> >
> > Appreciate any input! Thanks.
> >