White Papers

12
|
QAT Whitepaper
© 2019 Dell Inc. or its subsidiaries.
6.4 Server Setup for the Tunneling Server
The section describes the steps required to run VPP on Tunneling Server that performs the IPsec encryption.
A command line reference for VPP can be found online,
11
with additional reference material from Intel.
12
6.4.1 Install and Enable Intel
®
QAT
These steps enable Intel
®
QAT on then Server-Sun.
1. Check for PCI devices (information only)
[root@sun dell]# lspci | grep processor
60:00.0 Co-processor: Intel Corporation C62x Chipset QuickAssist Technology (rev 03)
61:00.0 Co-processor: Intel Corporation C62x Chipset QuickAssist Technology (rev 03)
62:00.0 Co-processor: Intel Corporation C62x Chipset QuickAssist Technology (rev 03)
2. Configure and compile QAT
cd /home/dell/qat
./configure --enable-icp-sriov=host
make -j10
make install
lspci -d:37c9 -k
3. Repeating Step 1 will show the Virtual Functions rendered by QAT install step (information only).
6.4.2 Set and Run VPP
These steps provide information on how to run VPP with OpenSSL, Intel AESNI and QAT.
1. Disable the network ports being used for the DPDK:
cd /etc/sysconfig/network-scripts
ifdown p1p1
ifdown p1p2
service network restart
2. Download and untar DPDK in directory “dpdk”.
cd /home/dell
git clone http://dpdk.org/git/dpdk
3. Compile/Setup DPDK
cd /home/dell/dpdk
export DESTDIR=x86_64-native-linuxapp-gcc_destdir
make T=x86_64-native-linuxapp-gcc install -j100
4. Insert DPDK UIO driver into Kernel:
modprobe uio
insmod x86_64-native-linuxapp-gcc/kmod/igb_uio.ko
5. Bind DPDK UIO module with PCI device:
./usertools/dpdk-devbind.py -b igb_uio 0000:3b:00.0
./usertools/dpdk-devbind.py -b igb_uio 0000:3b:00.1
Bind QAT VF’s to DPDK:
./usertools/dpdk-devbind.py -b igb_uio 0000:60:01.0
./usertools/dpdk-devbind.py -b igb_uio 0000:61:01.0