virtio: fix build of debug dump
The commit 591a9d7985
(add FILE argument to debug functions) didn't
compile if CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_DUMP is enabled.
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
This commit is contained in:
parent
ae7a7cd162
commit
8c4e33562d
@ -55,7 +55,7 @@
|
||||
#include "virtqueue.h"
|
||||
|
||||
#ifdef RTE_LIBRTE_VIRTIO_DEBUG_DUMP
|
||||
#define VIRTIO_DUMP_PACKET(m, len) rte_pktmbuf_dump(m, len)
|
||||
#define VIRTIO_DUMP_PACKET(m, len) rte_pktmbuf_dump(stdout, m, len)
|
||||
#else
|
||||
#define VIRTIO_DUMP_PACKET(m, len) do { } while (0)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user