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:
3320acb
)
net/liquidio: fix port id type
author
Zhiyong Yang
<zhiyong.yang@intel.com>
Thu, 12 Oct 2017 09:32:49 +0000
(17:32 +0800)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Fri, 13 Oct 2017 00:17:49 +0000
(
01:17
+0100)
port_id in struct lio_device should be increased range to uint16_t since
port id in rte_eth_dev_data has already been defined as uint16_t.
Fixes:
f8244c6399d9
("ethdev: increase port id range")
Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
drivers/net/liquidio/lio_struct.h
patch
|
blob
|
history
diff --git
a/drivers/net/liquidio/lio_struct.h
b/drivers/net/liquidio/lio_struct.h
index
635e47f
..
10e3976
100644
(file)
--- a/
drivers/net/liquidio/lio_struct.h
+++ b/
drivers/net/liquidio/lio_struct.h
@@
-684,7
+684,7
@@
struct lio_device {
uint8_t nb_tx_queues;
uint8_t port_configured;
struct lio_rss_ctx rss_state;
- uint
8
_t port_id;
+ uint
16
_t port_id;
char firmware_version[LIO_FW_VERSION_LENGTH];
};
#endif /* _LIO_STRUCT_H_ */