[dpdk-dev] [PATCH v2] net/enic: fix counter action
Ferruh Yigit
ferruh.yigit at intel.com
Fri Oct 12 11:33:47 CEST 2018
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 <johndale at cisco.com>
> Reviewed-by: Hyong Youb Kim <hyonkim at cisco.com>
net/enic: fix counter action
More information about the dev
mailing list