From: Ferruh Yigit Subject: Re: [PATCH v2] net/enic: fix counter action Date: Fri, 12 Oct 2018 10:33:47 +0100 Message-ID: References: <20181010025258.9822-1-johndale@cisco.com> <20181010221131.12371-1-johndale@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: John Daley Return-path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 8161E1B395 for ; Fri, 12 Oct 2018 11:33:50 +0200 (CEST) In-Reply-To: <20181010221131.12371-1-johndale@cisco.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" On 10/10/2018 11:11 PM, John Daley wrote: > - track whether counter DMAs are active or not so they can be stopped if > needed before DMA memory is freed > - fix counter DMA shut-down by changing vnic_dev_counter_dma_cfg() to > take the number of counters to DMA instead of high counter index and > use num counters = 0 to shut off DMAs > - remove unnecessary checks that DMA counter memory is valid and that > counter DMAs are in use > - change the minimum DMA period to match what 1400 series adapter is > capable of > - fix comments and change a couple variable names to make more sense > > Fixes: fc6dec87f4cb ("net/enic: support flow counter action") > > Signed-off-by: John Daley > Reviewed-by: Hyong Youb Kim net/enic: fix counter action