net/sfc: do not use RSS context if it is not required
authorAndrew Rybchenko <arybchenko@solarflare.com>
Thu, 26 Apr 2018 16:48:57 +0000 (17:48 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 27 Apr 2018 17:00:57 +0000 (18:00 +0100)
commit3cefef5491fb4007e0efdceed770d8f64fb723ee
tree60b95c4566a6ee2ff8f7466b6893fbecb41afb28
parentead63dd3181c9fdf4a191072f622ad2b934a4b9f
net/sfc: do not use RSS context if it is not required

RSS action with only one destination queue and no specific settings
for hash types and key does not require dedicated RSS context and
may be simplified to QUEUE action.

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Roman Zhukov <roman.zhukov@oktetlabs.ru>
drivers/net/sfc/sfc_flow.c