aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dpdk/dpdk_scripts/patch_l3fwd_flip_routes
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2018-07-13 11:44:29 +0000
committerPeter Mikus <pmikus@cisco.com>2018-07-17 08:15:44 +0000
commit24f7c6a4d22b8d26f0aa86669fc7aadad2108f2f (patch)
treedb73acc1882cc5d42633c725ea75fee9345ca767 /tests/dpdk/dpdk_scripts/patch_l3fwd_flip_routes
parentcb66ecc82b7491823c837e2cefbf50984fcae594 (diff)
Refactor DPDK testcases to new structure
+ RXQ refactor Change-Id: Ic03a2e208b9fe5d324a5ed75a603af4cff1854a9 Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'tests/dpdk/dpdk_scripts/patch_l3fwd_flip_routes')
-rwxr-xr-xtests/dpdk/dpdk_scripts/patch_l3fwd_flip_routes10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/dpdk/dpdk_scripts/patch_l3fwd_flip_routes b/tests/dpdk/dpdk_scripts/patch_l3fwd_flip_routes
new file mode 100755
index 0000000000..e0b204eb9c
--- /dev/null
+++ b/tests/dpdk/dpdk_scripts/patch_l3fwd_flip_routes
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+patch --ignore-whitespace l3fwd_lpm.c <<"_EOF"
+44,45c44,45
+< {IPv4(1, 1, 1, 0), 24, 0},
+< {IPv4(2, 1, 1, 0), 24, 1},
+---
+> {IPv4(1, 1, 1, 0), 24, 1},
+> {IPv4(2, 1, 1, 0), 24, 0},
+_EOF