From: Jingjing Wu Date: Sun, 6 Sep 2015 07:11:59 +0000 (+0800) Subject: i40e/base: print FCoE capability X-Git-Tag: spdx-start~8428 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=7e46af6cbe40083f16bcfd550c8f75a8bf887b79;p=dpdk.git i40e/base: print FCoE capability This is to allow quick check for FCoE capability is enabled or not in device function before any SW overrides. Signed-off-by: Jingjing Wu Acked-by: Helin Zhang Tested-by: Huilong Xu --- diff --git a/drivers/net/i40e/base/i40e_common.c b/drivers/net/i40e/base/i40e_common.c index 2a8891ec6e..f203d2653c 100644 --- a/drivers/net/i40e/base/i40e_common.c +++ b/drivers/net/i40e/base/i40e_common.c @@ -3340,6 +3340,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"); + #ifdef I40E_FCOE_ENA /* Software override ensuring FCoE is disabled if npar or mfp * mode because it is not supported in these modes.