From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com [209.85.217.169]) by dpdk.org (Postfix) with ESMTP id CCA675934 for ; Sat, 26 Mar 2016 00:13:14 +0100 (CET) Received: by mail-lb0-f169.google.com with SMTP id qe11so54453197lbc.3 for ; Fri, 25 Mar 2016 16:13:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=KoQ6TaZkn6ciQoiIWrxot0qr6Nbm7Kmx/2nCoOhbAJY=; b=dpGYNbERbraXTfChSu/HNYufuDwShJZv9BlJsUtwlOEDzujqZeWcW+rckeq3DSbgpH DegKounsT7jmfAVV871WtV3J2Ud/RFTDxP+8IR79FQ749uEvqoB+aKMvizr33w/kXd1i KlVJRdyfzQMRGfSUI0IEL4I2WML4GsQRIjY3cQxBSO48n0eMraX3Wf4Sl9n4640C27Mx yDJ0fZLvAh9HLdxlCmb/OZuI8laubzocP6QFxZysv44E2RkJOX9/UvQ9jQlOstB+vNUB RwwD74cgmyjA14LbKOmjEkE6z9fa7XvEKPSBu2m2szp76OyuuYKqUfy8yzZiweqnHtfj Wtxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=KoQ6TaZkn6ciQoiIWrxot0qr6Nbm7Kmx/2nCoOhbAJY=; b=Y6V0+0Fb/2KqQ95X98Ww39VAG8Re7ztd9H3CPoV+vm/tCRXvqqwlEo9BuNr+IJwDYl x57NqW0amF4hEYiHhlo30wMvuneTW6zf/SmXM3HOz4umpVuRw85As323ck+ZBBEgUQDJ eCSq9+huCDde2Z3nnJ+NwkrQ4qR/yIeItC0HG2LwoIXNS34ZjgE7Dv/VsR2wE8b/aTri 9cCOhyHAzEMNYHJ+Uyl3jTfWIzdnDmft6ZByHgSgk4UNMr8JsnXE23dj0fBBVgQBqCug CFlq4kJQLC7dPxZwqv2O88FfJHyIYN8kR/8GWnVWeWjo9e2Zthylx9/zaiID0jcZfaQE HzIg== X-Gm-Message-State: AD7BkJIHT7lhOFpbWnnOB59w/wNLZET4wtuCKwBmfwmOYptuckQtaAudzOjADsgQk8cbxUOZlO8pnCqmJFfflw== MIME-Version: 1.0 X-Received: by 10.112.97.162 with SMTP id eb2mr6332084lbb.132.1458947594404; Fri, 25 Mar 2016 16:13:14 -0700 (PDT) Received: by 10.114.233.36 with HTTP; Fri, 25 Mar 2016 16:13:14 -0700 (PDT) Date: Fri, 25 Mar 2016 16:13:14 -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: [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: Fri, 25 Mar 2016 23:13:15 -0000 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.