Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions vppbld/patches/0010-ip4-fib-allow-class-e-route-override.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
diff --git a/src/vnet/fib/ip4_fib.c b/src/vnet/fib/ip4_fib.c
index 27f23497f..9d5e5331a 100644
--- a/src/vnet/fib/ip4_fib.c
+++ b/src/vnet/fib/ip4_fib.c
@@ -59,7 +59,12 @@ static const ip4_fib_table_special_prefix_t ip4_specials[] = {
.fp_len = 4,
.fp_proto = FIB_PROTOCOL_IP4,
},
- .ift_source = FIB_SOURCE_SPECIAL,
+ /*
+ * SONiC VPP uses Class E destinations in dataplane tests and should
+ * honor explicit/default routes for them instead of forcing a
+ * platform-only drop.
+ */
+ .ift_source = FIB_SOURCE_DEFAULT_ROUTE,
.ift_flag = FIB_ENTRY_FLAG_DROP,

},
2 changes: 2 additions & 0 deletions vppbld/patches/series
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@
0008-bond-drop-stats-track-original-member-interface.patch
# 9. Add ipip mp2p tunnel
0009-ipip-add-mp2p-ipip-tunnel.patch
# 10. Allow SONiC routes to override VPP's Class E default drop
0010-ip4-fib-allow-class-e-route-override.patch