]> git.droids-corp.org - dpdk.git/blobdiff - examples/ipsec-secgw/ipsec-secgw.c
examples/ipsec-secgw: enable flow based distribution
[dpdk.git] / examples / ipsec-secgw / ipsec-secgw.c
index 6f6abacbcbbd5e20a56accb923d7e5cb1be87ea2..8ba15d23c7e8c941732a9a7e50261c3e3c93178b 100644 (file)
@@ -50,6 +50,7 @@
 #include <rte_alarm.h>
 
 #include "event_helper.h"
 #include <rte_alarm.h>
 
 #include "event_helper.h"
+#include "flow.h"
 #include "ipsec.h"
 #include "ipsec_worker.h"
 #include "parser.h"
 #include "ipsec.h"
 #include "ipsec_worker.h"
 #include "parser.h"
@@ -2980,6 +2981,8 @@ main(int32_t argc, char **argv)
                }
        }
 
                }
        }
 
+       flow_init();
+
        check_all_ports_link_status(enabled_port_mask);
 
 #if (STATS_INTERVAL > 0)
        check_all_ports_link_status(enabled_port_mask);
 
 #if (STATS_INTERVAL > 0)