From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id EEE40A0561 for ; Thu, 4 Mar 2021 17:57:31 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CAC2B40684; Thu, 4 Mar 2021 17:57:21 +0100 (CET) Received: from relay12.mail.gandi.net (relay12.mail.gandi.net [217.70.178.232]) by mails.dpdk.org (Postfix) with ESMTP id A68CA40147 for ; Thu, 4 Mar 2021 17:57:20 +0100 (CET) Received: from DESKTOPDFIJDS2 (unknown [88.120.5.225]) (Authenticated sender: nicolas.neel@allentis.eu) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 5BAF6200005 for ; Thu, 4 Mar 2021 16:57:20 +0000 (UTC) From: To: Date: Thu, 4 Mar 2021 17:57:19 +0100 Message-ID: <011601d71117$7076e8c0$5164ba40$@allentis.eu> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdcRFOR6iEw8KBnPRY2cumatSmAkGw== Content-Language: fr Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [dpdk-users] Segmentation fault with -msse3 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 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" Hello dpdk users, I'm a newbie to dpdk and I try to get the list of the rss hash functions for a given port with the following code : static uint64_t get_rss_function(int port_id){ int ret; struct rte_eth_rss_conf rss_conf; ret = rte_eth_dev_rss_hash_conf_get(port_id,&rss_conf); if(ret < 0){ printf("No supported rss\n"); return 0; } return rss_conf.rss_hf; } I use dpdk version 20.11 and my code is compiled with the following flags (I 'm following the tips of the doc) : CXXFLAGS += -mssse3 -mfma -mcx16 -msse4.1 -msse4.2 -mpopcnt -mavx -mavx2 -DALLOW_EXPERIMENTAL_API I have a segmentation fault calling ret = rte_eth_dev_rss_hash_conf_get(port_id,&rss_conf) ; and the coredump tell an issue with __memcpy_ssse3(). If I remove the -mssse3 I don't have the crash. Can you help me to identify the reason of the segmentation fault and tell me if I can easily remove the < -mssse3 > flag ? (Sorry for my english) Regards Nicolas