i40e: drop flow control frames from VF
authorJingjing Wu <jingjing.wu@intel.com>
Mon, 19 Oct 2015 06:31:57 +0000 (14:31 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 30 Oct 2015 11:22:49 +0000 (12:22 +0100)
commit909119cd4dca8c63fa317ffdb63ccf42471f3c2c
tree429be6a331788ca5fcb6fee15eebb0cfc0b7fbb8
parent10f4620f02e1c96b13226c56b761724643b51142
i40e: drop flow control frames from VF

This patch adds a workaround to 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: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
drivers/net/i40e/i40e_ethdev.c