numam-dpdk/examples
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
..
bbdev_app ethdev: convert remaining apps to new offload API 2018-07-04 21:50:22 +02:00
bond examples: fix RSS hash function configuration 2018-07-05 15:46:48 +02:00
cmdline examples/cmdline: convert to SPDX license tag 2018-02-13 23:30:52 +01:00
distributor examples: fix RSS hash function configuration 2018-07-05 15:46:48 +02:00
ethtool ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
eventdev_pipeline examples: fix RSS hash function configuration 2018-07-05 15:46:48 +02:00
exception_path ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
flow_classify ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
flow_filtering ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
helloworld build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
ip_fragmentation ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
ip_pipeline examples: fix RSS hash function configuration 2018-07-05 15:46:48 +02:00
ip_reassembly examples: fix RSS hash function configuration 2018-07-05 15:46:48 +02:00
ipsec-secgw examples: fix RSS hash function configuration 2018-07-05 15:46:48 +02:00
ipv4_multicast ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
kni ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
l2fwd ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
l2fwd-cat ethdev: remove experimental flag of ports enumeration 2018-04-27 18:00:24 +01:00
l2fwd-crypto ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
l2fwd-jobstats ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
l2fwd-keepalive ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
l3fwd examples: fix RSS hash function configuration 2018-07-05 15:46:48 +02:00
l3fwd-acl examples: fix RSS hash function configuration 2018-07-05 15:46:48 +02:00
l3fwd-power examples: fix RSS hash function configuration 2018-07-05 15:46:48 +02:00
l3fwd-vf examples: fix RSS hash function configuration 2018-07-05 15:46:48 +02:00
link_status_interrupt ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
load_balancer examples: fix RSS hash function configuration 2018-07-05 15:46:48 +02:00
multi_process examples: fix RSS hash function configuration 2018-07-05 15:46:48 +02:00
netmap_compat ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
packet_ordering ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
performance-thread examples: fix RSS hash function configuration 2018-07-05 15:46:48 +02:00
ptpclient ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
qos_meter examples: fix RSS hash function configuration 2018-07-05 15:46:48 +02:00
qos_sched ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
quota_watermark ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
rxtx_callbacks ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
server_node_efd ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
service_cores service: remove experimental tags 2018-04-25 14:57:37 +02:00
skeleton ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
tep_termination ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
timer build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
vhost ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
vhost_crypto cryptodev: rename functions to get session size 2018-05-22 16:36:12 +02:00
vhost_scsi examples/vhost_scsi: replace strncpy with strlcpy 2018-05-13 23:54:28 +02:00
vm_power_manager ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
vmdq ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
vmdq_dcb examples: fix RSS hash function configuration 2018-07-05 15:46:48 +02:00
Makefile use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
meson.build examples: improve error report for missing meson deps 2018-04-17 16:09:43 +02:00