numam-dpdk/examples/ip_pipeline
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
..
examples examples/ip_pipeline: add ECMP route example 2018-04-05 19:00:23 +02:00
action.c examples/ip_pipeline: replace strncpy with strlcpy 2018-05-08 13:35:10 +02:00
action.h examples/ip_pipeline: add load balance action command 2018-04-05 19:00:21 +02:00
cli.c examples/ip_pipeline: remove dead code in table command 2018-05-08 13:16:10 +02:00
cli.h examples/ip_pipeline: add pipeline object 2018-04-05 19:00:08 +02:00
common.h examples/ip_pipeline: add mempool object 2018-04-05 18:23:49 +02:00
conn.c examples/ip_pipeline: fix leak on connection error 2018-05-08 13:06:16 +02:00
conn.h examples/ip_pipeline: add CLI interface 2018-04-05 18:23:49 +02:00
hash_func_arm64.h expamples/ip_pipeline: convert to SPDX license tag 2018-05-25 12:32:00 +02:00
hash_func.h examples/ip_pipeline: remove master pipeline 2018-04-04 12:26:22 +02:00
kni.c examples/ip_pipeline: replace strncpy with strlcpy 2018-05-08 13:35:10 +02:00
kni.h examples/ip_pipeline: add KNI object 2018-04-05 19:00:00 +02:00
link.c examples: fix RSS hash function configuration 2018-07-05 15:46:48 +02:00
link.h examples/ip_pipeline: add link object 2018-04-05 18:23:50 +02:00
main.c examples/ip_pipeline: add thread runtime 2018-04-05 19:00:17 +02:00
Makefile examples/ip_pipeline: skip in FreeBSD build 2018-04-10 14:41:01 +02:00
mempool.c examples/ip_pipeline: replace strncpy with strlcpy 2018-05-08 13:35:10 +02:00
mempool.h examples/ip_pipeline: add mempool object 2018-04-05 18:23:49 +02:00
meson.build examples/ip_pipeline: add threads 2018-04-05 19:00:17 +02:00
parser.c examples/ip_pipeline: remove infra code 2018-04-05 18:23:41 +02:00
parser.h examples/ip_pipeline: remove infra code 2018-04-05 18:23:41 +02:00
pipeline.c examples/ip_pipeline: replace strncpy with strlcpy 2018-05-08 13:35:10 +02:00
pipeline.h examples/ip_pipeline: add load balance action command 2018-04-05 19:00:21 +02:00
swq.c examples/ip_pipeline: replace strncpy with strlcpy 2018-05-08 13:35:10 +02:00
swq.h examples/ip_pipeline: add sw queue object 2018-04-05 18:23:50 +02:00
tap.c examples/ip_pipeline: replace strncpy with strlcpy 2018-05-08 13:35:10 +02:00
tap.h examples/ip_pipeline: add tap object 2018-04-05 18:23:51 +02:00
thread.c examples/ip_pipeline: add load balance action command 2018-04-05 19:00:21 +02:00
thread.h examples/ip_pipeline: add enable and disable commands 2018-04-05 19:00:17 +02:00
tmgr.c examples/ip_pipeline: replace strncpy with strlcpy 2018-05-08 13:35:10 +02:00
tmgr.h examples/ip_pipeline: add traffic manager object 2018-04-05 18:23:51 +02:00