Re: [PATCH] dmadev: add missing header include

2022-02-22 Thread Thomas Monjalon
22/02/2022 12:48, Bruce Richardson: > On Tue, Feb 22, 2022 at 12:41:04PM +0100, Thomas Monjalon wrote: > > When checking C++ compatibility of SDK headers, > > an error is detected by the compiler: > > > > lib/dmadev/rte_dmadev_pmd.h:95:23: error: > > ‘RTE_DEV_NAME_MAX_LEN’ undeclared here (not in

RE: [PATCH] dmadev: add missing header include

2022-02-22 Thread Walsh, Conor
> From: Thomas Monjalon > Sent: Tuesday 22 February 2022 11:41 > To: dev@dpdk.org > Cc: Richardson, Bruce ; sta...@dpdk.org; > Chengwen Feng ; Laatz, Kevin > ; Morten Brørup ; > Walsh, Conor > Subject: [PATCH] dmadev: add missing header include > > When checking C+

Re: [PATCH] dmadev: add missing header include

2022-02-22 Thread Bruce Richardson
On Tue, Feb 22, 2022 at 12:41:04PM +0100, Thomas Monjalon wrote: > When checking C++ compatibility of SDK headers, > an error is detected by the compiler: > > lib/dmadev/rte_dmadev_pmd.h:95:23: error: > ‘RTE_DEV_NAME_MAX_LEN’ undeclared here (not in a function) > > The header file rte_dev.h must

[PATCH] dmadev: add missing header include

2022-02-22 Thread Thomas Monjalon
When checking C++ compatibility of SDK headers, an error is detected by the compiler: lib/dmadev/rte_dmadev_pmd.h:95:23: error: ‘RTE_DEV_NAME_MAX_LEN’ undeclared here (not in a function) The header file rte_dev.h must be included. Fixes: b36970f2e13e ("dmadev: introduce DMA device library") Cc: