net/qede/base: fix to prevent VF promisc config
authorRasesh Mody <rasesh.mody@cavium.com>
Sat, 18 Mar 2017 06:50:23 +0000 (23:50 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 16:59:44 +0000 (18:59 +0200)
commit3320ca8c909f884e38843962903cc740badfea18
tree3e797639af52c90a0fa7b1f1d10626e232ae563d
parentcf584e02a7be9bf4c21feb05b3cb5735d4c89164
net/qede/base: fix to prevent VF promisc config

VFs are seeing the number of MACs available to them as '0',
and as a result configure themselves as PROMISC. This fix is to
prevent that.

Fixes: 86a2265e59d7 ("qede: add SRIOV support")

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore_vf.c
drivers/net/qede/base/ecore_vf_api.h
drivers/net/qede/qede_eth_if.h
drivers/net/qede/qede_ethdev.c