background image

Performance Test Procedure

Rev 1.2

15

Mellanox Technologies

The running kernel should be the version you installed from the Innova IPsec software package. 
See 

Section 1.1, “Prerequisites,” on page 5

.

 Step 2.

Load the Innova IPsec driver:

 Step 3.

Make sure the drivers are loaded:

The above four drivers should be running.

 Step 4.

Verify no error messages in kernel log:

4.2.2 Configuring IP Addresses 

 Step 1.

Configure IP addresses for the two interfaces on the two servers: 
Note: Replace interface names in the commands below as appropriate. See 

Chapter 

3,“Test Set-up Architecture” on page 9

.

 Step 2.

Verify connectivity and link speed for both interfaces. You may use ethtool to query the link 
state and/or ping to test connectivity. Example: 

4.2.3 Setting up IPsec SA

 Step 1.

Set up the IPsec tunnels between the two servers using the script provided with the Innova 
IPsec software package.

kernel-4.9.0_rc6_3602b52_2016_12_06_16_08_22

[root@server-a ~]# modprobe mlx_ipsec

[root@server-a ~]# lsmod | grep mlx
mlx_ipsec              32768  0
mlx_accel_core         32768  1 mlx_ipsec
mlx5_ib               159744  1 mlx_accel_core
mlx5_core             319488  2 mlx5_ib,mlx_accel_core

[root@server-a ~]# dmesg | tail
[ 5983.745124] mlx_accel_hw_dev_add_one called for 0000:00:08.0
[ 5983.745627] infiniband mlx5_0: mlx_accel_ib_dev_add_one called
[ 5983.746909] mlx5_core 0000:00:08.0: FPGA image is ready
[ 5983.864881] mlx_accel_core_client_register called for mlx_ipsec
[ 5983.866169] mlx_accel_core_conn_create called for mlx5_0-0000:00:08.0
[ 5983.910555] mlx_accel_core_connect called for mlx5_0-0000:00:08.0
[ 5983.959818] net ens8: mlx_ipsec added on device mlx5_0-0000:00:08.0

[root@server-a ~]# ifconfig ens1 192.168.8.12/24 up
[root@server-a ~]# ip addr add 192.168.8.13/24 dev ens1
[root@server-a ~]# ip addr add 192.168.8.14/24 dev ens1
[root@server-b ~]# ifconfig ens1 192.168.8.22/24 up
[root@server-b ~]# ip addr add 192.168.8.23/24 dev ens1
[root@server-b ~]# ip addr add 192.168.8.24/24 dev ens1

[root@server-a ~]# ping 192.168.8.22

[root@server-a ~]#./xfrm-offload-transport.sh -both 192.168.8.12 ens1 192.168.8.22 ens1 server-b 
[root@server-a ~]#./xfrm-offload-transport.sh -both -a 192.168.8.13 ens1 192.168.8.23 ens1 server-b 
[root@server-a ~]#./xfrm-offload-transport.sh -both -a 192.168.8.14 ens1 192.168.8.24 ens1 server-b 

Summary of Contents for Innova IPsec 4 Lx

Page 1: ...Mellanox Technologies www mellanox com Mellanox Innova IPsec 4 Lx Ethernet Adapter Quick Start Guide Rev 1 2...

Page 2: ...dated list of Mellanox trademarks visit http www mellanox com page trademarks NOTE THIS HARDWARE SOFTWARE OR TEST SUITE PRODUCT PRODUCT S AND ITS RELATED DOCUMENTATION ARE PROVIDED BY MELLANOX TECHNOL...

Page 3: ...irmware and Tools Update 7 Chapter 3 Test Set up Architecture 9 3 1 Tunnel Mode Set up 9 3 2 Transport Mode Set up 10 Chapter 4 Performance Test Procedure 11 4 1 Tunnel Mode 11 4 1 1 Loading Kernel an...

Page 4: ...ter 2 Fast Installation and Update on page 7 Updated Section 4 1 1 Loading Kernel and Driver on page 11 Updated Section 4 2 1 Loading Kernel and Driver on page 14 Updated Section 4 2 3 Setting up IPse...

Page 5: ...s 1 1 2 Transport Mode Table 3 lists the hardware software and firmware that the set up requires Table 2 Set up Requirements Requirements Description Hardware Four servers Four ConnectX 4 adapter card...

Page 6: ...10GbE 40GbE Driver Kernel Components kernel 4 9 0_rc6_37cc319_2017_01_22_16_06_10 1 x86_64 rpm kernel devel 4 9 0_rc6_37cc319_2017_01_22_16_06_10 1 x86_64 rpm iproute2 4 9 0rc6_ipsec_offload 1 x86_64...

Page 7: ...rnel RPM files Offload scripts xfrm iproute MFT tar file Firmware bin files 2 3 Software Firmware and Tools Update Step 1 To download the package please refer to www mellanox com Products Programma bl...

Page 8: ...rt with_fpga apps 13 mst status MST modules MST PCI module is not loaded MST PCI configuration module is not loaded MST devices No MST devices were found nor MST modules were loaded You may need to ru...

Page 9: ...both server A and B The other two servers Gateway C and Gateway D are used for IP forwarding encryption and decryption Each gateway server should have one ConnectX 4 and one Innova IPsec adapter card...

Page 10: ...ova IPsec adapter card should be installed in both Server A and Server B The IPsec configuration is set to the fol lowing Encryption algorithm AES GCM 128 256 bit key and 128 bit ICV IPsec operation m...

Page 11: ...1 Configure IP addresses for the six interfaces on the four servers root gateway c uname r kernel 4 9 0_rc6_3602b52_2016_12_06_16_08_22 root gateway c modprobe mlx_ipsec root gateway c lsmod grep mlx...

Page 12: ...4 24 dev ens1 root gateway c ifconfig ens1 192 168 8 1 24 up root gateway c ifconfig ens2 192 168 7 2 24 up root gateway d ifconfig ens2 192 168 7 9 24 up root gateway d ifconfig ens1 192 168 9 1 24...

Page 13: ...ets 0 ipsec_dec_out_packets 0 ipsec_dec_bypass_packets 6 ipsec_enc_in_packets 0 ipsec_enc_out_packets 0 ipsec_enc_bypass_packets 6 ipsec_dec_drop_packets 0 ipsec_dec_auth_fail_packets 0 ipsec_enc_drop...

Page 14: ...ect kernel version is running root gateway c ethtool S ens2 grep ipsec ipsec_dec_in_packets 8 ipsec_dec_out_packets 8 ipsec_dec_bypass_packets 6 ipsec_enc_in_packets 8 ipsec_enc_out_packets 8 ipsec_en...

Page 15: ...2768 0 mlx_accel_core 32768 1 mlx_ipsec mlx5_ib 159744 1 mlx_accel_core mlx5_core 319488 2 mlx5_ib mlx_accel_core root server a dmesg tail 5983 745124 mlx_accel_hw_dev_add_one called for 0000 00 08 0...

Page 16: ...2 root server a ethtool S ens1 grep ipsec ipsec_dec_in_packets 8 ipsec_dec_out_packets 8 ipsec_dec_bypass_packets 6 ipsec_enc_in_packets 8 ipsec_enc_out_packets 8 ipsec_enc_bypass_packets 6 ipsec_dec_...

Reviews: