From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 163CCA034F; Mon, 22 Feb 2021 19:14:10 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 90E6C40041; Mon, 22 Feb 2021 19:14:09 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id EBC1A4003C for ; Mon, 22 Feb 2021 19:14:07 +0100 (CET) IronPort-SDR: 2o7xHyKqBnQxgyWA6psxCJuFdAjUtLURNmZip1/4T9qr2Ay0jdGV01UCCTy5u18mzlax+4F+pE WrN9E3K8mYdg== X-IronPort-AV: E=McAfee;i="6000,8403,9903"; a="184653292" X-IronPort-AV: E=Sophos;i="5.81,197,1610438400"; d="scan'208";a="184653292" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Feb 2021 10:14:06 -0800 IronPort-SDR: sz1Ja704gXkKJjWRViNLmzucYsrYvlYly+7kOq76f7ws8o7I8BuaZgEJfL0uDjnEgMfomOZhAq oAvIALpN3KzQ== X-IronPort-AV: E=Sophos;i="5.81,197,1610438400"; d="scan'208";a="389953847" Received: from silpixa00399752.ir.intel.com (HELO silpixa00399752) ([10.237.222.27]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Feb 2021 10:14:04 -0800 Date: Mon, 22 Feb 2021 18:13:56 +0000 From: Ferruh Yigit To: Ido Goshen Cc: dev@dpdk.org Message-ID: Mail-Followup-To: Ferruh Yigit , Ido Goshen , dev@dpdk.org References: <20210201083012.28544-1-ido@cgstowernetworks.com> <20210204103357.72512-1-ido@cgstowernetworks.com> <3211966a-fa44-26b3-c460-9c2c83a9074e@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <3211966a-fa44-26b3-c460-9c2c83a9074e@intel.com> Subject: Re: [dpdk-dev] [PATCH v4 1/1] net/pcap: imissed stats support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" On Thu, Feb 04, 2021 at 06:31:45PM +0000, Ferruh Yigit wrote: > On 2/4/2021 10:33 AM, Ido Goshen wrote: > > get value from pcap_stats.ps_drop (see man pcap_stats) > > the value is adjusted in this cases: > > - port stop - pcap is closed and will lose count > > - stats reset - pcap doesn't provide reset api > > - rollover - pcap counter size is u_32 only > > > > Signed-off-by: Ido Goshen > > Acked-by: Ferruh Yigit > Applied to dpdk-next-net/main, thanks.