[dpdk-dev] Unable to get RSS to work in testpmd and load balancing question

2014-01-10 Thread Michael Quicquaro
tart > > io packet forwarding - CRC stripping disabled - packets/burst=16 > > nb forwarding cores=2 - nb forwarding ports=2 > > RX queues=2 - RX desc=128 - RX free threshold=0 > > RX threshold registers: pthresh=8 hthresh=8 wthresh=4 > > TX queues=2 - TX desc=512 -

[dpdk-dev] Unable to get RSS to work in testpmd and load balancing question

2014-01-10 Thread Choi, Sy Jong
orm Application Engineer From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Dan Kan Sent: Wednesday, January 08, 2014 3:25 PM To: dev at dpdk.org Subject: [dpdk-dev] Unable to get RSS to work in testpmd and load balancing question I'm evaluating DPDK using dpdk-1.5.1r1. I have been play

[dpdk-dev] Unable to get RSS to work in testpmd and load balancing question

2014-01-10 Thread Thomas Monjalon
Hello, 09/01/2014 10:49, Daniel Kan : > The problem appears to be that rxmode.mq_mode was never set to ETH_MQ_RX_RSS > in testpmd.c; it?s initialized to 0. You're right. Its broken since the commit "ETH_MQ_RX_NONE should disable RSS": http://dpdk.org/browse/dpdk/commit/?id=243db2ddee3094a2

[dpdk-dev] Unable to get RSS to work in testpmd and load balancing question

2014-01-09 Thread Daniel Kan
eshold=0 - TXQ flags=0x0 > > testpmd> show port stats all > > > > Regards, > Choi, Sy Jong > Platform Application Engineer > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Dan Kan > Sent: Wednesday, January 08, 2014 3:25 PM > To: dev at dpdk.org >

[dpdk-dev] Unable to get RSS to work in testpmd and load balancing question

2014-01-09 Thread Dan Kan
I think the following change might be sufficient. DCB seems to use its own init_port_dcb_config(), which would reset mq_mode. If this is good, I can submit the patch. Thanks. index b11eb2e..355db0f 100644 --- a/app/test-pmd/testpmd.c +++ b/app/test-pmd/testpmd.c @@ -1546,6 +1546,9 @@ init_port_con

[dpdk-dev] Unable to get RSS to work in testpmd and load balancing question

2014-01-09 Thread Daniel Kan
The problem appears to be that rxmode.mq_mode was never set to ETH_MQ_RX_RSS in testpmd.c; it?s initialized to 0. There should probably be a configuration for that, or should be set when rxq > 1. Dan On Jan 8, 2014, at 3:24 PM, Dan Kan wrote: > I'm evaluating DPDK using dpdk-1.5.1r1. I have

[dpdk-dev] Unable to get RSS to work in testpmd and load balancing question

2014-01-08 Thread Dan Kan
I'm evaluating DPDK using dpdk-1.5.1r1. I have been playing around with the test-pmd sample app. I'm having a hard time to get RSS to work. I have a 2-port 82599 Intel X540-DA2 NIC. I'm running the following command to start the app. sudo ./testpmd -c 0x1f -n 2 -- -i --portmask=0x3 --nb-cores=4 --