summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel
diff options
context:
space:
mode:
authorVasu Dev <vasu.dev@intel.com>2015-04-07 19:45:36 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-04-14 18:18:58 -0700
commitf18ae1009276b604ff5776b41af981f25db52240 (patch)
tree39904350c69a8f1885789063c37f943551e4d9c2 /drivers/net/ethernet/intel
parent57175ac1987bf770122f6fe5056fe73269add00f (diff)
downloadlinux-f18ae1009276b604ff5776b41af981f25db52240.tar.bz2
i40e: print FCoE capability reported by the device function
This is to allow quick check for FCoE capability is enabled or not in device function before any SW overrides. Change-ID: I5f78ba798d566f143161273156916c6f4074496e Signed-off-by: Vasu Dev <vasu.dev@intel.com> Tested-by: Jim Young <james.m.young@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel')
-rw-r--r--drivers/net/ethernet/intel/i40e/i40e_common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_common.c b/drivers/net/ethernet/intel/i40e/i40e_common.c
index d596f6624025..44dc4b1f418c 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_common.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_common.c
@@ -2546,6 +2546,9 @@ static void i40e_parse_discover_capabilities(struct i40e_hw *hw, void *buff,
}
}
+ if (p->fcoe)
+ i40e_debug(hw, I40E_DEBUG_ALL, "device is FCoE capable\n");
+
/* Software override ensuring FCoE is disabled if npar or mfp
* mode because it is not supported in these modes.
*/