git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2665a92
)
net/hns3: make control plane function non-inline
author
Jie Hai
<haijie1@huawei.com>
Sat, 22 Jan 2022 01:51:31 +0000
(09:51 +0800)
committer
Ferruh 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
patch
|
blob
|
history
diff --git
a/drivers/net/hns3/hns3_ethdev.c
b/drivers/net/hns3/hns3_ethdev.c
index
722660d
..
f92832a
100644
(file)
--- 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;