diff options
-rw-r--r-- | src/plugins/dpdk/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/dpdk/buffer.c b/src/plugins/dpdk/buffer.c index 20036f2b764..11d8cd7962b 100644 --- a/src/plugins/dpdk/buffer.c +++ b/src/plugins/dpdk/buffer.c @@ -546,7 +546,7 @@ dpdk_pool_create (vlib_main_t * vm, u8 * pool_name, u32 elt_size, break; } /* *INDENT-ON* */ - if (rv != 0 && rv != EINVAL) + if (rv != 0 && errno != EINVAL) clib_unix_warning ("ioctl(VFIO_IOMMU_MAP_DMA) pool '%s'", pool_name); } |