Skip to content

Commit

Permalink
dpdk: Fix DPDK pdump compilation
Browse files Browse the repository at this point in the history
The rte_pdump header file was not included in the file that requires it.
Fix this.

Fixes: 01961bb ("dpdk: New module with some code from netdev-dpdk.")
Signed-off-by: Ciara Loftus <[email protected]>
Signed-off-by: Daniele Di Proietto <[email protected]>
  • Loading branch information
cloftus authored and ddiproietto committed Oct 13, 2016
1 parent 01961bb commit a0cbc62
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions lib/dpdk.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,13 @@
#include <getopt.h>

#include <rte_memzone.h>
#ifdef DPDK_PDUMP
#include <rte_mempool.h>
#include <rte_pdump.h>
#endif

#include "dirs.h"
#include "fatal-signal.h"
#include "netdev-dpdk.h"
#include "openvswitch/dynamic-string.h"
#include "openvswitch/vlog.h"
Expand Down
3 changes: 0 additions & 3 deletions lib/netdev-dpdk.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@
#include <rte_malloc.h>
#include <rte_mbuf.h>
#include <rte_meter.h>
#ifdef DPDK_PDUMP
#include <rte_pdump.h>
#endif
#include <rte_virtio_net.h>

#include "dirs.h"
Expand Down

0 comments on commit a0cbc62

Please sign in to comment.