GRE tunnel key should use fib_index instead of fib_id (VPP-1118) 78/9978/2
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 15:33:21 +0000 (15:33 +0000)
commit101e005f41abcdf8b6cf36e1a17bf13b37aa88c4
tree7f359ecd4aa78b67032c13ea73b01e368942d753
parentb4c42cdc6bbbf464f3f0034b2b39d4e20fd23a25
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>
(cherry picked from commit 72247c803250894834d15952a6fddcd8f4a39a9c)
src/vnet/gre/interface.c