summaryrefslogtreecommitdiffstats
path: root/examples/server_node_efd/shared/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/server_node_efd/shared/common.h')
-rw-r--r--examples/server_node_efd/shared/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/server_node_efd/shared/common.h b/examples/server_node_efd/shared/common.h
index 8a134799..b1e0abe5 100644
--- a/examples/server_node_efd/shared/common.h
+++ b/examples/server_node_efd/shared/common.h
@@ -65,9 +65,9 @@ struct filter_stats {
struct shared_info {
uint8_t num_nodes;
- uint8_t num_ports;
+ uint16_t num_ports;
uint32_t num_flows;
- uint8_t id[RTE_MAX_ETHPORTS];
+ uint16_t id[RTE_MAX_ETHPORTS];
struct rx_stats rx_stats;
struct tx_stats tx_stats[MAX_NODES];
struct filter_stats filter_stats[MAX_NODES];