From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f179.google.com (mail-wr0-f179.google.com [209.85.128.179]) by dpdk.org (Postfix) with ESMTP id EFB8F236 for ; Wed, 22 Nov 2017 14:05:59 +0100 (CET) Received: by mail-wr0-f179.google.com with SMTP id w95so14507289wrc.2 for ; Wed, 22 Nov 2017 05:05:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=GeyOizhf7ZPdiA6bN5msjm8mTtq9xKVmNdBcbBakV94=; b=153Qp0DOxdEYbuYG6E08EGN2ZUfJAb8BJ07dE4pFzgFBvVW6WR7JupD/Ulo5gRNUCX 8Iyew2FOOoi0UbdEO+cchFrBJLOuNWksiFS9AlJH1lFszWIUk6RayHIzKg8ChtFOhG3K Y8WJZgWywLChfK+hUVbHqNBnJv2Y9FJ+527NCzP65FGNj/gNYckwN+OlEev6jCQbSDjh zoSjE2W60oW5EirpxGSb3fkpOwwkZ5NBFMa/DS1EBHdpkG+LiOYEy9SWXY38d/WSymiK M80HvnimATbeHAdh+F+F06IS/mBY7A6gcjEEm0eDjScO+33HFCNUbfx65fV6BMbaP8Pu p85A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=GeyOizhf7ZPdiA6bN5msjm8mTtq9xKVmNdBcbBakV94=; b=CGPQs0toaQGdkvcMQDJJr6TuJNJyPrMS8o6pIz4gBCNN8JxAl9eNfblGrOMS1I3j7u XiLSHB+D5O+OzWQhKCkExLGx6sWOIEavb6sshPgKrbq6sBZXsiYQAz+G+nU+awsZK7/z PEj8iXvtMyPcrHvJlvNxqazZDw/JuDfXU+O0Jh7motUzRN5PvnQ8QTKM3QtpOpo0ZAdG W4dbh0+NnyoqXziJOe6RJVSY12FbRaLqKlcP5MWo7COaC2KQWDsxfVsNgBFMvcIiRmjV 4Nz5ADyIuqhMvWOtaHr+eTyEph04e/NNKZjtWqeEUMkuvEF781AcZYdb+xV0ihT9xE9F K3Sw== X-Gm-Message-State: AJaThX5Ma+dk11SI42gWIoa+lCR2xQMyPQswy4oKaMizIzS/2KPDJsYR mNH2f0K74VBaZXF00ChiEvmC X-Google-Smtp-Source: AGs4zMbxuprHRNtv8E5kJq+TlfsqgERWiwWk6zzna6uehzQ6xunPldnmCz0aZl7K9JEHL+aMGH/p6g== X-Received: by 10.223.164.20 with SMTP id d20mr19457579wra.103.1511355959559; Wed, 22 Nov 2017 05:05:59 -0800 (PST) Received: from laranjeiro-vm.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id r14sm5816512wra.71.2017.11.22.05.05.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 22 Nov 2017 05:05:58 -0800 (PST) Date: Wed, 22 Nov 2017 14:05:53 +0100 From: Nelio Laranjeiro To: Anoob Cc: Akhil Goyal , Declan Doherty , Radu Nicolau , Sergio Gonzalez Monroy , Jerin Jacob , Narayana Prasad , dev@dpdk.org Message-ID: <20171122130553.f2hjcv6ah6l2tpia@laranjeiro-vm.dev.6wind.com> References: <1511173905-22117-1-git-send-email-anoob.joseph@caviumnetworks.com> <1511333716-11955-1-git-send-email-anoob.joseph@caviumnetworks.com> <20171122122120.kgd5ahfrdjblzdbv@laranjeiro-vm.dev.6wind.com> <1c07e772-24f9-f2da-ecc1-b7856b388c90@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1c07e772-24f9-f2da-ecc1-b7856b388c90@caviumnetworks.com> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-dev] [PATCH v2 0/2] add inline protocol support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Nov 2017 13:06:00 -0000 On Wed, Nov 22, 2017 at 06:25:12PM +0530, Anoob wrote: > Hi Nelio, > > Which mode was attempted when you got the crash? Is it with inline-protocol? Hi Annoob, Yes, MLX5 ConnectX-4 Lx INNOVA is an inline crypto NIC. > Thanks, > > Anoob > > > On 11/22/2017 05:51 PM, Nelio Laranjeiro wrote: > > Hi Anoob, > > > > I am facing a segfault in ipsec-secgw with this series when using MLX5 > > PMD, maybe you can help here, see the following gdb backtrace. > > > > Thread 1 "ipsec-secgw" received signal SIGSEGV, Segmentation fault. > > 0x00005555555b5123 in __rte_security_attach_session (sym_op=0x0, sess=0x7ffef7edb540) at /root/dpdk/x86_64-native-linuxapp-gcc/include/rte_security.h:378 > > 378 sym_op->sec_session = sess; > > (gdb) bt > > #0 0x00005555555b5123 in __rte_security_attach_session (sym_op=0x0, sess=0x7ffef7edb540) at /root/dpdk/x86_64-native-linuxapp-gcc/include/rte_security.h:378 > > #1 0x00005555555b5178 in rte_security_attach_session (op=0x7fffe8a90008, sess=0x7ffef7edb540) at /root/dpdk/x86_64-native-linuxapp-gcc/include/rte_security.h:414 > > #2 0x00005555555b6389 in ipsec_enqueue (xform_func=0x5555555b7961 , ipsec_ctx=0x555556003a00 , pkts=0x7fffffffdaf0, sas=0x7fffffffd830, > > nb_pkts=1) at /root/dpdk/examples/ipsec-secgw/ipsec.c:449 > > #3 0x00005555555b68f5 in ipsec_inbound (ctx=0x555556003a00 , pkts=0x7fffffffdaf0, nb_pkts=1, len=32) at /root/dpdk/examples/ipsec-secgw/ipsec.c:542 > > #4 0x00005555555c3713 in process_pkts_inbound (ipsec_ctx=0x555556003a00 , traffic=0x7fffffffd8f0) at /root/dpdk/examples/ipsec-secgw/ipsec-secgw.c:465 > > #5 0x00005555555c42eb in process_pkts (qconf=0x555556001480 , pkts=0x7fffffffe830, nb_pkts=1 '\001', portid=0) > > at /root/dpdk/examples/ipsec-secgw/ipsec-secgw.c:699 > > #6 0x00005555555c47eb in main_loop (dummy=0x0) at /root/dpdk/examples/ipsec-secgw/ipsec-secgw.c:792 > > #7 0x00005555556301c5 in rte_eal_mp_remote_launch (f=0x5555555c43e8 , arg=0x0, call_master=CALL_MASTER) at /root/dpdk/lib/librte_eal/common/eal_common_launch.c:91 > > #8 0x00005555555c65a3 in main (argc=8, argv=0x7fffffffeb18) at /root/dpdk/examples/ipsec-secgw/ipsec-secgw.c:1608 > > > > Thanks, > > > -- Nélio Laranjeiro 6WIND