net/sfc/base: simplify the code to parse RSS hash type
authorIvan Malov <ivan.malov@oktetlabs.ru>
Mon, 10 Sep 2018 09:33:32 +0000 (10:33 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 27 Sep 2018 23:41:02 +0000 (01:41 +0200)
commit86dbbc5dbbfcddbdf30adf8e5beab754859be5a5
treea8ca03e10ad30b264a87ddc1518c7fd78ad086c0
parentc4ea98c42da7d2e4f990d2cca291f6415b57ed9f
net/sfc/base: simplify the code to parse RSS hash type

RSS mode bits can be accessed a lot easier in the hash
type value provided that the variable type is uint32_t.
The macro helper can be removed to enhance readability.

Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/ef10_rx.c
drivers/net/sfc/base/efx.h