From: Qi Zhang Date: Wed, 8 Mar 2017 06:18:49 +0000 (-0500) Subject: net/fm10k/base: add a flag to indicate VF trust mode X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=43f885807819b10a72b230b7c3d9b4ee7d203861;p=dpdk.git 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 --- diff --git a/drivers/net/fm10k/base/fm10k_type.h b/drivers/net/fm10k/base/fm10k_type.h index 3fc8f13632..fe3e4988f4 100644 --- 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))