test/ipsec: fix compile error on BSD

Message ID 1547646341-17346-1-git-send-email-bernard.iremonger@intel.com (mailing list archive)
State Accepted, archived
Delegated to: akhil goyal
Headers
Series test/ipsec: fix compile error on BSD |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/mellanox-Performance-Testing success Performance Testing PASS
ci/intel-Performance-Testing success Performance Testing PASS
ci/Intel-compilation success Compilation OK

Commit Message

Iremonger, Bernard Jan. 16, 2019, 1:45 p.m. UTC
  Removed ip.h and in.h headers to fix unknown type errors
when compiling on BSD.

Fixes: 05fe65eb66b2 ("test/ipsec: introduce functional test")
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
---
 test/test/test_ipsec.c | 3 ---
 1 file changed, 3 deletions(-)
  

Comments

Ananyev, Konstantin Jan. 16, 2019, 2:01 p.m. UTC | #1
> -----Original Message-----
> From: Iremonger, Bernard
> Sent: Wednesday, January 16, 2019 1:46 PM
> To: dev@dpdk.org; Ananyev, Konstantin <konstantin.ananyev@intel.com>; Wu, ChangqingX <changqingx.wu@intel.com>
> Cc: Iremonger, Bernard <bernard.iremonger@intel.com>
> Subject: [PATCH] test/ipsec: fix compile error on BSD
> 
> Removed ip.h and in.h headers to fix unknown type errors
> when compiling on BSD.
> 
> Fixes: 05fe65eb66b2 ("test/ipsec: introduce functional test")
> Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
> ---
>  test/test/test_ipsec.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/test/test/test_ipsec.c b/test/test/test_ipsec.c
> index ff1a1c4..f49c8d8 100644
> --- a/test/test/test_ipsec.c
> +++ b/test/test/test_ipsec.c
> @@ -4,9 +4,6 @@
> 
>  #include <time.h>
> 
> -#include <netinet/in.h>
> -#include <netinet/ip.h>
> -
>  #include <rte_common.h>
>  #include <rte_hexdump.h>
>  #include <rte_mbuf.h>
> --

Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>

> 2.7.4
  
Wu, ChangqingX Jan. 17, 2019, 1:17 a.m. UTC | #2
Tested-by: Wu, ChangqingX <changqingx.wu@intel.com>

-----Original Message-----
From: Ananyev, Konstantin 
Sent: Wednesday, January 16, 2019 10:01 PM
To: Iremonger, Bernard <bernard.iremonger@intel.com>; dev@dpdk.org; Wu, ChangqingX <changqingx.wu@intel.com>
Subject: RE: [PATCH] test/ipsec: fix compile error on BSD



> -----Original Message-----
> From: Iremonger, Bernard
> Sent: Wednesday, January 16, 2019 1:46 PM
> To: dev@dpdk.org; Ananyev, Konstantin <konstantin.ananyev@intel.com>; 
> Wu, ChangqingX <changqingx.wu@intel.com>
> Cc: Iremonger, Bernard <bernard.iremonger@intel.com>
> Subject: [PATCH] test/ipsec: fix compile error on BSD
> 
> Removed ip.h and in.h headers to fix unknown type errors when 
> compiling on BSD.
> 
> Fixes: 05fe65eb66b2 ("test/ipsec: introduce functional test")
> Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
> ---
>  test/test/test_ipsec.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/test/test/test_ipsec.c b/test/test/test_ipsec.c index 
> ff1a1c4..f49c8d8 100644
> --- a/test/test/test_ipsec.c
> +++ b/test/test/test_ipsec.c
> @@ -4,9 +4,6 @@
> 
>  #include <time.h>
> 
> -#include <netinet/in.h>
> -#include <netinet/ip.h>
> -
>  #include <rte_common.h>
>  #include <rte_hexdump.h>
>  #include <rte_mbuf.h>
> --

Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>

> 2.7.4
  
Wu, ChangqingX Jan. 17, 2019, 1:18 a.m. UTC | #3
Tested-by: Wu, ChangqingX <changqingx.wu@intel.com>

-----Original Message-----
From: Iremonger, Bernard 
Sent: Wednesday, January 16, 2019 9:46 PM
To: dev@dpdk.org; Ananyev, Konstantin <konstantin.ananyev@intel.com>; Wu, ChangqingX <changqingx.wu@intel.com>
Cc: Iremonger, Bernard <bernard.iremonger@intel.com>
Subject: [PATCH] test/ipsec: fix compile error on BSD

Removed ip.h and in.h headers to fix unknown type errors when compiling on BSD.

Fixes: 05fe65eb66b2 ("test/ipsec: introduce functional test")
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
---
 test/test/test_ipsec.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/test/test/test_ipsec.c b/test/test/test_ipsec.c index ff1a1c4..f49c8d8 100644
--- a/test/test/test_ipsec.c
+++ b/test/test/test_ipsec.c
@@ -4,9 +4,6 @@
 
 #include <time.h>
 
-#include <netinet/in.h>
-#include <netinet/ip.h>
-
 #include <rte_common.h>
 #include <rte_hexdump.h>
 #include <rte_mbuf.h>
--
2.7.4
  
Thomas Monjalon Jan. 17, 2019, 11:25 p.m. UTC | #4
> > Removed ip.h and in.h headers to fix unknown type errors
> > when compiling on BSD.
> > 
> > Fixes: 05fe65eb66b2 ("test/ipsec: introduce functional test")
> > Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
> 
> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>

Applied, thanks
  

Patch

diff --git a/test/test/test_ipsec.c b/test/test/test_ipsec.c
index ff1a1c4..f49c8d8 100644
--- a/test/test/test_ipsec.c
+++ b/test/test/test_ipsec.c
@@ -4,9 +4,6 @@ 
 
 #include <time.h>
 
-#include <netinet/in.h>
-#include <netinet/ip.h>
-
 #include <rte_common.h>
 #include <rte_hexdump.h>
 #include <rte_mbuf.h>