Re: [dpdk-dev] [PATCH v2 05/10] dma/ioat: add start and stop functions

2021-09-07 Thread Walsh, Conor
> > +/* Stop a configured device. */ > > +static int > > +ioat_dev_stop(struct rte_dmadev *dev) > > +{ > > + struct ioat_dmadev *ioat = dev->dev_private; > > + > > + ioat->regs->chancmd = IOAT_CHANCMD_SUSPEND; > > + /* Allow the device time to suspend itself. */ > > + rte_delay_ms(1); > >

Re: [dpdk-dev] [PATCH v2 05/10] dma/ioat: add start and stop functions

2021-09-07 Thread Kevin Laatz
On 03/09/2021 12:17, Conor Walsh wrote: Add start, stop and recover functions for IOAT devices. Signed-off-by: Conor Walsh Signed-off-by: Bruce Richardson --- doc/guides/dmadevs/ioat.rst| 3 ++ drivers/dma/ioat/ioat_dmadev.c | 87 ++ 2 files changed, 90 i

[dpdk-dev] [PATCH v2 05/10] dma/ioat: add start and stop functions

2021-09-03 Thread Conor Walsh
Add start, stop and recover functions for IOAT devices. Signed-off-by: Conor Walsh Signed-off-by: Bruce Richardson --- doc/guides/dmadevs/ioat.rst| 3 ++ drivers/dma/ioat/ioat_dmadev.c | 87 ++ 2 files changed, 90 insertions(+) diff --git a/doc/guides/dmade