i40e: Additional checks for CEE APP priority validity
authorNeerav Parikh <neerav.parikh@intel.com>
Thu, 27 Aug 2015 15:42:30 +0000 (11:42 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 7 Oct 2015 21:39:30 +0000 (14:39 -0700)
commit2642f02528b6e9c1e904f6e3ec902d8a2deb7af5
treea2087bc3e18a7b83df4880850c9144cb3be53a90
parent2fc3d7152ae9562c15c30ed4a766ba05a3db8200
i40e: Additional checks for CEE APP priority validity

The firmware has added additional status information to allow software
to determine if the APP priority for FCoE/iSCSI/FIP is valid or not in
CEE DCBX mode.

This patch adds to support those additional checks and will only add
applications to the software table that have oper and sync bits set
without any error.

Change-ID: I0a76c52427dadf97d4dba4538a3068d05e4eb56b
Signed-off-by: Neerav Parikh <neerav.parikh@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_dcb.c