numam-dpdk/examples/load_balancer
Ferruh Yigit 4f5701f28b examples: fix RSS hash function configuration
ethdev layer introduced checks for application requested RSS hash
functions and returns error for ones unsupported by hardware

This check breaks some sample applications which blindly configures
RSS hash functions without checking underlying hardware support.

Updated examples to mask out unsupported RSS has functions during device
configuration.
Prints a log if configuration values updated by this check.

Fixes: aa1a6d87f1 ("ethdev: force RSS offload rules again")

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Tested-by: Meijuan Zhao <meijuanx.zhao@intel.com>
Tested-by: Yingya Han <yingyax.han@intel.com>
Acked-by: David Hunt <david.hunt@intel.com>
2018-07-05 15:46:48 +02:00
..
config.c convert snprintf to strlcpy 2018-04-04 17:33:08 +02:00
init.c examples: fix RSS hash function configuration 2018-07-05 15:46:48 +02:00
main.c examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
main.h examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
Makefile examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
meson.build build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
runtime.c examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00