When binding X710 NIC (i40e driver) to DPDK, vhost sample startups failure. The sample requires that MAX_QUEUES should be defined no less than 320. So, the patch redefines MAX_QUEUES 320 to fix the issue.
Cc: sta...@dpdk.org Signed-off-by: Zhiyong Yang <zhiyong.y...@intel.com> --- examples/vhost/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/vhost/main.c b/examples/vhost/main.c index 89a61f0e5..487cc530e 100644 --- a/examples/vhost/main.c +++ b/examples/vhost/main.c @@ -57,7 +57,7 @@ #include "main.h" #ifndef MAX_QUEUES -#define MAX_QUEUES 128 +#define MAX_QUEUES 320 #endif /* the maximum number of external ports supported */ -- 2.13.3