From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0070.outbound.protection.outlook.com [104.47.33.70]) by dpdk.org (Postfix) with ESMTP id 5F01420F for ; Wed, 22 Nov 2017 14:53:24 +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=eiw2f98XKuQVlwh3zgp/J9C/NOqi696NGdAzqkMB0AM=; b=GgNVAvcH+VzT3xqXDUB3Mwpy73n5G8ycKuKtR5uRwaS6WDykvsr9/qWz02icguKDGulmZB0BOsy4vHHJY8VFzK37SVs/gelJcCOidJKbzttrKgMVLk7ct94ipdh40XNYIQdKTH1TqVlb7DNC3UQDq5iW0t/Sx5EryqvzVFhm15o= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Anoob.Joseph@cavium.com; Received: from ajoseph.in.caveonetworks.com (14.140.2.178) by SN4PR0701MB3648.namprd07.prod.outlook.com (2603:10b6:803:4d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.239.5; Wed, 22 Nov 2017 13:53:19 +0000 From: Anoob 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> <627488ae-1ee3-6b01-2b05-d30111cf86b4@caviumnetworks.com> Message-ID: <08cd014b-3b18-f7ff-a00f-c455edc87590@caviumnetworks.com> Date: Wed, 22 Nov 2017 19:23:13 +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: <627488ae-1ee3-6b01-2b05-d30111cf86b4@caviumnetworks.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Originating-IP: [14.140.2.178] X-ClientProxiedBy: MWHPR06CA0016.namprd06.prod.outlook.com (2603:10b6:301:39::29) To SN4PR0701MB3648.namprd07.prod.outlook.com (2603:10b6:803:4d::14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1c6b77da-2316-440f-0258-08d531b0654a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4602075)(7168020)(4627115)(201703031133081)(201702281549075)(2017052603199); SRVR:SN4PR0701MB3648; X-Microsoft-Exchange-Diagnostics: 1; SN4PR0701MB3648; 3:JGY4wymqDcjx5sUVEjVQoQoEgAULxQ3drP4C3MC+SKICiIB5bXiAJ9QQ9rGNx20yP/C7IaWXgL55KAOt9e3JQbvZ0H0V7/AnzOKm7q6m6Ww23qP8hNpUdPq9HBjvBSRGENKizRNi64K6NEehxBpy20iGDUJG2m9zyXJ6dbI5WdOhC6BeCZM3i/P2a91IpALWaDxFS7zkTDZjav3jLXQWBs4PcMFPnrEXSqptq7eCjnQBIpEaB1Wna2Jv0UENrpSZ; 25:J/fWouDVGOad43pV+q9F8f5MQRacBs6yqChzhrYYTcBy6xD82D40Ouf9CruGNlWIBuUwpwbUzDp3pm8rsO55tZ813HswFgEotGqoJl6oG1OsCmss4hQB/BePrMjWxVfB1v9N40zpQ1OJr02iSvec/WpLZb0yRyqu1Zjn3TEEJNlT6DHYhRaCOYrqp+eZ3kDKjXWQjFouWe7i9kwD1MegPxioF33sdB/xR1bGkpF2cd/FJils/bRP0p/4F5XFVS7zVAOoaJ7wD/y+megoAHswzs/0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5gHk3YrTSQSfz4+2bMRUDbSY6IxBK6SkUe7PXCvSOroIIddIk9+IjpJtU+k5L5oEnBqfPkkyQQ/uiiI/l3i9G6oZdYOpRhB4QPi93Ne018feAvF9XOvMhOVMvm1jnHvC8RyDk0nCJ8oHVeeOKfDmBoSkA1A8zYy+1wvZ+duG1T59iP4AIDuXMaaSgvhkHb0EoXtkY/G67x4KWvkmko1PSQ== 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)(8121501046)(5005006)(93006095)(10201501046)(3231022)(3002001)(100000703101)(100105400095)(6041248)(20161123555025)(20161123558100)(20161123562025)(20161123564025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:SN4PR0701MB3648; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:SN4PR0701MB3648; X-Forefront-PRVS: 0499DAF22A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(346002)(376002)(24454002)(199003)(189002)(67846002)(6506006)(101416001)(229853002)(76176999)(65826007)(50986999)(5660300001)(54356999)(6486002)(189998001)(93886005)(52146003)(55236003)(316002)(33646002)(6512007)(106356001)(105586002)(23676004)(6246003)(305945005)(31686004)(7736002)(83506002)(58126008)(16526018)(5890100001)(53936002)(54906003)(53546010)(65956001)(65806001)(64126003)(97736004)(66066001)(31696002)(81156014)(8936002)(478600001)(36756003)(6116002)(3846002)(50466002)(47776003)(72206003)(25786009)(68736007)(2906002)(81166006)(6916009)(5009440100003)(8676002)(6666003)(42882006)(2486003)(8656006)(4326008)(2950100002)(2870700001)(110426004); DIR:OUT; SFP:1101; SCL:1; SRVR:SN4PR0701MB3648; H:ajoseph.in.caveonetworks.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtTTjRQUjA3MDFNQjM2NDg7MjM6TytJcElqSEI1VVNKUk1EVXgyM1pSMVIr?= =?utf-8?B?SHozM2NuSGR1eTlCaVpVMWJ0ZGRRa1M4eFlSMGFDN1hsY1ZxMzJyd01MWEs2?= =?utf-8?B?T2NOQkU5aUdEdXpzMEdNQzQrdzAyNWpFajNja09yVDBJRUwrTXZKTlptWXJ1?= =?utf-8?B?S2E4YTVNZUc4a2Nja0d4K0s5N3NlQkZsUDJyVnBVTXpyYnVocXlFUTRJL2dT?= =?utf-8?B?T2l5VjBIakhldGRyOCtWY3dyV3dPT1FxN1RvYXBRODA3K2dBa2Y1UHM1QkFK?= =?utf-8?B?ZTh4Q3kzNXhrMEtZYSsyWFV1blo1azRvUTlPY1ROUzBPTHhqSCtSRThNdUNh?= =?utf-8?B?eFVMRU9NOTdRaVM5TFVScFEza2tMZ3Z2ZHFZTFF6bXFka0dSMTlhMTh4bC9C?= =?utf-8?B?RE53N0ZPQk13Q1ZaY3lMdkhXTWpmdU5yc2JNdU1MZ01HQzl5RmJ2ZWt4VW1H?= =?utf-8?B?cDVlUXc5dXo0UG5GcDMrZDRtdGM4dEE0WCtXNERuaktWMmRYWmVlSklmSVNr?= =?utf-8?B?TmNnMlpVYXhMcjNHZUFzTENvMzgzZmZIMGRZUnNrTU55ZzgwMW9PZ3NBc2lG?= =?utf-8?B?VW5ib2JRd1ZNVXBXZ3duUEZISENtTGVBQXB5MnJvcGxpUEVrOTQ0eDFKTTRT?= =?utf-8?B?QnhrUzBIb0VXSU5LWTBJaDFEaThOS2NlczY0R1pCRVE1eWJpbEEyNmhMZzl6?= =?utf-8?B?RU9UMTRreHlpZlBKZHlMMW5WaDB6OE42SHZrS3ZFYVpOS3NuS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Nu6DNlXLkftFDsl7PBu2iURe4T3tKXLtfoDiApWdYQJ986ZaXQBJI7b4a2Y=; 24:aDbnTmFBX1vgp43+bN6faXOM8f7JYBJtLTlQ339M5Nw0UG2Y86pTryavm9/qTlNMe/3Y04vw1vH2eKFrbGxoYW51ZkPHn3VYGnVXF5BJBR4=; 7:lUbz2Gi/88cGkSxfhqyuRF3ro2xBIP6XfHvgammnKnjAp1g1+LHyMAKHe7YaFxElVbYp5hZ+cg8CAwzs4NXRbJji+IZo7/f/ZoKHX3EyjB+RAj4fXKaxb0DVENiho6idtZm59Ddv7uFZv2ZlCQ+8QPMltrrNe18KKQiWKHua4FGIW0EC2lXy6txBdQmyVBhjf+2Wn6RHrj7m8XFy4iO5mtS6pl76jNJx/BFREU7AXGgXl94AjYME2zGWCL85iilD SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Nov 2017 13:53:19.2240 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1c6b77da-2316-440f-0258-08d531b0654a X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN4PR0701MB3648 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:53:24 -0000 Hi Nelio, Please ignore the previous mail. I'll check the issue and let you know. Thanks, Anoob On 11/22/2017 07:08 PM, Anoob wrote: > Hi Nelio, > > So you had attempted inline-crypto(not inline-protocol), right? > > Can you give some more details on the test case which caused the > issue? Was it inbound or outbound? > > And your PMD doesn't have "get_pkt_metadata" function pointer > registered, right? > > 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, >>>> >