net/ena/base: check for RSS key configuration support
authorMichal Krawczyk <mk@semihalf.com>
Thu, 17 Sep 2020 05:30:26 +0000 (07:30 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 30 Sep 2020 17:19:09 +0000 (19:19 +0200)
commitff40db8d75d5c1bf643d5ac9e16d70adabb87edf
tree9d029b450175cf80858835ecec45de4b516075d0
parent720854c99a1122f31f120858cc50e3394f1eab7c
net/ena/base: check for RSS key configuration support

Setting RSS hash function could not be supported by the device. In that
situation there is no need to fill in default hash key or even allocate
hash key.

Signed-off-by: Michal Krawczyk <mk@semihalf.com>
Reviewed-by: Igor Chauskin <igorch@amazon.com>
Reviewed-by: Guy Tzalik <gtzalik@amazon.com>
Reviewed-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/net/ena/base/ena_com.c
drivers/net/ena/base/ena_defs/ena_admin_defs.h