[dpdk-dev] [PATCH v3]

2014-01-15 Thread Daniel Kan
The mq_mode was not set when rxq is > 0; it's defaulted to ETH_MQ_RX_NONE. As a result, RSS remains inactive. The fix is to set mq_mode to ETH_MQ_RX_RSS when hf is non-zero. This bug was introduced by commit 243db2ddee3094a2cb39fdd4b17e26df4e7735e1 igb/ixgbe: ETH_MQ_RX_NONE should disable RSS S

[dpdk-dev] [PATCH v3] app/testpmd: fix RSS rx by setting mq_mode

2014-01-15 Thread Daniel Kan
The mq_mode was not set when rxq is > 0; it's defaulted to ETH_MQ_RX_NONE. As a result, RSS remains inactive. The fix is to set mq_mode to ETH_MQ_RX_RSS when hf is non-zero. This bug was introduced by commit 243db2ddee3094a2cb39fdd4b17e26df4e7735e1 igb/ixgbe: ETH_MQ_RX_NONE should disable RSS S

[dpdk-dev] How to shut down flow control in DPDK ?

2014-01-15 Thread Stephen Hemminger
On Thu, 16 Jan 2014 08:52:26 +0800 chen_lp wrote: > Hi, > I want to shut down flow control in DPDK, > I only kwon the function rte_eth_dev_flow_ctrl_set(uint8_t port_id, > struct rte_eth_fc_conf *fc_conf) can do this. > But I don't kwon how config the struct rte_eth_fc_conf. > I try config it lik