net/failsafe: report actual device capabilities
authorIgor Romanov <igor.romanov@oktetlabs.ru>
Wed, 26 Sep 2018 06:38:04 +0000 (07:38 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 11 Oct 2018 16:53:48 +0000 (18:53 +0200)
commit4e31ee26ed510442ddacb753a31c79327aeb0fec
treece35108e73d9e72e6964014dea2585507ef87fca
parent308b514b8e8f712e5df1aa40b6bbd8958dc5e6b4
net/failsafe: report actual device capabilities

Failsafe device capabilities depend on supported by the failsafe
itself plus capabilities supported by sub-devices.
Make fs_dev_infos_get() take failsafe device capabilities into account.

Fixes: cac923cfea47 ("ethdev: support runtime queue setup")
Cc: stable@dpdk.org
Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Gaetan Rivet <gaetan.rivet@6wind.com>
drivers/net/failsafe/failsafe_ops.c