net/i40e: fix default PFC setting
authorJingjing Wu <jingjing.wu@intel.com>
Tue, 11 Apr 2017 07:35:49 +0000 (15:35 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 19 Apr 2017 13:37:37 +0000 (15:37 +0200)
commit1d43099033ecc515c3be18a715b19540aeaeb2c2
treedd423a285ccbd5c8f8224f3aeb0bcd87df44ff63
parente711f8a8cdbfc621c97d303c6871c66265c60bc9
net/i40e: fix default PFC setting

To keep consistent with previous release, Priority Flow Control (PFC)
need to be disabled by default. This patch fixes it.

This also fixes an issue where traffic was not forwarded by testpmd
occasionally. In those cases ~4770 pps seen on one of the ports rather
than the full rate (>20mpps).

Fixes: 6f0a707e5b55 ("net/i40e: enable DCB on SRIOV VFs")

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
Tested-by: David Hunt <david.hunt@intel.com>
drivers/net/i40e/i40e_ethdev.c