ofs | hex dump | ascii |
---|
0000 | 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 07 f4 00 00 01 92 08 06 00 00 00 fd ce f9 | .PNG........IHDR................ |
0020 | 8e 00 00 0c 27 69 43 43 50 49 43 43 20 50 72 6f 66 69 6c 65 00 00 48 89 95 97 07 54 93 c9 16 80 | ....'iCCPICC.Profile..H....T.... |
0040 | e7 2f a9 24 b4 40 04 a4 84 de 44 e9 55 7a 8d 20 20 55 b0 11 92 40 42 09 21 21 a8 d8 91 45 05 d6 | ./.$.@....D.Uz...U...@B.!!...E.. |
0060 | 82 8a 05 2b ba 2a 62 5b 0b 20 8b 0d 0b 16 16 c1 86 fd 61 41 45 59 17 0b 36 54 de 24 01 74 f5 bc | ...+.*b[..........aAEY..6T.$.t.. |
0080 | f7 ce bb e7 cc ff 7f b9 73 e7 ce bd 37 f3 cf 99 01 40 2d 9a 23 16 67 a1 ea 00 64 8b f2 24 31 a1 | ........s...7....@-.#.g...d..$1. |
00a0 | 01 ac 89 49 c9 2c d2 43 40 00 24 a0 09 b4 80 0b 87 2b 15 fb 47 47 47 00 28 43 ef 7f ca bb 1b 00 | ...I.,.C@.$......+..GGG.(C...... |
00c0 | 91 bf af da c9 7d fd dc ff 5f 45 83 c7 97 72 01 40 a2 21 a7 f2 a4 dc 6c c8 87 01 c0 5d b9 62 49 | .....}..._E...r.@.!....l....].bI |
00e0 | 1e 00 84 1e a8 37 9d 9e 27 86 4c 84 51 02 2d 09 0c 10 b2 99 9c d3 95 ec 2e e7 54 25 47 28 6c e2 | .....7..'.L.Q.-...........T%G(l. |
0100 | 62 02 21 a7 00 40 a6 71 38 92 74 00 54 e5 71 b1 f2 b9 e9 d0 8f 6a 19 64 7b 11 4f 28 82 dc 08 d9 | b.!..@.q8.t.T.q......j.d{.O(.... |
0120 | 87 2b e0 f0 20 7f 86 3c 2a 3b 3b 07 b2 9a 15 64 ab d4 ef fc a4 ff c3 67 ea b0 4f 0e 27 7d 98 95 | .+.....<*;;....d.......g..O.'}.. |
0140 | b9 28 84 1c 24 94 8a b3 38 33 ff cf 72 fc 6f c9 ce 92 0d cd 61 0a 1b 4d 20 09 8b 91 e7 2c af 5b | .(..$...83..r.o.....a..M.....,.[ |
0160 | 66 4e b8 9c 69 90 cf 8b 52 23 a3 20 6b 42 be 26 e4 29 ec e5 fc 44 20 0b 8b 1f b4 ff c0 95 06 c2 | fN..i...R#..kB.&.)...D.......... |
0180 | 9a 01 26 00 28 8d c7 09 0a 87 ac 0f d9 44 94 15 19 31 a8 f7 49 13 86 b0 21 c3 da a3 71 c2 3c 76 | ..&.(........D...1..I...!...q.<v |
01a0 | 9c 72 2c ca 93 e4 c4 0c fa 47 67 f0 a5 c1 b1 43 cc 91 28 e6 92 db 94 c8 32 e3 fd 07 7d 6e 12 f0 | .r,......Gg....C..(.....2...}n.. |
01c0 | d9 43 3e 1b 0a 04 71 89 ca 38 d1 b6 7c 61 42 24 64 55 c8 77 a5 99 b1 e1 83 36 cf 0b 04 81 91 43 | .C>...q..8..|aB$dU.w.....6.....C |
01e0 | 36 12 59 8c 3c 66 f8 9f 63 20 4d 12 12 a3 b4 c1 cc b2 a5 43 79 61 9e 02 21 3b 72 90 23 f2 04 71 | 6.Y.<f..c.M........Cya..!;r.#..q |
0200 | 61 ca b1 d8 54 2e 47 11 9b 0e e4 0c be 74 62 c4 50 9c 3c 7e 50 b0 32 2f ac 90 2f 8a 1f 8c 1f 2b | a...T.G......tb.P.<~P.2/../....+ |
0220 | 17 e7 05 c4 0c da 6f 17 67 45 0f da 63 8d fc ac 50 b9 de 04 72 ab 34 3f 76 68 6c 6f 1e 5c 6c ca | ......o.gE..c...P...r.4?vhlo.\l. |
0240 | 7c 71 20 ce 8b 8e 53 c6 86 6b 65 70 c6 45 2b 63 c0 6d 40 04 08 04 41 80 05 64 b0 a5 82 1c 90 01 | |q....S..kep.E+c.m@...A..d...... |
0260 | 84 ad 3d 75 3d f0 97 b2 27 04 70 80 04 a4 03 3e b0 1b d4 0c 8d 48 54 f4 88 e0 33 16 14 80 bf 20 | ..=u=...'.p....>.....HT...3..... |
0280 | f1 81 74 78 5c 80 a2 97 0f f2 a1 fe cb b0 56 f9 b4 03 69 8a de 7c c5 88 4c f0 04 72 36 08 07 59 | ..tx\.........V...i..|..L..r6..Y |
02a0 | f0 b7 4c 31 4a 34 3c 5b 02 78 0c 35 c2 9f 66 e7 c2 58 b3 60 93 f7 fd a4 63 a9 0d e9 88 c1 c4 20 | ..L1J4<[.x.5..f..X.`....c....... |
02c0 | 62 18 31 84 68 8d eb e1 3e b8 17 1e 01 9f 7e b0 39 e2 ee b8 c7 50 5c df ec 09 4f 08 ed 84 87 84 | b.1.h...>.....~.9....P\...O..... |
02e0 | eb 84 4e c2 ad 69 c2 42 c9 0f 91 b3 c0 78 d0 09 63 0c 19 cc 2e f5 fb ec 70 0b e8 d5 05 0f c0 bd | ..N..i.B.....x..c.......p....... |
0300 | a1 7f e8 1b 67 e2 7a c0 0e 77 86 33 f9 e3 be 70 6e 17 a8 fd 3e 56 d9 70 c6 df 6a 39 e8 8b 62 4f | ....g.z..w.3...pn...>V.p..j9..bO |
0320 | 41 29 23 28 7e 14 ab 1f 23 50 b5 51 75 19 f6 22 af d4 f7 b5 50 c6 95 3a 5c ad c0 e1 9e 1f f3 08 | A)#(~...#P.Qu.."....P..:\....... |
0340 | fc ae 7e 3c f8 0e ff d1 12 5b 8c 1d c2 9a b1 53 d8 05 ac 11 ab 03 2c ec 04 56 8f b5 60 c7 e4 3c | ..~<.....[.....S......,..V..`..< |
0360 | bc 36 1e 2b d6 c6 d0 6c 31 8a 78 32 a1 1f e1 4f f3 71 06 e7 94 57 4d 6a 5f 63 df 6d ff 79 b0 0f | .6.+...l1.x2...O.q...WMj_c.m.y.. |
0380 | e4 f1 67 e4 c9 3f 96 c0 1c f1 4c 89 30 5d 90 c7 f2 87 bb 35 9f c5 16 71 47 8f 62 39 da 3b c0 5d | ..g..?....L.0].....5...qG.b9.;.] |
03a0 | 54 be f7 2b b7 96 37 4c c5 9e 8e 30 2f 7e d3 e5 9e 04 c0 a3 04 2a d3 bf e9 38 70 0f 3a fa 04 00 | T..+..7L...0/~.......*...8p.:... |
03c0 | c6 bb 6f 3a d3 d7 70 d9 2f 07 e0 58 1b 57 26 c9 57 ea 70 f9 83 00 a8 40 0d 7e 29 ba c0 10 ee 5d | ..o:..p./..X.W&.W.p....@.~)....] |
03e0 | 56 30 23 47 e0 0a bc 80 1f 08 06 e3 40 14 88 03 49 60 2a ac b3 00 ae 53 09 98 0e 66 83 05 a0 18 | V0#G........@...I`*....S...f.... |
0400 | 94 82 e5 60 35 58 0f 36 83 6d 60 17 d8 0b 0e 82 3a d0 08 4e 81 73 e0 12 68 03 d7 c1 1d b8 56 ba | ...`5X.6.m`.....:..N.s..h.....V. |
0420 | c0 0b d0 0b de 81 7e 04 41 48 08 1d 61 20 ba 88 11 62 8e d8 22 8e 88 3b e2 83 04 23 11 48 0c 92 | ......~.AH..a....b.."..;...#.H.. |
0440 | 84 a4 20 e9 88 08 91 21 b3 91 85 48 29 52 8e ac 47 b6 22 d5 c8 ef c8 51 e4 14 72 01 69 47 6e 21 | .......!...H)R..G."....Q..r.iGn! |
0460 | 0f 90 6e e4 35 f2 09 c5 50 1a aa 85 1a a0 16 e8 18 d4 1d f5 47 c3 d1 38 74 0a 9a 8e e6 a2 05 68 | ..n.5...P...........G..8t......h |
0480 | 11 ba 14 5d 8b 56 a1 7b d0 5a f4 14 7a 09 bd 8e 76 a2 2f d0 3e 0c 60 2a 18 13 33 c6 ec 30 77 2c | ...].V.{.Z..z...v./.>.`*..3..0w, |
04a0 | 10 8b c2 92 b1 34 4c 82 cd c5 4a b0 0a ac 0a db 87 35 c0 7f fa 2a d6 89 f5 60 1f 71 22 ce c0 59 | .....4L...J......5...*...`.q"..Y |
04c0 | b8 1d 5c af 61 78 3c ce c5 73 f1 b9 78 19 be 1e df 85 d7 e2 67 f0 ab f8 03 bc 17 ff 4a a0 13 f4 | ..\.ax<..s..x.......g.......J... |
04e0 | 09 b6 04 4f 02 9b 30 91 90 4e 98 4e 28 26 54 10 76 10 8e 10 ce c2 6f a7 8b f0 8e 48 24 32 89 96 | ...O..0..N.N(&T.v.....o....H$2.. |
0500 | 44 37 f8 ed 25 11 33 88 b3 88 65 c4 8d c4 fd c4 93 c4 76 e2 23 62 1f 89 44 d2 25 d9 92 bc 49 51 | D7..%.3...e.......v.#b..D.%...IQ |
0520 | 24 0e 29 8f 54 4c 5a 47 da 43 3a 41 ba 42 ea 22 7d 20 ab 90 8d c8 8e e4 10 72 32 59 44 2e 24 57 | $.).TLZG.C:A.B."}........r2YD.$W |
0540 | 90 77 93 8f 93 af 90 9f 92 fb 29 ea 14 73 8a 27 25 8a c2 a3 cc a4 2c a3 6c a7 34 50 2e 53 ba 28 | .w........)..s.'%.....,.l.4P.S.( |
0560 | fd 54 0d aa 25 d5 9b 1a 47 cd a0 2e a0 ae a5 ee a3 9e a5 de a5 be 51 51 51 31 51 f1 50 99 a0 22 | .T..%...G.............QQQ1Q.P.." |
0580 | 54 99 af b2 56 e5 80 ca 79 95 07 2a 1f 69 9a 34 1b 5a 20 6d 32 4d 46 5b 4a db 49 3b 49 bb 45 7b | T...V...y..*.i.4.Z.m2MF[J.I;I.E{ |
05a0 | 43 a7 d3 2d e8 7e f4 64 7a 1e 7d 29 bd 9a 7e 9a 7e 9f fe 41 95 a1 3a 5a 95 ad ca 53 9d a7 5a a9 | C..-.~.dz.})..~.~..A..:Z...S..Z. |
05c0 | 5a ab 7a 45 f5 a5 1a 45 cd 5c cd 5f 6d aa 5a 81 5a 85 da 21 b5 cb 6a 3d ea 14 75 0b f5 40 75 8e | Z.zE...E.\._m.Z.Z..!..j=..u..@u. |
05e0 | fa 5c f5 4a f5 a3 ea 1d ea 7d 1a 0c 0d 07 8d 28 8d 6c 8d 32 8d dd 1a 17 34 9e 69 92 34 2d 34 83 | .\.J.....}.....(.l.2....4.i.4-4. |
0600 | 35 79 9a 45 9a db 34 4f 6b 3e 62 60 0c 53 46 20 83 cb 58 c8 d8 ce 38 cb e8 d2 22 6a 59 6a b1 b5 | 5y.E..4Ok>b`.SF...X...8..."jYj.. |
0620 | 32 b4 4a b5 f6 6a b5 6a f5 6a 6b 6a 3b 6b 27 68 cf d0 ae d4 3e a6 dd c9 c4 98 16 4c 36 33 8b b9 | 2.J..j.j.jkj;k'h....>......L63.. |
0640 | 8c 79 90 79 83 f9 69 84 c1 08 ff 11 fc 11 4b 46 ec 1b 71 65 c4 7b 9d 91 3a 7e 3a 7c 9d 12 9d fd | .y.y..i.......KF..qe.{..:~:|.... |
0660 | 3a d7 75 3e e9 b2 74 83 75 33 75 57 e8 d6 e9 de d3 c3 f5 6c f4 26 e8 4d d7 db a4 77 56 af 67 a4 | :.u>..t.u3uW.......l.&.M...wV.g. |
0680 | d6 48 af 91 dc 91 25 23 0f 8e bc ad 8f ea db e8 c7 e8 cf d2 df a6 df a2 df 67 60 68 10 6a 20 36 | .H....%#.................g`h.j.6 |
06a0 | 58 67 70 da a0 c7 90 69 e8 67 98 61 b8 ca f0 b8 61 b7 11 c3 c8 c7 48 68 b4 ca e8 84 d1 73 96 36 | Xgp....i.g.a....a.....Hh.....s.6 |
06c0 | cb 9f 95 c5 5a cb 3a c3 ea 35 d6 37 0e 33 96 19 6f 35 6e 35 ee 37 b1 34 89 37 29 34 d9 6f 72 cf | ....Z.:..5.7.3..o5n5.7.4.7)4.or. |
06e0 | 94 6a ea 6e 9a 66 ba ca b4 c9 b4 d7 cc c8 6c bc d9 6c b3 1a b3 db e6 14 73 77 73 81 f9 1a f3 66 | .j.n.f........l..l......sws....f |
0700 | f3 f7 16 96 16 89 16 8b 2c ea 2c 9e 59 ea 58 b2 2d 0b 2c 6b 2c ef 5a d1 ad 7c ad 72 ad aa ac ae | ........,.,.Y.X.-.,k,.Z..|.r.... |
0720 | 59 13 ad dd ad 33 ad 37 5a b7 d9 a0 36 2e 36 02 9b 4a 9b cb b6 a8 ad ab ad d0 76 a3 6d fb 28 c2 | Y....3.7Z...6.6..J........v.m.(. |
0740 | 28 8f 51 a2 51 55 a3 3a ec 68 76 fe 76 f9 76 35 76 0f 46 33 47 47 8c 2e 1c 5d 37 fa e5 18 b3 31 | (.Q.QU.:.hv.v.v5v.F3GG...]7....1 |
0760 | c9 63 56 8c 69 1e f3 d5 de c5 3e cb 7e bb fd 1d 07 4d 87 71 0e 85 0e 0d 0e af 1d 6d 1c b9 8e 95 | .cV.i.....>.~....M.q.......m.... |
0780 | 8e d7 # Copyright (c) 2020 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
*** Settings ***
| Resource | resources/libraries/robot/shared/default.robot
| Resource | resources/libraries/robot/crypto/ipsec.robot
|
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | TNL_400
| ... | IP4FWD | IPSEC | IPSECSW | IPSECINT | NIC_Intel-X710 | SCALE
| ... | AES_128_CBC | HMAC_SHA_256 | HMAC | AES | DRV_VFIO_PCI
| ... | RXQ_SIZE_0 | TXQ_SIZE_0
| ... | ethip4ipsec400tnlsw-ip4base-int-aes128cbc-hmac256sha
|
| Suite Setup | Setup suite topology interfaces | performance
| Suite Teardown | Tear down suite | performance
| Test Setup | Setup test | performance
| Test Teardown | Tear down test | performance | ipsec_sa
|
| Test Template | Local Template
|
| Documentation | *RFC2544: Pkt throughput IPv4 IPsec tunnel mode.*
|
| ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology
| ... | with single links between nodes.
| ... | *[Enc] Packet Encapsulations:* Eth-IPv4 on TG-DUTn,
| ... | Eth-IPv4-IPSec on DUT1-DUT2
| ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with multiple\
| ... | IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it\
| ... | and send to another DUT, where packets are decrypted and sent back to TG
| ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop\
| ... | Rate) with zero packet loss tolerance and throughput PDR (Partial Drop\
| ... | Rate) with non-zero packet loss tolerance (LT) expressed in percentage\
| ... | of packets transmitted. NDR and PDR are discovered for different\
| ... | Ethernet L2 frame sizes using MLRsearch library.\
| ... | Test packets are generated by TG on
| ... | links to DUTs. TG traffic profile contains two L3 flow-groups
| ... | (flow-group per direction, number of flows per flow-group equals to
| ... | number of IPSec tunnels) with all packets
| ... | containing Ethernet header, IPv4 header with IP protocol=61 and
| ... | static payload. MAC addresses are matching MAC addresses of the TG
| ... | node interfaces. Incrementing of IP.dst (IPv4 destination address) field
| ... | is applied to both streams.
| ... | *[Ref] Applicable standard specifications:* RFC4303 and RFC2544.
*** Variables ***
| @{plugins_to_enable}= | dpdk_plugin.so | crypto_native_plugin.so
| ... | crypto_ipsecmb_plugin.so | crypto_openssl_plugin.so
| ${crypto_type}= | ${None}
| ${nic_name}= | Intel-X710
| ${nic_driver}= | vfio-pci
| ${nic_rxq_size}= | 0
| ${nic_txq_size}= | 0
| ${nic_pfs}= | 2
| ${nic_vfs}= | 0
| ${osi_layer}= | L3
| ${overhead}= | ${62}
| ${tg_if1_ip4}= | 192.168.10.2
| ${dut1_if1_ip4}= | 192.168.10.1
| ${dut1_if2_ip4}= | 100.0.0.1
| ${dut2_if1_ip4}= | 200.0.0.2
| ${dut2_if2_ip4}= | 192.168.20.1
| ${tg_if2_ip4}= | 192.168.20.2
| ${raddr_ip4}= | 20.0.0.0
| ${laddr_ip4}= | 10.0.0.0
| ${addr_range}= | ${24}
| ${n_tunnels}= | ${400}
# Traffic profile:
| ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels}
*** Keywords ***
| Local Template
| | [Documentation]
| | ... | [Cfg] DUT runs IPSec tunneling AES_128_CBC / HMAC_SHA_256 config.\
| | ... | Each DUT uses ${phy_cores} physical core(s) for worker threads.
| | ... | [Ver] Measure NDR and PDR values using MLRsearch algorithm.\
| |
| | ... | *Arguments:*
| | ... | - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1).
| | ... | Type: integer, string
| | ... | - phy_cores - Number of physical cores. Type: integer
| | ... | - rxq - Number of RX queues, default value: ${None}. Type: integer
| |
| | [Arguments] | ${frame_size} | ${phy_cores} | ${rxq}=${None}
| |
| | Set Test Variable | \${frame_size}
| |
| | # These are enums (not strings) so they cannot be in Variables table.
| | ${encr_alg}= | Crypto Alg AES CBC 128
| | ${auth_alg}= | Integ Alg SHA 256 128
| |
| | Given Set Max Rate And Jumbo
| | And Add worker threads to all DUTs | ${phy_cores} | ${rxq}
| | And Pre-initialize layer driver | ${nic_driver}
| | And Apply startup configuration on all VPP DUTs
| | When Initialize layer driver | ${nic_driver}
| | And Initialize layer interface
| | And Initialize IPSec in 3-node circular topology
| | And VPP IPsec Create Tunnel Interfaces
| | ... | ${nodes} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${DUT1_${int}2}[0]
| | ... | ${DUT2_${int}1}[0] | ${n_tunnels} | ${encr_alg} | ${auth_alg}
| | ... | ${laddr_ip4} | ${raddr_ip4} | ${addr_range}
| | Then Find NDR and PDR intervals using optimized search
*** Test Cases ***
| 64B-1c-ethip4ipsec400tnlsw-ip4base-int-aes128cbc-hmac256sha-ndrpdr
| | [Tags] | 64B | 1C
| | frame_size=${64} | phy_cores=${1}
| 64B-2c-ethip4ipsec400tnlsw-ip4base-int-aes128cbc-hmac256sha-ndrpdr
| | [Tags] | 64B | 2C
| | frame_size=${64} | phy_cores=${2}
| 64B-4c-ethip4ipsec400tnlsw-ip4base-int-aes128cbc-hmac256sha-ndrpdr
| | [Tags] | 64B | 4C
| | frame_size=${64} | phy_cores=${4}
| 1518B-1c-ethip4ipsec400tnlsw-ip4base-int-aes128cbc-hmac256sha-ndrpdr
| | [Tags] | 1518B | 1C
| | frame_size=${1518} | phy_cores=${1}
| 1518B-2c-ethip4ipsec400tnlsw-ip4base-int-aes128cbc-hmac256sha-ndrpdr
| | [Tags] | 1518B | 2C
| | frame_size=${1518} | phy_cores=${2}
| 1518B-4c-ethip4ipsec400tnlsw-ip4base-int-aes128cbc-hmac256sha-ndrpdr
| | [Tags] | 1518B | 4C
| | frame_size=${1518} | phy_cores=${4}
| 9000B-1c-ethip4ipsec400tnlsw-ip4base-int-aes128cbc-hmac256sha-ndrpdr
| | [Tags] | 9000B | 1C
| | frame_size=${9000} | phy_cores=${1}
| 9000B-2c-ethip4ipsec400tnlsw-ip4base-int-aes128cbc-hmac256sha-ndrpdr
| | [Tags] | 9000B | 2C
| | frame_size=${9000} | phy_cores=${2}
| 9000B-4c-ethip4ipsec400tnlsw-ip4base-int-aes128cbc-hmac256sha-ndrpdr
| | [Tags] | 9000B | 4C
| | frame_size=${9000} | phy_cores=${4}
| IMIX-1c-ethip4ipsec400tnlsw-ip4base-int-aes128cbc-hmac256sha-ndrpdr
| | [Tags] | IMIX | 1C
| | frame_size=IMIX_v4_1 | phy_cores=${1}
| IMIX-2c-ethip4ipsec400tnlsw-ip4base-int-aes128cbc-hmac256sha-ndrpdr
| | [Tags] | IMIX | 2C
| | frame_size=IMIX_v4_1 | phy_cores=${2}
| IMIX-4c-ethip4ipsec400tnlsw-ip4base-int-aes128cbc-hmac256sha-ndrpdr
| | [Tags] | IMIX | 4C
| | frame_size=IMIX_v4_1 | phy_cores=${4}
|