From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 98F0DA04F3 for ; Fri, 6 Dec 2019 22:38:49 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A289A23D; Fri, 6 Dec 2019 22:38:48 +0100 (CET) Received: from mail-qt1-f180.google.com (mail-qt1-f180.google.com [209.85.160.180]) by dpdk.org (Postfix) with ESMTP id CCBAE91 for ; Fri, 6 Dec 2019 22:38:46 +0100 (CET) Received: by mail-qt1-f180.google.com with SMTP id d5so8573888qto.0 for ; Fri, 06 Dec 2019 13:38:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iith.ac.in; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kconxV8Ni7RrI009izB8ngswPxXakNSQD3aZ5rUM9K0=; b=5MiVHgJNTjnxiw/33XRXvEaHpQYlTGmjxYcUnH3aNhTDXVAu98OAfx4DuL2sfvhnAY SRhAIApxFHfy1CqRQZgeLgnJFYlYtCF6pNx2fyQrAuGEtpiRHkvR6m97bVeoVhtiyixB Hwsd2W8ZmV60R14E0o4p0wlUTTn7yQDHxLHuQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kconxV8Ni7RrI009izB8ngswPxXakNSQD3aZ5rUM9K0=; b=Yq+vJfuLn57TWA8vyDKD9at+mn22SpI64vACfjBP/sGFXoch/parug+MPjRF3lDcAc KRUq1DWMDIcA1cSjff4eUcNuDjJaraZR2wiF3QyKxR/40a2OSxRa881nQkufiLMf4xEx /YWQCgkz1iYQfxrI8SN1/xKlhj5vwhiws14sJljfDwLtVXr2GOESN3tcrRrGQbFxDsc2 mW6iABFeH7bOfTt0ynYAsQ1R/w/oMeLozS3oPt59nzIzkmtv2kOoHethqY4KBXQcl3+6 aERx07C3PaCx7vFEAtpmhBbHBqqcT5Xtd1n9RXvPVMK43TEt3+A+X7PMFLlKeDv60MT7 EInw== X-Gm-Message-State: APjAAAVUZZC0xynwj9zRAHvXncybI7RR4kb1FcR7H8qZdERImVXKYkel S/53dhx/XqY+YByt4cSwnZHgQ8qP7c1bhKFlOBrCNg== X-Google-Smtp-Source: APXvYqy26OPIhRilKMlxoKxi+ByZW4Qw0tPsE143GG/qZG7D7JdPxAVaC55B+h91MJH5Wzuc6apuVzBrCVWS3zIWBOw= X-Received: by 2002:aed:3f94:: with SMTP id s20mr14430771qth.325.1575668326129; Fri, 06 Dec 2019 13:38:46 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Suraj R Gupta Date: Sat, 7 Dec 2019 03:08:35 +0530 Message-ID: To: dev@dpdk.org, users@dpdk.org Cc: "Trahe, Fiona" , tomasz.kantecki@intel.com, marcel.d.cornu@intel.com, pablo.de.lara.guarch@intel.com Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Segmentation fault in aes_cmac_subkey_gen_avx512 and avx512 usage X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Some more Info. Basically the CPU does not support AVX512. So, I think I need to disable avx512 instructions when compiling multibuffer library, DPDK and the application itself. I tried using some -mno-avx512x flags but still error persisted. Is the observation valid? I need help in disabling avx512 functions then. would it affect performances nd usage? On Sat, Dec 7, 2019 at 2:10 AM Suraj R Gupta wrote: > Hi all, > I am encountering some issues in using intel multi buffer library with dpdk > crypto library. > > > > > *DPDK version used - 18.05.1Intel Multibuffer library version - 0.52 > ( https://github.com/intel/intel-ipsec-mb/tree/v0.52 > )CPU - InfoIntel(R) > Core(TM) i7-8700 CPU @ 3.20GHz* > > 1. When I am using aes cmac with intel multi buffer library from DPDK. I am > receiving an segmentation fault in aes_cmac_subkey_gen_avx512(). > This segmentation fault appears at times. > Thread 5 "lcore-slave-1" received signal SIGSEGV, Segmentation fault. > [Switching to Thread 0x7feff43fe700 (LWP 24301)] > 0x00007ffff730ab04 in aes_cmac_subkey_gen_avx512 () from > /usr/lib/libIPSec_MB.so.0 > > 2. On compiling the above intel multi buffer library and running LibTestApp > from multi buffer library. It is showing Illegal Instruction. > AES-CFB128 standard test vectors: > ........................ > ...Pass > SHA standard test vectors (N jobs = 1): > .................... > ...Pass > Testing AVX512 interface > Illegal instruction (core dumped) > > I am not able to understand the issue. Request you to help me in this > regard. > Please revert for any clarification. > -- > Thanks and Regards > Suraj R Gupta > -- Thanks and Regards Suraj R Gupta