update comments

This commit is contained in:
Hawker 2020-11-27 15:36:35 +08:00 committed by fengbojiang
parent dc643060d1
commit 6fb0694d16
1 changed files with 4 additions and 1 deletions

View File

@ -1108,7 +1108,10 @@ ff_dpdk_init(int argc, char **argv)
init_clock();
#ifdef FF_FLOW_ISOLATE
//Recommend: using config options replace magic number
//Only give a example using port_id=0, tcp_port= 80.
//Recommend:
//1. init_flow should replace `set_rss_table` in `init_port_start` loop, This can set all NIC's port_id_list instead only 0 device(port_id).
//2. using config options `tcp_port` replace magic number of 80
ret = init_flow(0, 80);
if (ret < 0) {
rte_exit(EXIT_FAILURE, "init_port_flow failed\n");