[dpdk-users] symmetric rss for i40e

Hyun Yoo easetheworld at gmail.com
Mon Apr 11 14:43:41 CEST 2016


I'm modifying distributor samples so that same session goes to the same
core on i40e nic.


At first I tried, rss_key = {0x6d5a6d5a, 0x6d5a6d5a, 0x6d5a6d5a, ...},
 rss_key_len=52.

It seems work but the rss is not distributed well and the upper 16-bit of
rss is always same as lower 16-bit.


As second try,

  struct rte_eth_hash_filter_info info;

 info.info_type = RTE_ETH_HASH_FILTER_SYM_HASH_ENA_PER_PORT;

 info.info.enable = 1;

  rte_eth_dev_filter_ctrl(port, RTE_ETH_FILTER_HASH, RTE_ETH_FILTER_SET,
&info);

but this seems nothing to do with rss.



What is the best way to get symmetric rss for distributor?


My env is dpdk-2.2.0, Ubuntu 14.04, X710-DA2.


More information about the users mailing list