mirror of https://github.com/F-Stack/f-stack.git
update create_tcp_flow parameter
This commit is contained in:
parent
fc73e3a9a4
commit
900256fd7d
|
@ -900,7 +900,7 @@ port_flow_isolate(uint16_t port_id, int set)
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
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 rte_flow_attr attr = {.ingress = 1};
|
||||||
struct ff_port_cfg *pconf = &ff_global_cfg.dpdk.port_cfgs[port_id];
|
struct ff_port_cfg *pconf = &ff_global_cfg.dpdk.port_cfgs[port_id];
|
||||||
int nb_queues = pconf->nb_lcores;
|
int nb_queues = pconf->nb_lcores;
|
||||||
|
|
Loading…
Reference in New Issue