From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Lu, Wenzhuo" Subject: Re: [PATCH v3] app/testpmd: fix little perf drop Date: Mon, 16 Jul 2018 03:02:10 +0000 Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC09093B804DF9@shsmsx102.ccr.corp.intel.com> References: <1531275335-29234-1-git-send-email-xiaoyun.li@intel.com> <1531382146-13819-1-git-send-email-xiaoyun.li@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" , "stable@dpdk.org" To: "Li, Xiaoyun" , "Zhang, Qi Z" Return-path: In-Reply-To: <1531382146-13819-1-git-send-email-xiaoyun.li@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi, > -----Original Message----- > From: Li, Xiaoyun > Sent: Thursday, July 12, 2018 3:56 PM > To: Zhang, Qi Z ; Lu, Wenzhuo > > Cc: dev@dpdk.org; Li, Xiaoyun ; stable@dpdk.org > Subject: [PATCH v3] app/testpmd: fix little perf drop >=20 > There is about 3% perf drop. And it is because of a bitrate calculation i= n the > datapath. So improve it by maintaining an array of port indexes in testpm= d, > which is updated with ethdev events. >=20 > Fixes: 8728ccf37615 ("fix ethdev ports enumeration") > Cc: stable@dpdk.org >=20 > Signed-off-by: Xiaoyun Li Acked-by: Wenzhuo Lu