net/qede/base: allow only trusted VFs to be promisc
authorRasesh Mody <rasesh.mody@cavium.com>
Wed, 29 Mar 2017 20:36:19 +0000 (13:36 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 17:02:51 +0000 (19:02 +0200)
commit6b190a9873dfdcd551eb1e03893f4e1c1273630e
tree439f71d7fec51841aeddd5c75d7616446979c049
parent3750b3f8d8af2d59f78679fc1f6d95a20a690bae
net/qede/base: allow only trusted VFs to be promisc

Allow only trusted VFs to be promisc/multi-promisc. The reasonable
thing is to use the 'trusted' node instead of simply allowing VFs to
become promiscuous.

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore_l2.c
drivers/net/qede/base/ecore_sriov.c