From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) by dpdk.org (Postfix) with ESMTP id DFE8A376E for ; Mon, 28 Mar 2016 19:05:40 +0200 (CEST) Received: by mail-lb0-f181.google.com with SMTP id vo2so32833175lbb.1 for ; Mon, 28 Mar 2016 10:05:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=9Cwken826viP1HlBvq6/ca+WLJ2OiUUFd2mSq0ISg5M=; b=IW3hP0Ik/h00BOu798cYDHbIWdz8m0AaWWOzuiIw/cMTYq/WnIuwBiIXGAGs1NJ7Ss 8YPEo0IBeOgPBy6R24ZtrXe7ffgffVEcVLXOexNSliHLVmyOLsNLDzN2Y0hLtHQKklUH OM8e4bIF72TUSOg11lE6v81SoZ10F1d/GbxOl14gZBtsJ9gsNgkh2TWw17q1SJndEpOC N3CAq5PHSWfyLnRqKT/wH807k0EMrXx442wcXga7PsceiGS5gmEoRgQlPcix/nO2CqDc PzfZ2Vvh0ftLzyqLuCDi1rhhdZzkCpY0ycq6/RwidhK1zdimXn9O6nAAX3tZ3ygT8dez KQLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=9Cwken826viP1HlBvq6/ca+WLJ2OiUUFd2mSq0ISg5M=; b=S3Yo26xmN47OWHQKA+AYvYzV45cSlwBpkX7JVU4hXfyV5pQZBUpEe2vUfbOngHDI/1 mcYWDW8j9/6X1MlFG5ByCXwlov+f95bI8f+XcPnJI2cRRCYFtf+sLBvQy9BqPbi/xpl3 Jzn8sd8I0t7jtp9Z4tFXig5e7TqfwTcZrYxwXEly8RI+hij3TjHrdhftngB4JGg6oiws eFP5BGpDGHZoy3nKpcyFH+wfsi04k++yaKxfdYu+TMzs/TbQelVIH2yyJejJV0+3xIho 0Iiy+j1b+lcu0/imiaNuoXmOTTAL1Cw4hxGLS3sbCB/thD4JSGETQlWPDfZxbkgAYYWY bcuA== X-Gm-Message-State: AD7BkJLLwteoHOoWpMyNAMi30DgNAqDw7CPI9vsGDX4QInqAa6JSbiqHPG522pmD2AKBOIP/vQrdDy4ZzhxylQ== MIME-Version: 1.0 X-Received: by 10.112.13.33 with SMTP id e1mr8540542lbc.79.1459184740398; Mon, 28 Mar 2016 10:05:40 -0700 (PDT) Received: by 10.114.233.36 with HTTP; Mon, 28 Mar 2016 10:05:40 -0700 (PDT) In-Reply-To: References: Date: Mon, 28 Mar 2016 10:05:40 -0700 Message-ID: From: Clarylin L To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 17:05:41 -0000 Any pointers to what the issue could be? thanks On Fri, Mar 25, 2016 at 4:13 PM, Clarylin L 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? > > Appreciate any input! Thanks. >