patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH] examples/vhost: fix extend MAX_QUEUES to resolve startup failure
@ 2018-01-04  6:33 Zhiyong Yang
  2018-01-09 13:23 ` [dpdk-stable] [dpdk-dev] " Yuanhan Liu
  2018-01-10  6:01 ` [dpdk-stable] [PATCH v2] examples/vhost: fix remove dev_info.max_rx_queues checking to solve " Zhiyong Yang
  0 siblings, 2 replies; 5+ messages in thread
From: Zhiyong Yang @ 2018-01-04  6:33 UTC (permalink / raw)
  To: dev; +Cc: stable, Zhiyong Yang

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: stable@dpdk.org
Signed-off-by: Zhiyong Yang <zhiyong.yang@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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-01-10 12:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-04  6:33 [dpdk-stable] [PATCH] examples/vhost: fix extend MAX_QUEUES to resolve startup failure Zhiyong Yang
2018-01-09 13:23 ` [dpdk-stable] [dpdk-dev] " Yuanhan Liu
2018-01-10  1:26   ` Yang, Zhiyong
2018-01-10  6:01 ` [dpdk-stable] [PATCH v2] examples/vhost: fix remove dev_info.max_rx_queues checking to solve " Zhiyong Yang
2018-01-10 12:36   ` Yuanhan Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).