i40e/base: add workaround to drop all flow control frames
authorJingjing Wu <jingjing.wu@intel.com>
Sun, 6 Sep 2015 07:11:27 +0000 (15:11 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 1 Oct 2015 23:35:22 +0000 (01:35 +0200)
commit3f12b9f23b6499ff66ec8b0de941fb469297e5d0
tree969bc3aaf78a4d4210be24dfd2963c5ed64eb6b3
parente7290261ed3179096b5706019177fd30e6b8c4e2
i40e/base: add workaround to drop all flow control frames

This patch adds a workaround to drop any flow control frames from being
transmitted from any VSI. FW can still send Flow control frames if Flow
control is enabled.

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
Tested-by: Huilong Xu <huilongx.xu@intel.com>
drivers/net/i40e/base/i40e_common.c
drivers/net/i40e/base/i40e_prototype.h