From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier MATZ Subject: Re: [PATCHv2] app/ and examples/ fix default mbuf size Date: Thu, 30 Apr 2015 11:26:56 +0200 Message-ID: <5541F560.8010701@6wind.com> References: <1430350311-2368-1-git-send-email-konstantin.ananyev@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit To: Konstantin Ananyev , dev-VfR2kkLFssw@public.gmane.org Return-path: In-Reply-To: <1430350311-2368-1-git-send-email-konstantin.ananyev-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" Hi Konstantin, On 04/30/2015 01:31 AM, Konstantin Ananyev wrote: > 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 Thanks