git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ethdev: increase port id range
[dpdk.git]
/
examples
/
ip_pipeline
/
init.c
diff --git
a/examples/ip_pipeline/init.c
b/examples/ip_pipeline/init.c
index
7cde49a
..
ca59baf
100644
(file)
--- a/
examples/ip_pipeline/init.c
+++ b/
examples/ip_pipeline/init.c
@@
-1236,7
+1236,7
@@
app_init_tap(struct app_params *app)
#ifdef RTE_LIBRTE_KNI
static int
#ifdef RTE_LIBRTE_KNI
static int
-kni_config_network_interface(uint
8
_t port_id, uint8_t if_up) {
+kni_config_network_interface(uint
16
_t port_id, uint8_t if_up) {
int ret = 0;
if (port_id >= rte_eth_dev_count())
int ret = 0;
if (port_id >= rte_eth_dev_count())
@@
-1250,7
+1250,7
@@
kni_config_network_interface(uint8_t port_id, uint8_t if_up) {
}
static int
}
static int
-kni_change_mtu(uint
8_t port_id, unsigned
new_mtu) {
+kni_change_mtu(uint
16_t port_id, unsigned int
new_mtu) {
int ret;
if (port_id >= rte_eth_dev_count())
int ret;
if (port_id >= rte_eth_dev_count())