net/hns3: make control plane function non-inline
authorJie Hai <haijie1@huawei.com>
Sat, 22 Jan 2022 01:51:31 +0000 (09:51 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 27 Jan 2022 13:39:12 +0000 (14:39 +0100)
This function is a control-plane interface and does
not need to use inline.

Signed-off-by: Jie Hai <haijie1@huawei.com>
Acked-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_ethdev.c

index 722660d..f92832a 100644 (file)
@@ -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;