qed: Correct VF mac number
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Mon, 31 Oct 2016 20:26:54 +0000 (22:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Nov 2016 15:00:24 +0000 (11:00 -0400)
commitb0fca3122f6220e9a5bd975cdc5c4a87f575b740
tree0bc46c4711d69bb88fa2a39ad56c28f48082d07f
parent0183eb1c7504b290221f79bc3c345736f8ad657b
qed: Correct VF mac number

When relaxing the limitation on the number of unicast MAC filters
an interface can configure, qed started passing the MAC quota to
qede. However, the value is initialized only for PFs, causing VFs
to always try and configure themselves as promiscuous
[as they believe they lack the resources to configure the rx-mode].

Fixes: 7b7e70f979e3 ("qed*: Allow unicast filtering")
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_l2.c
drivers/net/ethernet/qlogic/qed/qed_vf.c
drivers/net/ethernet/qlogic/qed/qed_vf.h