git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9aeefed
)
i40e/base: print FCoE capability
author
Jingjing Wu
<jingjing.wu@intel.com>
Sun, 6 Sep 2015 07:11:59 +0000
(15:11 +0800)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Thu, 1 Oct 2015 23:35:23 +0000
(
01:35
+0200)
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 <jingjing.wu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
Tested-by: Huilong Xu <huilongx.xu@intel.com>
drivers/net/i40e/base/i40e_common.c
patch
|
blob
|
history
diff --git
a/drivers/net/i40e/base/i40e_common.c
b/drivers/net/i40e/base/i40e_common.c
index
2a8891e
..
f203d26
100644
(file)
--- 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.