diff options
author | Sameeh Jubran <sameehj@amazon.com> | 2020-05-03 12:52:14 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-04 01:59:29 +0300 |
commit | 0af3c4e2eab8aa5a904287534e442add36023273 (patch) | |
tree | 89114d8d15ad2b8017251b046549df8217ceeecf /block/mq-deadline.c | |
parent | c1bd17e51c71dc8214fbccc2b5abea4d31ac65e6 (diff) | |
download | linux-0af3c4e2eab8aa5a904287534e442add36023273.tar.xz |
net: ena: changes to RSS hash key allocation
This commit contains 2 cosmetic changes:
1. Use ena_com_check_supported_feature_id() in
ena_com_hash_key_fill_default_key() instead of rewriting
its implementation. This also saves us a superfluous admin
command by using the cached value.
2. Change if conditions in ena_com_rss_init() to be clearer.
Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
Signed-off-by: Sameeh Jubran <sameehj@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/mq-deadline.c')
0 files changed, 0 insertions, 0 deletions