i40e/base: limit version check of DCB
authorHelin Zhang <helin.zhang@intel.com>
Tue, 8 Mar 2016 08:14:13 +0000 (16:14 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 16:24:24 +0000 (17:24 +0100)
commit37aef4214d211f4c472a1fc7d54eb8b02b443420
tree2340b20805f2c9e0b36c35260dff5e61db254a0d
parent7d1b28461e174fd33987227e4de65a6158a2cbf3
i40e/base: limit version check of DCB

XL710/X710 devices requires FW version checks to properly handle
DCB configurations from the FW while other devices (e.g. X722)
do not, so limit these checks to XL710/X710 only.

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Remy Horton <remy.horton@intel.com>
drivers/net/i40e/base/i40e_dcb.c