Re: [dpdk-dev] [PATCH v2] net/enic: fix counter action

2018-10-12 Thread Ferruh Yigit
On 10/12/2018 10:33 AM, Ferruh Yigit wrote: > 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

Re: [dpdk-dev] [PATCH v2] net/enic: fix counter action

2018-10-12 Thread Ferruh Yigit
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

[dpdk-dev] [PATCH v2] net/enic: fix counter action

2018-10-10 Thread John Daley
- 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