[dpdk-dev] How can I run load balancer to configure the example figure 18.5 ?

최익성 pnk003 at naver.com
Wed Nov 11 08:10:18 CET 2015


Dear DPDK experts.
 
Thank you very much for your best great efforts and precious answers.
 
I have a question about execution option for load balancer in ~/dpdk/examples/load_balancer/ 
 
 
How can I run load balancer to configure the figure 18.5 in the http://dpdk.org/doc/guides/sample_app_ug/load_balancer.html ?
 
Is the following command right?
 
load_balancer -c 0xf8 -n 4 -- --rx "(0,0,0),(1,1,0),(2,2,1),(3,3,1)," --tx "(0,0),(1,0),(2,1),(3,1)" --w "0,1,2,3" --lpm "1.0.0.0/24=>0; 1.0.1.0/24=>1;1.0.2.0/24=>2;1.0.3.0/24=>3; " --pos-lb 29
 
or Should I run the following command?
 
load_balancer -c 0xf8 -n 4 -- --rx "(0,0,0),(1,0,0),(2,1,1),(3,1,1)," --tx "(0,0),(1,0),(2,1),(3,1)" --w "0,1,2,3" --lpm "1.0.0.0/24=>0; 1.0.1.0/24=>1;1.0.2.0/24=>2;1.0.3.0/24=>3; " --pos-lb 29
 
Would you check -rx option and -w option ?
 
 
Are the other queues (between rx core and worker, between worker and tx core, between tx core and NIC) configured automatically?
 
 
Thank you very much.
 
Sincerely Yours,
 
Ick-Sung Choi.



More information about the dev mailing list