update create_tcp_flow parameter

This commit is contained in:
Hawker 2020-11-27 15:20:14 +08:00 committed by fengbojiang
parent 170b9c333f
commit 8155960f54
1 changed files with 1 additions and 1 deletions

View File

@ -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;