summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorFerruh Yigit <ferruh.yigit@intel.com>2018-05-31 14:22:45 +0100
committerFerruh Yigit <ferruh.yigit@intel.com>2018-06-14 19:27:50 +0200
commitaa1a6d87f15d4407d413e6e1bd1768077ed9513a (patch)
tree9cef4c3666cb2127483cafaa3744459fe0c06eee /examples
parentf52f1a65e4616a1acd3ac85331fae0f4f6d0a01e (diff)
downloaddpdk-aa1a6d87f15d.zip
dpdk-aa1a6d87f15d.tar.gz
dpdk-aa1a6d87f15d.tar.xz
ethdev: force RSS offload rules again
PMDs should provide supported RSS hash functions via dev_info.flow_type_rss_offloads variable. There is a check in ethdev if requested RSS hash function is supported by PMD or not. This check has been relaxed in previous release to not return an error when a non supported has function requested [1], this has been done to not break the applications. Adding the error return back. PMDs need to provide correct list of supported hash functions and applications need to take care this information before configuring the RSS otherwise they will get an error from APIs: rte_eth_dev_rss_hash_update() rte_eth_dev_configure() [1] commit af7551e2bfce ("ethdev: remove error return on RSS hash check") Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Shahaf Shuler <shahafs@mellanox.com> Acked-by: Thomas Monjalon <thomas@monjalon.net>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions