numam-dpdk/examples/qos_meter
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
..
main.c examples: fix RSS hash function configuration 2018-07-05 15:46:48 +02:00
main.h meter: add configuration profile 2018-02-19 22:28:05 +01:00
Makefile meter: add configuration profile 2018-02-19 22:28:05 +01:00
meson.build examples: fix build with meson 2018-03-13 23:57:33 +01:00
rte_policer.c examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_policer.h examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00