ixgbe: drop flow control frames from VF
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Fri, 23 Oct 2015 05:52:25 +0000 (13:52 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 28 Oct 2015 16:41:27 +0000 (17:41 +0100)
commit988f1d00a604e83ca228e8109906c59e7c716db8
treeced71fd4cd581f166df55d8e3d6db317b2e591d5
parent3cbf01c0c0b1febe074ee7e2a2d4690158734702
ixgbe: drop flow control frames from VF

This patch will drop flow control frames from being transmitted
from VSIs.
With this patch in place a malicious VF cannot send flow control
or PFC packets out on the wire.

Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
drivers/net/ixgbe/ixgbe_pf.c