From: Qi Zhang Date: Wed, 26 Aug 2020 08:57:20 +0000 (+0800) Subject: net/ice/base: add function header X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=4406ca307af47e71551d02415781e6ac37c0a539;p=dpdk.git net/ice/base: add function header Add a function header for ice_cfg_phy_fc() Signed-off-by: Tony Nguyen Signed-off-by: Qi Zhang Acked-by: Qiming Yang --- diff --git a/drivers/net/ice/base/ice_common.c b/drivers/net/ice/base/ice_common.c index d9ad3217ac..fdde857748 100644 --- a/drivers/net/ice/base/ice_common.c +++ b/drivers/net/ice/base/ice_common.c @@ -2749,6 +2749,12 @@ enum ice_fec_mode ice_caps_to_fec_mode(u8 caps, u8 fec_options) return ICE_FEC_NONE; } +/** + * ice_cfg_phy_fc - Configure PHY FC data based on FC mode + * @pi: port information structure + * @cfg: PHY configuration data to set FC mode + * @req_mode: FC mode to configure + */ static enum ice_status ice_cfg_phy_fc(struct ice_port_info *pi, struct ice_aqc_set_phy_cfg_data *cfg, enum ice_fc_mode req_mode)