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
(parent:
3eb7e20
)
net/bnxt: fix port id type
author
Zhiyong Yang
<zhiyong.yang@intel.com>
Thu, 12 Oct 2017 09:32:48 +0000
(17:32 +0800)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Fri, 13 Oct 2017 00:17:49 +0000
(
01:17
+0100)
Fixes:
f8244c6399d9
("ethdev: increase port id range")
Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
drivers/net/bnxt/bnxt_hwrm.c
patch
|
blob
|
history
diff --git
a/drivers/net/bnxt/bnxt_hwrm.c
b/drivers/net/bnxt/bnxt_hwrm.c
index
c9b04e2
..
0e96d3c
100644
(file)
--- a/
drivers/net/bnxt/bnxt_hwrm.c
+++ b/
drivers/net/bnxt/bnxt_hwrm.c
@@
-1940,7
+1940,7
@@
static uint16_t bnxt_parse_eth_link_speed(uint32_t conf_link_speed)
ETH_LINK_SPEED_10G | ETH_LINK_SPEED_20G | ETH_LINK_SPEED_25G | \
ETH_LINK_SPEED_40G | ETH_LINK_SPEED_50G)
-static int bnxt_valid_link_speed(uint32_t link_speed, uint
8
_t port_id)
+static int bnxt_valid_link_speed(uint32_t link_speed, uint
16
_t port_id)
{
uint32_t one_speed;