]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd8c5081dc8263c1f78bac1e2aa0b4628158af7cb
tree0bc46c4711d69bb88fa2a39ad56c28f48082d07f
parent6b750bf7a94d8b351af962ea78bf36edc19e85e0
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: cc66f84850a1 ("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