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:
66db393
)
net/fm10k/base: add a flag to indicate VF trust mode
author
Qi Zhang
<qi.z.zhang@intel.com>
Wed, 8 Mar 2017 06:18:49 +0000
(
01:18
-0500)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 4 Apr 2017 13:52:52 +0000
(15:52 +0200)
Adds boolean flag in fm10k_vf_info to support configuring
a VF to be trusted.
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/fm10k/base/fm10k_type.h
patch
|
blob
|
history
diff --git
a/drivers/net/fm10k/base/fm10k_type.h
b/drivers/net/fm10k/base/fm10k_type.h
index
3fc8f13
..
fe3e498
100644
(file)
--- a/
drivers/net/fm10k/base/fm10k_type.h
+++ b/
drivers/net/fm10k/base/fm10k_type.h
@@
-676,6
+676,9
@@
struct fm10k_vf_info {
u8 vf_flags; /* flags indicating what modes
* are supported for the port
*/
+#ifndef NO_FM10K_VF_TRUSTED_MODE
+ bool trusted; /* VF trust mode */
+#endif
};
#define FM10K_VF_FLAG_ALLMULTI_CAPABLE (u8)(BIT(FM10K_XCAST_MODE_ALLMULTI))