From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by dpdk.org (Postfix) with ESMTP id E57C9236 for ; Wed, 22 Nov 2017 16:26:04 +0100 (CET) Received: by mail-wm0-f67.google.com with SMTP id b189so10967459wmd.5 for ; Wed, 22 Nov 2017 07:26:04 -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=pLa6Z4GiM6EeRDI11GamYzng4YzNsgwrXNkr+P1FNK0=; b=a5upyu/cZqOUUdC7v7W09PrnN0iwJ9yMSrL7PfmblrZRfV5dI7ctksvnCv/XMw6WgY +pjWfElHeC7wXHDUG27JhSB7bLsfxMMj33YiYszC4P/MfP7VSMJnEyUUds/iidyIeHU7 Ec3zTdKSir0411Ak6teUybzyP72h3YGnOV4hrS8Gaw3tG2bt4TwmNAKHIkSpoukvtw4r GBCjs2ACWtiu+Wtdg4yXFVVAmQMPCxsFWSuyQYlZBWEK4bK0do+Qh3lwcPLN70/wxDA3 bVGwsHJUAbKVWDwOcEXVfBcMpvf2emyZNceVbnI7zJwzz3ZBaqt2/6KNvPRoSMq8xQQz B0Uw== 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=pLa6Z4GiM6EeRDI11GamYzng4YzNsgwrXNkr+P1FNK0=; b=WeFV18Sj3FvJqQ+vO30+ty8AFsflH7Lq0oW/jnErpH2wtX4iafIv/8yxUrQWPkPDTn JIvtJY38OTiewvfOJjMLU4IScoK6NJoIcjDp8WuaNPPq+DmjGPqdEAy6Pa4xqYEBJ0oH OipO3j8FEGJgj1lBdSyAgsbRkUpKSqTwnm5D5hGeX5WvLgDWi+60qi/mrHvCtklMutmX mcEVZTNxnUiXFpFkXohHZ9xFzBjjdHippVc21Qr1u7goGtsdW9OVZy9vnq+Py4uWjJaM QfrxAuFRIi5PDx92bwZ4PZ2YqoZOA6O2uvW7gEnSYSU6RHKiB2B2Jd0ssk5MPbkFDhUj 1gPA== X-Gm-Message-State: AJaThX706u2V6IfQrsxSrBbqSx8NCTdf4CQbVPYiDMGzjxVamgGP4fTH 6N7Vm9B9b4nZTy1XBLVOcxifQMFIqA== X-Google-Smtp-Source: AGs4zMZ7YzGYjfZxf4/RuA60zkR/Vm/SHEKYDDqOp9v/I5IOUyP0y9nekktv6YE1UD4vR9qFV/Zung== X-Received: by 10.80.167.37 with SMTP id h34mr29921519edc.223.1511364364631; Wed, 22 Nov 2017 07:26:04 -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 j8sm10770609edh.55.2017.11.22.07.26.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 22 Nov 2017 07:26:03 -0800 (PST) Date: Wed, 22 Nov 2017 16:25:58 +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: <20171122152558.xvyusrh4msjv7l3n@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> <20171122130553.f2hjcv6ah6l2tpia@laranjeiro-vm.dev.6wind.com> <5f838c59-8c3d-2e63-b9a9-541dec9f0982@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5f838c59-8c3d-2e63-b9a9-541dec9f0982@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 15:26:05 -0000 On Wed, Nov 22, 2017 at 08:43:29PM +0530, Anoob wrote: > Hi Nelio, > > The issue is probably because of a different patch titled, "[PATCH 2/3] > crypto: fix pedentic compilation errors". I was able to reproduce the > issue with that. > > Hope this helps. > > Thanks, > Anoob Hi Anoob, Indeed, and I am the author for this one, I've tested your series on top of the it by replacing the RTE_STD_C11 by __extentsion__ which fixes the pedantic compilation also, I don't have anymore the segfault. Thanks and sorry for this, > On 11/22/2017 06:35 PM, Nelio Laranjeiro wrote: > > 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