Use lisp_gpeX iface counters to store decap stats 93/1693/5
authorFlorin Coras <fcoras@cisco.com>
Tue, 21 Jun 2016 20:32:47 +0000 (22:32 +0200)
committerDave Barach <openvpp@barachs.net>
Thu, 23 Jun 2016 21:48:48 +0000 (21:48 +0000)
commit0f6b7960716d09129bec60fe942a6bed1ef729d5
tree3eb45eeeac3489652c75391e7701078a124ebe27
parent2c21a9aa887d52840bfefe60ca36a4a6941217b0
Use lisp_gpeX iface counters to store decap stats

The patch switches to using LISP interface counters for storing the
number of decapsulated packets instead of using per decap node stats. It
also removes the encap node (iface tx node) stats since the iface output
node already keeps track of the number of encapsulated packets.

Change-Id: I636702a824264c173792f2f0c7fec0b0f4c6a9f7
Signed-off-by: Florin Coras <fcoras@cisco.com>
vnet/vnet/lisp-gpe/decap.c
vnet/vnet/lisp-gpe/interface.c
vnet/vnet/lisp-gpe/lisp_gpe.c
vnet/vnet/lisp-gpe/lisp_gpe_error.def