From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 0C44C1B4EF; Thu, 12 Jul 2018 06:56:12 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Jul 2018 21:56:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,341,1526367600"; d="scan'208";a="64087765" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by FMSMGA003.fm.intel.com with ESMTP; 11 Jul 2018 21:56:10 -0700 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 11 Jul 2018 21:56:09 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX112.amr.corp.intel.com (10.18.116.6) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 11 Jul 2018 21:56:09 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.100]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.173]) with mapi id 14.03.0319.002; Thu, 12 Jul 2018 12:56:07 +0800 From: "Zhang, Qi Z" To: "Li, Xiaoyun" , "Lu, Wenzhuo" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH v2] app/testpmd: fix little perf drop with XL710 Thread-Index: AQHUGL7qV8imM3UhEkac7mFauA28i6SLBpww Date: Thu, 12 Jul 2018 04:56:07 +0000 Message-ID: <039ED4275CED7440929022BC67E70611532594FA@SHSMSX103.ccr.corp.intel.com> References: <1531189709-312497-1-git-send-email-xiaoyun.li@intel.com> <1531275335-29234-1-git-send-email-xiaoyun.li@intel.com> In-Reply-To: <1531275335-29234-1-git-send-email-xiaoyun.li@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZWUzMjVhNzgtZDlkNC00MTZjLWIxMTgtNTg4MGEzNjhkZThlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiWDVLYWdkTk1YaCtwaEdGV2wwNDVCNmZjNFJyM0hQdGZtOFBTXC9FVEtZS0VkWEhDbW9pdjVVQ1BmOXZaM3I0cWYifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] app/testpmd: fix little perf drop with XL710 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2018 04:56:13 -0000 > -----Original Message----- > From: Li, Xiaoyun > Sent: Wednesday, July 11, 2018 10:16 AM > To: Zhang, Qi Z ; Lu, Wenzhuo > Cc: dev@dpdk.org; Li, Xiaoyun ; stable@dpdk.org > Subject: [PATCH v2] app/testpmd: fix little perf drop with XL710 >=20 > There is about 1.8M perf drop with XL710. And it is because of a bitrate > calculation in the datapath. So improve it by maintaining an array of por= t > indexes in testpmd, which is updated with ethdev events. >=20 > Fixes: 8728ccf37615 ("fix ethdev ports enumeration") > Cc: stable@dpdk.org >=20 > Signed-off-by: Xiaoyun Li Reviewed-by: Qi Zhang