> > +/* 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);
> >
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
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
3 matches
Mail list logo