From c0e965e9412d9c8a1624f3940c085c68a9ecbf3e Mon Sep 17 00:00:00 2001 From: Hawker Date: Fri, 27 Nov 2020 15:20:14 +0800 Subject: [PATCH] update create_tcp_flow parameter --- lib/ff_dpdk_if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ff_dpdk_if.c b/lib/ff_dpdk_if.c index 6ab87760d..cfbb772aa 100644 --- a/lib/ff_dpdk_if.c +++ b/lib/ff_dpdk_if.c @@ -900,7 +900,7 @@ port_flow_isolate(uint16_t port_id, int set) } static int -create_tcp_flow(int port_id, uint16_t tcp_port) { +create_tcp_flow(uint16_t port_id, uint16_t tcp_port) { struct rte_flow_attr attr = {.ingress = 1}; struct ff_port_cfg *pconf = &ff_global_cfg.dpdk.port_cfgs[port_id]; int nb_queues = pconf->nb_lcores;