[01/15] examples: enclose DPDK includes with angle brackets
Checks
Commit Message
In examples, DPDK header files are external,
so they must be enclosed with angle brackets, not quotes.
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
---
examples/bbdev_app/main.c | 30 +++++++++++++-------------
examples/bond/main.c | 11 ++++------
examples/tep_termination/vxlan_setup.c | 2 +-
3 files changed, 20 insertions(+), 23 deletions(-)
Comments
On 10/26/20 8:20 AM, Thomas Monjalon wrote:
> In examples, DPDK header files are external,
> so they must be enclosed with angle brackets, not quotes.
>
> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
On Mon, Oct 26, 2020 at 06:20:51AM +0100, Thomas Monjalon wrote:
> In examples, DPDK header files are external,
> so they must be enclosed with angle brackets, not quotes.
>
> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
> ---
> examples/bbdev_app/main.c | 30 +++++++++++++-------------
> examples/bond/main.c | 11 ++++------
> examples/tep_termination/vxlan_setup.c | 2 +-
> 3 files changed, 20 insertions(+), 23 deletions(-)
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
@@ -18,21 +18,21 @@
#include <getopt.h>
#include <signal.h>
-#include "rte_atomic.h"
-#include "rte_common.h"
-#include "rte_eal.h"
-#include "rte_cycles.h"
-#include "rte_ether.h"
-#include "rte_ethdev.h"
-#include "rte_ip.h"
-#include "rte_lcore.h"
-#include "rte_malloc.h"
-#include "rte_mbuf.h"
-#include "rte_memory.h"
-#include "rte_mempool.h"
-#include "rte_log.h"
-#include "rte_bbdev.h"
-#include "rte_bbdev_op.h"
+#include <rte_atomic.h>
+#include <rte_common.h>
+#include <rte_eal.h>
+#include <rte_cycles.h>
+#include <rte_ether.h>
+#include <rte_ethdev.h>
+#include <rte_ip.h>
+#include <rte_lcore.h>
+#include <rte_malloc.h>
+#include <rte_mbuf.h>
+#include <rte_memory.h>
+#include <rte_mempool.h>
+#include <rte_log.h>
+#include <rte_bbdev.h>
+#include <rte_bbdev_op.h>
/* LLR values - negative value for '1' bit */
#define LLR_1_BIT 0x81
@@ -41,6 +41,10 @@
#include <rte_tcp.h>
#include <rte_arp.h>
#include <rte_spinlock.h>
+#include <rte_devargs.h>
+#include <rte_byteorder.h>
+#include <rte_cpuflags.h>
+#include <rte_eth_bond.h>
#include <cmdline_rdline.h>
#include <cmdline_parse.h>
@@ -53,13 +57,6 @@
#include "main.h"
-#include <rte_devargs.h>
-
-
-#include "rte_byteorder.h"
-#include "rte_cpuflags.h"
-#include "rte_eth_bond.h"
-
#define RTE_LOGTYPE_DCB RTE_LOGTYPE_USER1
#define NB_MBUF (1024*8)
@@ -18,9 +18,9 @@
#include <rte_ip.h>
#include <rte_udp.h>
#include <rte_tcp.h>
+#include <rte_vhost.h>
#include "main.h"
-#include "rte_vhost.h"
#include "vxlan.h"
#include "vxlan_setup.h"