@@ -13,7 +13,8 @@ SUBDIRS = @platform_with_platform@ \
helper/test \
doc \
example \
- scripts
+ scripts \
+ pcap
@DX_RULES@
@@ -232,6 +232,7 @@ AC_CONFIG_FILES([Makefile
pkgconfig/libodp-linux.pc
pkgconfig/libodphelper-linux.pc
scripts/Makefile
+ pcap/Makefile
])
AC_SEARCH_LIBS([timer_create],[rt posix4])
@@ -14,4 +14,4 @@ if HAVE_PCAP
TESTS = l2fwd_simple_run.sh
endif
endif
-EXTRA_DIST = l2fwd_simple_run.sh udp64.pcap
+EXTRA_DIST = l2fwd_simple_run.sh
@@ -6,7 +6,7 @@
# SPDX-License-Identifier: BSD-3-Clause
#
-PCAP_IN=`find . ${TEST_DIR} $(dirname $0) -name udp64.pcap -print -quit`
+PCAP_IN=`find . ../../pcap -name udp64.pcap -print -quit`
echo "using PCAP_IN = ${PCAP_IN}"
./odp_l2fwd_simple pcap:in=${PCAP_IN} pcap:out=pcapout.pcap 02:00:00:00:00:01 02:00:00:00:00:02 &
deleted file mode 100644
GIT binary patch
literal 0
HcmV?d00001
literal 7624
zcmca|c+)~A1{MYw_+QV!zzF1AIDRVZQX4OW4Ui4OOdthJV3Lu8!IgnQ52VaNFl`SP
zPy-M%&2gOL#31#rG%+bTB{eNQBQq;ICpRy@ps;AvtkLiqO%tPeXtbOdEel8Mj?wyY
zv^_D}W*Ti5GK{vPNBat+eXG&_<7gilID#<RE*xzaj<yR&+l8a;!qKvDbPRcP%zboT
XVRY^UIO8<hE*$M6kM@y?=pzFFfL+O&
@@ -14,4 +14,4 @@ if HAVE_PCAP
TESTS = pktio_run.sh
endif
endif
-EXTRA_DIST = pktio_run.sh udp64.pcap
+EXTRA_DIST = pktio_run.sh
@@ -6,7 +6,7 @@
# SPDX-License-Identifier: BSD-3-Clause
#
-PCAP_IN=`find . ${TEST_DIR} $(dirname $0) -name udp64.pcap -print -quit`
+PCAP_IN=`find . ../../pcap -name udp64.pcap -print -quit`
PCAP_OUT="pcapout.pcap"
PCAP_IN_SIZE=`stat -c %s ${PCAP_IN}`
echo "using PCAP in=${PCAP_IN}:out=${PCAP_OUT} size %${PCAP_IN_SIZE}"
deleted file mode 100644
GIT binary patch
literal 0
HcmV?d00001
literal 7624
zcmca|c+)~A1{MYw_+QV!zzF1AIDRVZQX4OW4Ui4OOdthJV3Lu8!IgnQ52VaNFl`SP
zPy-M%&2gOL#31#rG%+bTB{eNQBQq;ICpRy@ps;AvtkLiqO%tPeXtbOdEel8Mj?wyY
zv^_D}W*Ti5GK{vPNBat+eXG&_<7gilID#<RE*xzaj<yR&+l8a;!qKvDbPRcP%zboT
XVRY^UIO8<hE*$M6kM@y?=pzFFfL+O&
@@ -14,4 +14,4 @@ if HAVE_PCAP
TESTS = switch_run.sh
endif
endif
-EXTRA_DIST = switch_run.sh udp64.pcap
+EXTRA_DIST = switch_run.sh
@@ -9,7 +9,7 @@
NUM_RX_PORT=3
RETVAL=0
-PCAP_IN=`find . ${TEST_DIR} $(dirname $0) -name udp64.pcap -print -quit`
+PCAP_IN=`find . ../../pcap -name udp64.pcap -print -quit`
echo "Switch test using PCAP_IN = ${PCAP_IN}"
deleted file mode 100644
GIT binary patch
literal 0
HcmV?d00001
literal 7624
zcmca|c+)~A1{MYw_+QV!zzF1AIDRVZQX4OW4Ui4OOdthJV3Lu8!IgnQ52VaNFl`SP
zPy-M%&2gOL#31#rG%+bTB{eNQBQq;ICpRy@ps;AvtkLiqO%tPeXtbOdEel8Mj?wyY
zv^_D}W*Ti5GK{vPNBat+eXG&_<7gilID#<RE*xzaj<yR&+l8a;!qKvDbPRcP%zboT
XVRY^UIO8<hE*$M6kM@y?=pzFFfL+O&
new file mode 100644
@@ -0,0 +1 @@
+EXTRA_DIST = udp64.pcap
Signed-off-by: Mike Holmes <mike.holmes@linaro.org> --- Makefile.am | 3 ++- configure.ac | 1 + example/l2fwd_simple/Makefile.am | 2 +- example/l2fwd_simple/l2fwd_simple_run.sh | 2 +- example/l2fwd_simple/udp64.pcap | Bin 7624 -> 0 bytes example/packet/Makefile.am | 2 +- example/packet/pktio_run.sh | 2 +- example/packet/udp64.pcap | Bin 7624 -> 0 bytes example/switch/Makefile.am | 2 +- example/switch/switch_run.sh | 2 +- example/switch/udp64.pcap | Bin 7624 -> 0 bytes pcap/Makefile.am | 1 + pcap/udp64.pcap | Bin 0 -> 7624 bytes 13 files changed, 10 insertions(+), 7 deletions(-) delete mode 100644 example/l2fwd_simple/udp64.pcap delete mode 100644 example/packet/udp64.pcap delete mode 100644 example/switch/udp64.pcap create mode 100644 pcap/Makefile.am create mode 100644 pcap/udp64.pcap diff --git a/pcap/udp64.pcap b/pcap/udp64.pcap new file mode 100644 index 0000000000000000000000000000000000000000..45f9d6e6341a331125e1e3e49ab8ad1e71b20712 GIT binary patch literal 7624 zcmca|c+)~A1{MYw_+QV!zzF1AIDRVZQX4OW4Ui4OOdthJV3Lu8!IgnQ52VaNFl`SP zPy-M%&2gOL#31#rG%+bTB{eNQBQq;ICpRy@ps;AvtkLiqO%tPeXtbOdEel8Mj?wyY zv^_D}W*Ti5GK{vPNBat+eXG&_<7gilID#<RE*xzaj<yR&+l8a;!qKvDbPRcP%zboT XVRY^UIO8<hE*$M6kM@y?=pzFFfL+O& literal 0 HcmV?d00001