From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0047.outbound.protection.outlook.com [104.47.36.47]) by dpdk.org (Postfix) with ESMTP id 37A73236 for ; Wed, 22 Nov 2017 16:13:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=KpIOC0kPkpw4+k2WhfzUSi7qu3NOwaEL+v0paitwlVY=; b=UKGls5QO39MsOY/TiqiBDam+Xa1HPAp/v4GoQ1vopRLQwHr5ebiaaNLEsKF70v/DlJwQKEHmNlbgCGm7FYw23BE1K/cyNoBUc/jWA3qL1qZ4B+KeFiUZgszvRM5EhBfCTfgjewiBBYrh3zdoDweBYrGcVn5Ex9rsMQTzXTfXa5o= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Anoob.Joseph@cavium.com; Received: from ajoseph.in.caveonetworks.com (14.140.2.178) by MWHPR0701MB3642.namprd07.prod.outlook.com (2603:10b6:301:7d::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.260.4; Wed, 22 Nov 2017 15:13:34 +0000 To: Nelio Laranjeiro Cc: Akhil Goyal , Declan Doherty , Radu Nicolau , Sergio Gonzalez Monroy , Jerin Jacob , Narayana Prasad , dev@dpdk.org 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> From: Anoob Message-ID: <5f838c59-8c3d-2e63-b9a9-541dec9f0982@caviumnetworks.com> Date: Wed, 22 Nov 2017 20:43:29 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171122130553.f2hjcv6ah6l2tpia@laranjeiro-vm.dev.6wind.com> Content-Language: en-US X-Originating-IP: [14.140.2.178] X-ClientProxiedBy: DM5PR07CA0028.namprd07.prod.outlook.com (2603:10b6:3:16::14) To MWHPR0701MB3642.namprd07.prod.outlook.com (2603:10b6:301:7d::35) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 56e4d48b-fff1-4ba7-561c-08d531bb9b88 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4602075)(7168020)(4627115)(201703031133081)(201702281549075)(2017052603199); SRVR:MWHPR0701MB3642; X-Microsoft-Exchange-Diagnostics: 1; MWHPR0701MB3642; 3:zxb42+s8qCCTlsSdGR30SDvziHua7/j6uymopI3+pXuo5vFu9TTvZXXIhRdsgXrxbqz33RREz49i+4BW2laD3yJtqQNAvyzVRvZ03t9zNed/yKo+G2AqfpJqipdQuupRvaeqQMVG+qJzb6ndN2NUGn3yXVW4Ao903bmuHVGwpc4DJysNSO980dvnVrbedEo8TgSumHYSXD9dUDOLycxP+myfGyYIBaC5oqL32D0IGKfBVeMvPGNO02rE6HRIdg2q; 25:Ar4s397axtEGDDrX1w1uDDTytARdaC/+9j3jF2ZaOBxdn4pHUyCx6fixRCbalUsQpgCRvOajVFmyw5khY8NJmWROdjJlid3959e2BITNh/4ZoYhD4wSVX0yYHGKwRo3G3qAZVFxdWpI2Bzg362V1u6zJ+XWrA8ykmyBeDZ+jA0y5SCiR/HDG8yqJMKNopi3sH/2RGrUFan0UFc5eUN+qbnV7ZT6HXzv+9u8mk9KTqKAtqQ1I6kbd00gKBmHNDt79uL5s8nuU3JiJK9ah8bNaJ23FWOJICSAwAXZyQbk4QR76tMLWqtBC4wbhzQAXYuWtjkWCbkb/8a28XQBqz8iolg==; 31:Qy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X0AmBdmfFXJWFGK9rS5hygUgVq5cExBjpSdrlM6dw5kFWHbWPdx155d/gFfGmZGmV+KChfMBCiMiUVC1CSFk3epVaLf5E5haMktBuUicYKJi0vdx3FP9wxW0c4x3lE6AXhQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(3002001)(100000703101)(100105400095)(10201501046)(93006095)(3231022)(6041248)(20161123555025)(20161123560025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHPR0701MB3642; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHPR0701MB3642; X-Forefront-PRVS: 0499DAF22A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(346002)(376002)(24454002)(129404003)(189002)(199003)(5890100001)(54896002)(6512007)(55236003)(229853002)(8656006)(81166006)(6506006)(97736004)(81156014)(7736002)(8676002)(65956001)(66066001)(5009440100003)(65806001)(316002)(54906003)(36756003)(53936002)(4326008)(6486002)(83506002)(189998001)(53546010)(68736007)(93886005)(84326002)(478600001)(101416001)(65826007)(50986999)(54356999)(76176999)(105586002)(6246003)(106356001)(37036004)(8936002)(64126003)(2906002)(31696002)(16526018)(16586007)(5660300001)(270700001)(25786009)(2950100002)(6666003)(33646002)(31686004)(42882006)(6916009)(72206003)(6116002)(3846002)(58126008)(110426004); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR0701MB3642; H:ajoseph.in.caveonetworks.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR0701MB3642; 23:f20G+2an4KnrMlUp1B8zaDcl0X2smFdkeh6MhMx?= =?us-ascii?Q?vCDTcbSpDxOlFk9KZKCV2CVoTWJgci+UxnEdM0OzfccZA1Lt/nA2a9gNpL5C?= =?us-ascii?Q?44nncYOJX9mCvOgv+9WQj+srehHz+3tWTM9/ErAjiCxSA2zL4wGaWYnqbh6T?= =?us-ascii?Q?V4Hv3gvQRK0UcrV2Iuhbx9CO5TahXy+ZQpWta2fh3V03erLZ5/77Fdm+mxKG?= =?us-ascii?Q?ZC6Dl0efMQsWIWwe51dK2tG4gXY1V8ljkanWHYp3VO+IfnGemFx7cndWJGN1?= =?us-ascii?Q?BFNc00qPvwcf0N+7PANh4OXxRyIaXsNodfr3gnLWOC1kPE5xye3PXKvwd6Gs?= =?us-ascii?Q?oEr3jocGzXZ8czXNScBDKsKdE+zhJWtKSCFN1xHrFEzWdz9mLfD4ufvDCSP0?= =?us-ascii?Q?hsM4AySehAgebFkHTaFaFfBYrXcG5y0oR8NwmUd4ii6OZ8t74XSVpdewD2Eu?= =?us-ascii?Q?WVNugTbZGC0+TOKMrt9nXqWUUfwhFT3Nn5EJXQhD4nrmnkCixNpR7mcmTHdl?= =?us-ascii?Q?C5Hf/t2g1nzRaz+RRb7V7NTYqKJTlMysnh3rL6J/TFXT+RtqS81OKNautr3z?= =?us-ascii?Q?bdv2lQLbH3wTTq6XjNiw7BnayafWC9sAGEQeKSKNHXCQVglCkKckPjWltlsd?= =?us-ascii?Q?dizPBG8vk79LgolNdDGu9HPRN4+nJGmvBBUnGnx87Ni0Vjnb1+rAwuBu5e/6?= =?us-ascii?Q?HKlccZAuxLWI+eRnRYQOHD5Ji9VVrClXaxAvTCDVuXjMVpvu1P7+SGjfiWsR?= =?us-ascii?Q?yHLs3dCPcw67M674J+YiEdqF2eLQghX9cPojhcOB9RnlqrAoiBJxR/OExBNm?= =?us-ascii?Q?qqz4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iVLe5ZsYcUP1z88wyRQ2F6c3FiA7/8LGyocphRkWt522SqIgKvL/6yDLMARS8AFXRAgUiZ4OjjWn1Id/Z+AU47v4DRXwCj1VePREpNQ1J/LPCj4GHIfg+hV81O6bp7DY0uZ5880MyRVculLnS0U8y8S79fjbT20DKk=; 5:KjMa/4GpjikNvAMJvbb1dcst3Yauz4bKex8txRKFCNnzA0t7xTH/HaBAFo0GYVuIJYbHM9yqul0x8evU02D74hWQGvPfCQ/skB0rTCXCNt/p00ZQM57QJZCHtR6AV9zGR6EMrzulGut6b2TLj1MKFgVqROCNk4R0A0YjsFU8sOE=; 24:zv/BGi7JuSDzjOzjSfrmowuq7T+jpgciUm8TCnM0DhnJ7DG8rwmSDBzAWbGxrdW0y8koOz6F5R6j7BVLgeMkAYWwM3XRkUmlTlSqa+9Nq24=; 7:syIB4t7M5pIEtLcsRMJHnDrfKtsBlJfgoewnuktDFU7H8Gwo/Own2Lb9xvMj2WoVfpaQZWGzLUEMUew7wh7lxGjKthLDQBuhkx2wbmKVsSz0DyJoW2bkPU4P5HN//+KVifTI+JnApaJNN1mhjVALIq5R6w1+ZY1USeISCbg7fOROLZEy7JN73u/vaAe9uq10lgmk9oZYGPJril0OB5m69SBihcweHjX6ZLJ+E69d366N17oP/KN4Yu8Nb0rKFlEj SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Nov 2017 15:13:34.8185 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 56e4d48b-fff1-4ba7-561c-08d531bb9b88 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR0701MB3642 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 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:13:41 -0000 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 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, >>>