Message ID | 20201026052105.1561859-2-thomas@monjalon.net (mailing list archive) |
---|---|
State | Superseded, archived |
Delegated to: | Thomas Monjalon |
Headers | show |
Series | remove mbuf userdata | expand |
Context | Check | Description |
---|---|---|
ci/checkpatch | success | coding style OK |
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>
diff --git a/examples/bbdev_app/main.c b/examples/bbdev_app/main.c index 43fe631760..e512c807cd 100644 --- a/examples/bbdev_app/main.c +++ b/examples/bbdev_app/main.c @@ -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 diff --git a/examples/bond/main.c b/examples/bond/main.c index 398553b785..81a6fa976b 100644 --- a/examples/bond/main.c +++ b/examples/bond/main.c @@ -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) diff --git a/examples/tep_termination/vxlan_setup.c b/examples/tep_termination/vxlan_setup.c index 4b44ccc143..0bcd870b4a 100644 --- a/examples/tep_termination/vxlan_setup.c +++ b/examples/tep_termination/vxlan_setup.c @@ -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"
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(-)