From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id AA3211E2A0 for ; Tue, 12 Jun 2018 04:08:33 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Jun 2018 19:08:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,212,1526367600"; d="scan'208";a="48241821" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga007.jf.intel.com with ESMTP; 11 Jun 2018 19:08:32 -0700 Received: from FMSMSX110.amr.corp.intel.com (10.18.116.10) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 11 Jun 2018 19:08:32 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx110.amr.corp.intel.com (10.18.116.10) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 11 Jun 2018 19:08:31 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.223]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.82]) with mapi id 14.03.0319.002; Tue, 12 Jun 2018 10:07:37 +0800 From: "Lu, Wenzhuo" To: "Zhao1, Wei" CC: "stable@dpdk.org" , "Adrien Mazarguil (adrien.mazarguil@6wind.com)" Thread-Topic: [PATCH] net/ixgbe: add query rule stats support for FDIR Thread-Index: AQHT/LAyDmJb/4W4DkWimcggue8ayaRb4gpw//9+QICAAIlJgA== Date: Tue, 12 Jun 2018 02:07:37 +0000 Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC09093B7E83D7@shsmsx102.ccr.corp.intel.com> References: <1528189935-34943-1-git-send-email-wei.zhao1@intel.com> <1528189935-34943-2-git-send-email-wei.zhao1@intel.com> <6A0DE07E22DDAD4C9103DF62FEBC09093B7E83BB@shsmsx102.ccr.corp.intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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-stable] [PATCH] net/ixgbe: add query rule stats support for FDIR X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2018 02:08:34 -0000 Hi Wei, > -----Original Message----- > From: Zhao1, Wei > Sent: Tuesday, June 12, 2018 9:52 AM > To: Lu, Wenzhuo > Cc: stable@dpdk.org; Adrien Mazarguil (adrien.mazarguil@6wind.com) > > Subject: RE: [PATCH] net/ixgbe: add query rule stats support for FDIR >=20 > Hi,Wenzhuo >=20 > > -----Original Message----- > > From: Lu, Wenzhuo > > Sent: Tuesday, June 12, 2018 9:46 AM > > To: Zhao1, Wei > > Cc: stable@dpdk.org; Adrien Mazarguil (adrien.mazarguil@6wind.com) > > > > Subject: RE: [PATCH] net/ixgbe: add query rule stats support for FDIR > > > > Hi Wei, > > > > > -----Original Message----- > > > From: Zhao1, Wei > > > Sent: Tuesday, June 5, 2018 5:12 PM > > > To: dev@dpdk.org > > > Cc: Lu, Wenzhuo ; stable@dpdk.org; Zhao1, Wei > > > > > > Subject: [PATCH] net/ixgbe: add query rule stats support for FDIR > > > > > > There are many registeres in x550 support stats of flow director > > > filters, for example the number of added or removed rules and the > > > number match or miss match packet count for this for port, all these > > > important information can be read form registeres in x550 and > > > display with > > command xstats. > > > > > > Signed-off-by: Wei Zhao > > > --- >=20 > > 2, Looks like this info is not helpful to the users, because we cannot > > pass it to the APP. Please check 'rte_eth_stats_get', you will find > > rte layer doesn't expose the fdir stats. > > You see the old fdir APIs have the stats, like RTE_ETH_FILTER_STATS. > > As we plan to use rte_flow to replace the old APIs, maybe we need > > think about how to move the stats into rte_flow. >=20 > This stats is useful when using testpmd, it will be display in "show port= 0 > xstats ", I have use it in that way, very useful. Yes, you're right. APP can get info by xstat. Thanks for the clarification.