summaryrefslogtreecommitdiffstats
path: root/examples/netmap_compat/lib/compat_netmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/netmap_compat/lib/compat_netmap.h')
-rw-r--r--examples/netmap_compat/lib/compat_netmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/netmap_compat/lib/compat_netmap.h b/examples/netmap_compat/lib/compat_netmap.h
index 3dc7a2f4..76b2d2b4 100644
--- a/examples/netmap_compat/lib/compat_netmap.h
+++ b/examples/netmap_compat/lib/compat_netmap.h
@@ -67,7 +67,7 @@ struct rte_netmap_port_conf {
};
int rte_netmap_init(const struct rte_netmap_conf *conf);
-int rte_netmap_init_port(uint8_t portid,
+int rte_netmap_init_port(uint16_t portid,
const struct rte_netmap_port_conf *conf);
int rte_netmap_close(int fd);