GRE tunnel key should use fib_index instead of fib_id (VPP-1118) 77/9977/1
authorJohn Lo <loj@cisco.com>
Sat, 6 Jan 2018 05:22:54 +0000 (00:22 -0500)
committerJohn Lo <loj@cisco.com>
Sat, 6 Jan 2018 05:22:54 +0000 (00:22 -0500)
commit72247c803250894834d15952a6fddcd8f4a39a9c
treee642c6eb05ccdec8a80a136b36b6e8c17e4b5fea
parent1f720c3b1958ac785671a5d7f69841c91d9abf96
GRE tunnel key should use fib_index instead of fib_id (VPP-1118)

The code path in src/vnet/gre/interface.c uses fib_id as a
component to generate hash key for GRE tunnel. This should be
fib_index as the GRE rx/decap data path will be using fib_index
to generate the hash key to lookup the GRE tunnel.

Change-Id: Ia7f0892d84f9dac79223a6e016775892b61eb5fb
Signed-off-by: John Lo <loj@cisco.com>
src/vnet/gre/interface.c