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 <[email protected]>
> Reviewed-by: Hyong Youb Kim <[email protected]>
net/enic: fix counter action