[dpdk-dev] crypto/qat: fix compile of qat on freebsd

Message ID 1474456966-113365-1-git-send-email-deepak.k.jain@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Pablo de Lara Guarch
Headers

Commit Message

Deepak Kumar JAIN Sept. 21, 2016, 11:22 a.m. UTC
  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

De Lara Guarch, Pablo Sept. 21, 2016, 5:37 p.m. UTC | #1
> -----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.
  
De Lara Guarch, Pablo Sept. 21, 2016, 6:17 p.m. UTC | #2
> -----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
  

Patch

diff --git a/drivers/crypto/qat/qat_adf/icp_qat_fw.h b/drivers/crypto/qat/qat_adf/icp_qat_fw.h
index 498ee83..5de34d5 100644
--- a/drivers/crypto/qat/qat_adf/icp_qat_fw.h
+++ b/drivers/crypto/qat/qat_adf/icp_qat_fw.h
@@ -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) \