From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] test/pmd_perf: fix for segmentation fault Date: Tue, 07 Nov 2017 17:56:51 +0100 Message-ID: <2010243.oFjSo5Q0Sh@xps> References: <20171013142057.54980-1-michalx.k.jastrzebski@intel.com> <20171027162408.90288-1-danielx.t.mrzyglod@intel.com> <60ABE07DBB3A454EB7FAD707B4BB158213C4BCE1@IRSMSX109.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "Jastrzebski, MichalX K" , "Liang, Cunming" , "stable@dpdk.org" , "Yigit, Ferruh" , "Jain, Deepak K" To: "Mrzyglod, DanielX T" Return-path: In-Reply-To: <60ABE07DBB3A454EB7FAD707B4BB158213C4BCE1@IRSMSX109.ger.corp.intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > Error can be reproduce if we run pmd_perf_autotest with more then > > one device in such way: > > RTE>>set_rxtx_sc poll_before_xmit > > RTE>>pmd_perf_autotest > > > > if first burst was value less than MAX_PKT_BURST in the end we overwrite > > pkts_burst table for rx which was supposed for another interface. > > > > Fixes: 002ade70e933 ("app/test: measure cycles per packet in Rx/Tx") > > Cc: cunming.liang@intel.com > > Cc: stable@dpdk.org > > > > Signed-off-by: Daniel Mrzyglod > > Acked-by: Michal Jastrzebski Applied, thanks