Skip to content

Commit

Permalink
DPDK: Set RSS to hash also UDP and TCP by default
Browse files Browse the repository at this point in the history
In XL710 if a packet is UDP or TCP it is not considered to be IP, so
RSS would not work with the old default parameter with XL710
  • Loading branch information
Tom Barbette committed Aug 3, 2018
1 parent 8247b32 commit 9720e20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dpdkdevice.cc
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ int DPDKDevice::initialize_device(ErrorHandler *errh)

dev_conf.rxmode.mq_mode = ETH_MQ_RX_RSS;
dev_conf.rx_adv_conf.rss_conf.rss_key = NULL;
dev_conf.rx_adv_conf.rss_conf.rss_hf = ETH_RSS_IP;
dev_conf.rx_adv_conf.rss_conf.rss_hf = ETH_RSS_IP | ETH_RSS_UDP | ETH_RSS_TCP;

//We must open at least one queue per direction
if (info.rx_queues.size() == 0) {
Expand Down

0 comments on commit 9720e20

Please sign in to comment.