Update the reference from start_rx_per_q to rx_enable_queue in sample vhost.

Signed-off-by: Ouyang Changchun <changchun.ouyang at intel.com>
---
 examples/vhost/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/vhost/main.c b/examples/vhost/main.c
index 193aa25..2eea431 100644
--- a/examples/vhost/main.c
+++ b/examples/vhost/main.c
@@ -2984,9 +2984,9 @@ MAIN(int argc, char *argv[])
                char pool_name[RTE_MEMPOOL_NAMESIZE];
                char ring_name[RTE_MEMPOOL_NAMESIZE];

-               rx_conf_default.start_rx_per_q = (uint8_t)zero_copy;
+               rx_conf_default.rx_enable_queue = (uint8_t)zero_copy;
                rx_conf_default.rx_drop_en = 0;
-               tx_conf_default.start_tx_per_q = (uint8_t)zero_copy;
+               tx_conf_default.tx_enable_queue = (uint8_t)zero_copy;
                nb_mbuf = num_rx_descriptor
                        + num_switching_cores * MBUF_CACHE_SIZE_ZCP
                        + num_switching_cores * MAX_PKT_BURST;
-- 
1.8.4.2

Reply via email to