]>
git.proxmox.com Git - ceph.git/blob - ceph/src/spdk/dpdk/examples/ipsec-secgw/test/data_rxtx.sh
11 while [[ $i -ne 1200 && $st -eq 0 ]];
14 ping -c 1 -s ${i} ${dst}
18 if [[ $st -ne 0 ]]; then
19 echo "ERROR: $0 failed for dst=${dst}, sz=${i}"
30 while [[ $i -ne 1200 && $st -eq 0 ]];
33 ping6
-c 1 -s ${i} ${dst}
37 if [[ $st -ne 0 ]]; then
38 echo "ERROR: $0 failed for dst=${dst}, sz=${i}"
47 for sz
in 1234 23456 345678 4567890 56789102 ; do
49 dd if=/dev
/urandom of
=${x} bs
=${sz} count
=1
50 scp
${x} [${dst}]:${x}
51 scp
[${dst}]:${x} ${x}.copy1
52 diff -u ${x} ${x}.copy1
55 ssh ${REMOTE_HOST} rm -f ${x}
56 if [[ $st -ne 0 ]]; then