net/failsafe: check code of allmulticast mode switch
authorIvan Ilchenko <ivan.ilchenko@oktetlabs.ru>
Tue, 24 Sep 2019 12:56:08 +0000 (13:56 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:55 +0000 (15:00 +0200)
commit5bc4baf0eb0973f12bbc2ebd30b1cc662b77f227
tree6e7087e56a9266b68063aa9babe4ccf239fa21e7
parent4b0db43df31753c12f4f6fad5154861e0ac4eebb
net/failsafe: check code of allmulticast mode switch

rte_eth_allmulticast_enable()/rte_eth_allmulticast_disable() return
value was changed from void to int, so this patch modify usage
of these functions across net/failsafe according to new return type.

Try to keep all-multicast mode consistent across all active
devices in the case of failure.

Signed-off-by: Ivan Ilchenko <ivan.ilchenko@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Gaetan Rivet <gaetan.rivet@6wind.com>
drivers/net/failsafe/failsafe_ether.c
drivers/net/failsafe/failsafe_ops.c