From: Qi Zhang Date: Mon, 30 Mar 2020 11:45:29 +0000 (+0800) Subject: net/ice/base: add default DCB parameters X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=a57379e9edab9a980e98d6ef5ba74a5806390fa5;p=dpdk.git net/ice/base: add default DCB parameters Added new value for cmd_flag: Persistently set the DCB configuration mode for the current port. Added new value for valid_flags: represent bit#1 of command flag Signed-off-by: Sharon Haroni Signed-off-by: Qi Zhang Acked-by: Qiming Yang --- diff --git a/drivers/net/ice/base/ice_adminq_cmd.h b/drivers/net/ice/base/ice_adminq_cmd.h index 3344481d65..4e280f4132 100644 --- a/drivers/net/ice/base/ice_adminq_cmd.h +++ b/drivers/net/ice/base/ice_adminq_cmd.h @@ -976,8 +976,10 @@ struct ice_aqc_set_query_pfc_mode { struct ice_aqc_set_dcb_params { u8 cmd_flags; /* unused in response */ #define ICE_AQC_LINK_UP_DCB_CFG BIT(0) +#define ICE_AQC_PERSIST_DCB_CFG BIT(1) u8 valid_flags; /* unused in response */ #define ICE_AQC_LINK_UP_DCB_CFG_VALID BIT(0) +#define ICE_AQC_PERSIST_DCB_CFG_VALID BIT(1) u8 rsvd[14]; };