diff options
author | Anand B Jyoti <anand.b.jyoti@intel.com> | 2017-07-28 13:11:19 +0530 |
---|---|---|
committer | Anand B Jyoti <anand.b.jyoti@intel.com> | 2017-09-27 03:29:26 +0530 |
commit | 3ec896179c547d54a18b40494a2871d7e328c0bf (patch) | |
tree | a7a0fcba876cbad15a1c75fc48b3a33855ddddab /common/VIL/pipeline_arpicmp | |
parent | 88180c786ad5a7f983e5868376b0db167fffc13c (diff) |
common: Changes to common code for gateway support
JIRA: SAMPLEVNF-58
Common code changes for gateway packet forwarding.
Change-Id: Ie002c94b8febab9c0923e1bb261e5ea931cd4712
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
Diffstat (limited to 'common/VIL/pipeline_arpicmp')
-rw-r--r-- | common/VIL/pipeline_arpicmp/pipeline_arpicmp_be.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/VIL/pipeline_arpicmp/pipeline_arpicmp_be.c b/common/VIL/pipeline_arpicmp/pipeline_arpicmp_be.c index 1dbf34a3..481f8521 100644 --- a/common/VIL/pipeline_arpicmp/pipeline_arpicmp_be.c +++ b/common/VIL/pipeline_arpicmp/pipeline_arpicmp_be.c @@ -50,6 +50,7 @@ #include "lib_arp.h" #include "lib_icmpv6.h" #include "interface.h" +#include "gateway.h" /* Shared among all VNFs including LB */ struct app_params *myApp; @@ -811,7 +812,7 @@ static void *pipeline_arpicmp_init(struct pipeline_params *params, p_arp->receivedPktCount = 0; p_arp->droppedPktCount = 0; - + gw_init(rte_eth_dev_count()); lib_arp_init(params, app); /* Pipeline */ |