From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id F0204590F for ; Wed, 10 Aug 2016 15:52:55 +0200 (CEST) Received: by mail-wm0-f47.google.com with SMTP id f65so92188371wmi.0 for ; Wed, 10 Aug 2016 06:52:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=aHipgq4p+pH+WID1RLIC3rHHMiZWv2HWoCs2Tv52hD0=; b=jFGSDIdHa15s7J50tgvrlPJsuht2gl8DLD3UEj3Lu0Idntjl/o5hKroy07PDRwU/Mp LFZ959W/gfu71CNXEtv9XRacWO2UsJJq1NpMYGHbQ/BJfaKaU9R+u6rMncowt95H4OVX yw+/e+L5S4x+ZInu+87q9Ba4rSiFGqZlp3r4XsAfC8O8QG1dnbiUucuSmfBOXraCk/oh D/C2YlKK9KLqSua3Aio6Lir8e8cDx09g4rFZYul11V3NQFoxsAm7YGxxzuHVX3XcEKYe 13YzvW5TfxINnJ+b0pWPa9Le+NQ+aE5CrPGcp3py8Ppt7sK+tiTtpH3m/GLMDsMI8Wtd EGhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=aHipgq4p+pH+WID1RLIC3rHHMiZWv2HWoCs2Tv52hD0=; b=PYG3A2zOk5AhuCVgkZF1dMfkcw0nJKbwTFYz8xAyYGYUdPXyNiARFev3OtcOdOCpIv Gh/KRshrWLnaIx+YU2Z+MLb2Pgf0CrKry9FY1eztVp3VKcVUoSjUX4gxmQfHmfcZ3IZw Q8U7rW5+M+x6qYoESrCCdZG82rgNNVCmaN7HhZYUjrieiXNG5I1UdoUPwoDt8+cTVfyx pJMOvFoe6Mf9PjYaav3HfcBk1ED8o7QK8c3HIuW9hoeJe/EkJs3PMfYqAStGlPqN/136 jaV2u06TJK1W5t4XW4QNuM6p6mWBwGCwYJazNtVUsLyVyKIOeENZuY9ou0tK19wfuFen GbQw== X-Gm-Message-State: AEkoouuzL+Vsg9/D9r1874r439zw5mwTK5XR0Rb4MdUVJ3D13ePyVHkOdeMjJ9X7IlRZ50XUYMt54WfxiUvlDQ== X-Received: by 10.28.182.136 with SMTP id g130mr3241354wmf.21.1470837175192; Wed, 10 Aug 2016 06:52:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.9.164 with HTTP; Wed, 10 Aug 2016 06:52:54 -0700 (PDT) From: Chinmaya Dwibedy Date: Wed, 10 Aug 2016 19:22:54 +0530 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Issue with IPsec Security Gateway sample application (on VM) at 1Gbps traffic X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2016 13:52:56 -0000 Hi , I am running the IPsec Security Gateway application ( at http://dpdk.org/browse/dpdk/tree/examples/ipsec-secgw) on two VMs. It uses AESNI crypto device. Modified this application to add the Security Associations (SA) as ACL rules like Security Policies (SP). I have added 100 entries of SP and SA. I am also able to send the UDP traffic (one packet) in each of these tunnels. But while sending 1 Gbs traffic (distributed through 100 tunnels) , it is getting crashed . Here is the core dump Core was generated by `./build/ipsec-secgw -l 0 -n 4 --pci-blacklist 0000:00:04.0 -- -p 0x3 --config=('. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x000000000047d8c5 in search_avx2x16 () Missing separate debuginfos, use: debuginfo-install glibc-2.18-12.fc20.x86_64 openssl-libs-1.0.1e-37.fc20.x8 6_64 zlib-1.2.8-3.fc20.x86_64 (gdb) bt #0 0x000000000047d8c5 in search_avx2x16 () #1 0x0000000000436955 in process_pkts_outbound (ctx=0x9b3800 , traffic=0x7fff335746d0, portid=1 '\001') at /root/dpdk-2.2.0/examples/ipsec-secgw/ipsec-secgw.c:551 #2 0x0000000000437055 in process_pkts (ctx=0x9b3800 , pkts=0x7fff33574eb0, nb_pkts=23 '\027', portid=1 '\001') at /root/dpdk-2.2.0/examples/ipsec-secgw/ipsec-secgw.c:677 #3 0x0000000000437a08 in main_loop (dummy=0x0) at /root/dpdk-2.2.0/examples/ipsec-secgw/ipsec-secgw.c:890 #4 0x00000000004a15f3 in rte_eal_mp_remote_launch () #5 0x000000000043a3dd in main (argc=9, argv=0x7fff33575270) at /root/dpdk-2.2.0/examples/ipsec-secgw/ipsec-secgw.c:1904 (gdb) I am using ESP tunnel mode with AES encryption algorithm and SHA1 authentication algorithm . Here is the configuration to lunch the application ./build/ipsec-secgw -l 0 -n 4 --pci-blacklist 0000:00:05.0 -- -p 0x3 --config="(0,0,0),(1,0,0)" -u 0x1 --cdev AESNI --ep0 There might be packets drop but it should not crash. Note that, with one IPsec tunnel, I do not face this issue. Can anyone please suggest what might be the issues behind this crash? Thank you in advance for your time and support. Please feel free to let me know if additional information is needed. Regards, Chinmaya