i40e: fix DCB configuration with firmware >= 5.x
authorJingjing Wu <jingjing.wu@intel.com>
Mon, 16 Nov 2015 08:56:57 +0000 (16:56 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 23 Nov 2015 22:51:14 +0000 (23:51 +0100)
commit283a1eaf41667d59f639f2bd501eafe764669917
treebfbe3f482d4ab6ffc44f1fb8f4da0c3a2bfa099d
parent2f1e228174202221dde6074f9570d950bc5e9659
i40e: fix DCB configuration with firmware >= 5.x

When NVM version is updated to 5.x, DCB can not be configured. This
issue is because of the FW version validation is not correct.
This patch fixed this issue.

Fixes: c8b9a3e3fe1b (i40e: support DCB mode)

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
Tested-by: Yulong Pei <yulong.pei@intel.com>
drivers/net/i40e/i40e_ethdev.c