examples/ip_pipeline: fix RSS
authorCristian Dumitrescu <cristian.dumitrescu@intel.com>
Mon, 6 Aug 2018 15:24:16 +0000 (16:24 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 7 Aug 2018 21:19:02 +0000 (23:19 +0200)
commit2e1141b6f16fbe41ed2da812e3a03810c5724ae7
treec4bacae096a4f4098f65078382da46c51e139684
parent4278f8df470fa76259ed8d1fd52d4995d9fb6557
examples/ip_pipeline: fix RSS

After adding RSS hash offload checks, flags that are not supported by
the current device result in RSS configuration failing as opposed to
unsupported flags being silently discarded. This fix is making sure
that only device supported flags are passed to RSS configuration.

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

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Tested-by: Yuan Peng <yuan.peng@intel.com>
examples/ip_pipeline/link.c