net/sfc: avoid failure on port start if Rx mode is rejected
authorIvan Malov <ivan.malov@oktetlabs.ru>
Thu, 9 Mar 2017 17:23:01 +0000 (17:23 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 16:59:40 +0000 (18:59 +0200)
commitf5258439ee5de19c294b5c2641a154e77c4958f2
tree433f683a73068d555ce84484f1ab10e23e8d4382
parent178fc0d3275f1401ffa2df1d3b8ae2ab18d12bf6
net/sfc: avoid failure on port start if Rx mode is rejected

If Rx mode is unacceptable, in particular, when promiscuous
or all-multicast filters are not allowed while running over
PCI function which is not a member of appropriate privilege
groups, the driver has to cope with the failures gracefully

Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Andrew Lee <alee@solarflare.com>
drivers/net/sfc/sfc_rx.c