examples/flow_filtering: filter out unsupported offloads
authorOri Kam <orika@mellanox.com>
Mon, 5 Nov 2018 09:35:27 +0000 (09:35 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 6 Nov 2018 01:35:34 +0000 (02:35 +0100)
commitc82f2f8b4b3a32e7a3fe586419ff4fb628ac9f7d
treea2cdc3d7603d0a8a7734263ab80fc455ed04ea7a
parenta38eafedda1de14c9fd7219e769e89e4aec92a45
examples/flow_filtering: filter out unsupported offloads

Some of the requested offloads are not supported by all devices.

This patch fixes this issue by setting only the supported offloads.

Fixes: feca6c428a5e ("examples/flow_filtering: add Tx queues setup process")
Cc: stable@dpdk.org
Signed-off-by: Ori Kam <orika@mellanox.com>
Acked-by: Wei Zhao <wei.zhao1@intel.com>
examples/flow_filtering/main.c