[dpdk-dev] crypto/qat: fix compile of qat on freebsd
Commit Message
Using sys/types.h instead of linux/types.h
so as to compile QAT_PMD on freebsd.
Fixes: 1703e94ac5ce ("qat: add driver for QuickAssist devices")
Signed-off-by: Deepak Kumar Jain <deepak.k.jain@intel.com>
---
drivers/crypto/qat/qat_adf/icp_qat_fw.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
> -----Original Message-----
> From: Jain, Deepak K
> Sent: Wednesday, September 21, 2016 4:23 AM
> To: dev@dpdk.org
> Cc: Gonzalez Monroy, Sergio; De Lara Guarch, Pablo; Jain, Deepak K
> Subject: [PATCH] crypto/qat: fix compile of qat on freebsd
>
> Using sys/types.h instead of linux/types.h
> so as to compile QAT_PMD on freebsd.
>
> Fixes: 1703e94ac5ce ("qat: add driver for QuickAssist devices")
>
> Signed-off-by: Deepak Kumar Jain <deepak.k.jain@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
This should get merged in the stable subtree as well.
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of De Lara Guarch,
> Pablo
> Sent: Wednesday, September 21, 2016 10:37 AM
> To: Jain, Deepak K; dev@dpdk.org
> Cc: Gonzalez Monroy, Sergio; stable@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH] crypto/qat: fix compile of qat on freebsd
>
>
>
> > -----Original Message-----
> > From: Jain, Deepak K
> > Sent: Wednesday, September 21, 2016 4:23 AM
> > To: dev@dpdk.org
> > Cc: Gonzalez Monroy, Sergio; De Lara Guarch, Pablo; Jain, Deepak K
> > Subject: [PATCH] crypto/qat: fix compile of qat on freebsd
> >
> > Using sys/types.h instead of linux/types.h
> > so as to compile QAT_PMD on freebsd.
> >
> > Fixes: 1703e94ac5ce ("qat: add driver for QuickAssist devices")
> >
> > Signed-off-by: Deepak Kumar Jain <deepak.k.jain@intel.com>
>
> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
>
> This should get merged in the stable subtree as well.
Applied to dpdk-next-crypto.
Thanks,
Pablo
@@ -46,7 +46,7 @@
*/
#ifndef _ICP_QAT_FW_H_
#define _ICP_QAT_FW_H_
-#include <linux/types.h>
+#include <sys/types.h>
#include "icp_qat_hw.h"
#define QAT_FIELD_SET(flags, val, bitpos, mask) \