> From: Thomas Monjalon <tho...@monjalon.net>
> Sent: Tuesday 22 February 2022 11:41
> To: dev@dpdk.org
> Cc: Richardson, Bruce <bruce.richard...@intel.com>; sta...@dpdk.org;
> Chengwen Feng <fengcheng...@huawei.com>; Laatz, Kevin
> <kevin.la...@intel.com>; Morten Brørup <m...@smartsharesystems.com>;
> Walsh, Conor <conor.wa...@intel.com>
> Subject: [PATCH] dmadev: add missing header include
> 
> 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: sta...@dpdk.org
> 
> Signed-off-by: Thomas Monjalon <tho...@monjalon.net>
> ---

Acked-by: Conor Walsh <conor.wa...@intel.com>

Reply via email to