From: Jie Hai Date: Sat, 22 Jan 2022 01:51:31 +0000 (+0800) Subject: net/hns3: make control plane function non-inline X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=7be11baa6e5fd2143f5574403c44e45fc9c5e393;hp=2665a92054019bdb73cd2c43e5a581d081772915;p=dpdk.git net/hns3: make control plane function non-inline This function is a control-plane interface and does not need to use inline. Signed-off-by: Jie Hai Acked-by: Min Hu (Connor) --- diff --git a/drivers/net/hns3/hns3_ethdev.c b/drivers/net/hns3/hns3_ethdev.c index 722660d0cc..f92832a4aa 100644 --- a/drivers/net/hns3/hns3_ethdev.c +++ b/drivers/net/hns3/hns3_ethdev.c @@ -4853,7 +4853,7 @@ hns3_check_port_speed(struct hns3_hw *hw, uint32_t link_speeds) return 0; } -static inline uint32_t +static uint32_t hns3_get_link_speed(uint32_t link_speeds) { uint32_t speed = RTE_ETH_SPEED_NUM_NONE;