From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 4DAE91B55C; Thu, 25 Apr 2019 09:07:01 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Apr 2019 00:07:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,392,1549958400"; d="scan'208";a="294388341" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga004.jf.intel.com with ESMTP; 25 Apr 2019 00:06:59 -0700 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 25 Apr 2019 00:06:59 -0700 Received: from shsmsx153.ccr.corp.intel.com (10.239.6.53) by FMSMSX112.amr.corp.intel.com (10.18.116.6) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 25 Apr 2019 00:06:59 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.93]) by SHSMSX153.ccr.corp.intel.com ([169.254.12.139]) with mapi id 14.03.0415.000; Thu, 25 Apr 2019 15:06:57 +0800 From: "Zhang, Qi Z" To: "Su, Simei" , "qi.zi.zhang@intel.com" , "Lu, Wenzhuo" , "Yang, Qiming" CC: "dev@dpdk.org" , "Su, Simei" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [DPDK] net/ice: fix Rx statistics Thread-Index: AQHU+nH1EWXUndY71kG6OdM0bVXns6ZMdeYg Date: Thu, 25 Apr 2019 07:06:57 +0000 Message-ID: <039ED4275CED7440929022BC67E706115336F7C0@SHSMSX103.ccr.corp.intel.com> References: <1556089570-44487-1-git-send-email-simei.su@intel.com> In-Reply-To: <1556089570-44487-1-git-send-email-simei.su@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNjI0OTYyYzAtNGIyMC00NTEwLWE4MDUtODQxNzg5YzhlZTgzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiNUVHR2N3dktHVmZPT0M4enYySWU1WlJrMFoxUFBmcm93OXd0VmIwS1BYOE9MbGUzS0RQTGNPVFcyVjFybDNpbiJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 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] [DPDK] net/ice: fix Rx statistics 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, 25 Apr 2019 07:07:01 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of simei > Sent: Wednesday, April 24, 2019 3:06 PM > To: qi.zi.zhang@intel.com; Lu, Wenzhuo ; Yang, > Qiming > Cc: dev@dpdk.org; Su, Simei ; stable@dpdk.org > Subject: [dpdk-dev] [DPDK] net/ice: fix Rx statistics >=20 > The RX stats will increase even no packets sent, this patch fix this issu= e by > modifying ipackets and ibytes statistics based on vsi instead of port to = avoid > statistics error. >=20 > Fixes: a37bde56314d ("net/ice: support statistics") > Cc: stable@dpdk.org >=20 > Signed-off-by: Simei Su Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id F055EA05D3 for ; Thu, 25 Apr 2019 09:07:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6DAA91B564; Thu, 25 Apr 2019 09:07:03 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 4DAE91B55C; Thu, 25 Apr 2019 09:07:01 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Apr 2019 00:07:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,392,1549958400"; d="scan'208";a="294388341" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga004.jf.intel.com with ESMTP; 25 Apr 2019 00:06:59 -0700 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 25 Apr 2019 00:06:59 -0700 Received: from shsmsx153.ccr.corp.intel.com (10.239.6.53) by FMSMSX112.amr.corp.intel.com (10.18.116.6) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 25 Apr 2019 00:06:59 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.93]) by SHSMSX153.ccr.corp.intel.com ([169.254.12.139]) with mapi id 14.03.0415.000; Thu, 25 Apr 2019 15:06:57 +0800 From: "Zhang, Qi Z" To: "Su, Simei" , "qi.zi.zhang@intel.com" , "Lu, Wenzhuo" , "Yang, Qiming" CC: "dev@dpdk.org" , "Su, Simei" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [DPDK] net/ice: fix Rx statistics Thread-Index: AQHU+nH1EWXUndY71kG6OdM0bVXns6ZMdeYg Date: Thu, 25 Apr 2019 07:06:57 +0000 Message-ID: <039ED4275CED7440929022BC67E706115336F7C0@SHSMSX103.ccr.corp.intel.com> References: <1556089570-44487-1-git-send-email-simei.su@intel.com> In-Reply-To: <1556089570-44487-1-git-send-email-simei.su@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNjI0OTYyYzAtNGIyMC00NTEwLWE4MDUtODQxNzg5YzhlZTgzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiNUVHR2N3dktHVmZPT0M4enYySWU1WlJrMFoxUFBmcm93OXd0VmIwS1BYOE9MbGUzS0RQTGNPVFcyVjFybDNpbiJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [DPDK] net/ice: fix Rx statistics 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190425070657.IHOlye268dKjKcProxEOnTCuzlsQ4Dzn0EYGCUWFSTo@z> > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of simei > Sent: Wednesday, April 24, 2019 3:06 PM > To: qi.zi.zhang@intel.com; Lu, Wenzhuo ; Yang, > Qiming > Cc: dev@dpdk.org; Su, Simei ; stable@dpdk.org > Subject: [dpdk-dev] [DPDK] net/ice: fix Rx statistics >=20 > The RX stats will increase even no packets sent, this patch fix this issu= e by > modifying ipackets and ibytes statistics based on vsi instead of port to = avoid > statistics error. >=20 > Fixes: a37bde56314d ("net/ice: support statistics") > Cc: stable@dpdk.org >=20 > Signed-off-by: Simei Su Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi