net/fm10k/base: add a flag to indicate VF trust mode
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>
This commit is contained in:
parent
66db3932dd
commit
43f8858078
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user