From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by dpdk.org (Postfix) with ESMTP id DEDD7C436 for ; Mon, 11 May 2015 17:03:57 +0200 (CEST) Received: by wief7 with SMTP id f7so88464951wie.0 for ; Mon, 11 May 2015 08:03:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=bbvdo5P9RgrZt5jJjSn36xhbtvoJ6rCE3Zo2kign6ME=; b=gf5NTBeSRSpCr0bTXWkhJvTDpYiUcRNWzoeMycZB4f7bPFTLZ0OciHD5RqKkKyY9Ej j13lf4EwG1BY2VIK63WFjoJrLZS3WJ5+z42db3eVmyK56KArLoDUQNzMZLor8Ec0t/pe 9gao4wmrXl3EVx7UDLLpsYb01ltySYr6HXwvdKdXG1zUTEfVwszfgvAk4qojF+MHOWUC 8UDyfvT/HGRZ5gjRU0oSnVZyYkUI5wTxFJOC55HY7FrgecMeFGUcsHhYSwsQHqpMqxzT xDbHZxzOWZFBUYYpcC+gfr80boUTauxXdBnGU7CtuigO1v2/Tv34l1JVUDXHtCut0TjN hwcQ== X-Gm-Message-State: ALoCoQnBuig9z3nzGBJrR1bSRHtOmD3WcfkXJZE0PYrsBrNRBjBs1eKQOh4fTdOSL+1aFzDozzKl X-Received: by 10.180.85.42 with SMTP id e10mr21083337wiz.17.1431356637742; Mon, 11 May 2015 08:03:57 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id bm9sm23252443wjc.21.2015.05.11.08.03.55 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 May 2015 08:03:56 -0700 (PDT) From: Thomas Monjalon To: Konstantin Ananyev Date: Mon, 11 May 2015 17:03:15 +0200 Message-ID: <2490184.vOr9Egcnay@xps13> Organization: 6WIND User-Agent: KMail/4.14.7 (Linux/4.0.1-1-ARCH; KDE/4.14.7; x86_64; ; ) In-Reply-To: <5541F560.8010701@6wind.com> References: <1430350311-2368-1-git-send-email-konstantin.ananyev@intel.com> <5541F560.8010701@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCHv2] app/ and examples/ fix default mbuf size 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, 11 May 2015 15:03:58 -0000 > > v2 changes: > > - add a new macro into rte_mbuf.h > > - make samples to use that new macro > > > > > > Fixes: dfb03bbe2b ("app/testpmd: use standard functions to initialize > > mbufs and mbuf pool"). > > Latest mbuf changes (priv_size addition and related fixes) > > exposed small problem with testpmd and few other sample apps: > > when mbuf size is exaclty 2KB or less, that causes > > ixgbe PMD to select scattered RX even for configs with 'normal' > > max packet length (max_rx_pkt_len == ETHER_MAX_LEN). > > To overcome that problem and unify the code, new macro was created > > to represent recommended minimal buffer length for mbuf. > > When appropriate, samples are updated to use that macro. > > > > Signed-off-by: Konstantin Ananyev > > Acked-by: Olivier Matz Applied, thanks