GRE tunnel key includes the FIB table 49/9849/2
authorNeale Ranns <nranns@cisco.com>
Thu, 14 Dec 2017 16:51:32 +0000 (08:51 -0800)
committerDamjan Marion <dmarion.lists@gmail.com>
Sat, 16 Dec 2017 19:39:26 +0000 (19:39 +0000)
commit33ce60d6759bbbfebb7d489aa591b696e140d870
treeeda75c292952f754813648b5a49d0ca5f17a69f3
parent8e66b9bf4ba90279631e6a0e8ccc2eab5f9156c2
GRE tunnel key includes the FIB table

- GRE tunnels with the same src,dst addresses are not the same tunnel
- Two data-plane improvements:
  - the cached key was never updated and so useless
  - no need to dereference the tunnel's HW interface to get the sw_if_index

Change-Id: I2f2ea6e08c759a810b753cec22c497e921a2ca01
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/vnet/gre/gre.c
src/vnet/gre/gre.h
src/vnet/gre/interface.c
src/vnet/gre/node.c
test/test_gre.py
test/vpp_gre_interface.py