liquidio: Added support for trusted VF
authorIntiyaz Basha <intiyaz.basha@cavium.com>
Thu, 22 Mar 2018 06:30:54 +0000 (23:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Mar 2018 19:04:10 +0000 (15:04 -0400)
commitf2d254fac13cc7c86871ea607c4ab1afa7f13e2e
tree9e177becf4cfebe29909b88efee308b07adbacbe
parentcf57d49c48034cb3d7eb03e813f079ceb16f1e72
liquidio: Added support for trusted VF

When a VF is trusted, all promiscuous traffic will only be sent to that VF.
In normal operation promiscuous traffic is sent to the PF. There can be
only one trusted VF per PF

Signed-off-by: Intiyaz Basha <intiyaz.basha@cavium.com>
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/lio_main.c
drivers/net/ethernet/cavium/liquidio/liquidio_common.h
drivers/net/ethernet/cavium/liquidio/octeon_device.h