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 A8A2E42B6D; Mon, 22 May 2023 09:26:35 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 791DD410DD; Mon, 22 May 2023 09:26:35 +0200 (CEST) Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by mails.dpdk.org (Postfix) with ESMTP id 49F20410D1 for ; Mon, 22 May 2023 09:26:34 +0200 (CEST) Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-3f475366514so37995785e9.2 for ; Mon, 22 May 2023 00:26:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684740393; x=1687332393; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=39tG7n1xDYvjL2eyu6aPjEuKk+WrULKDJLYqq1ohKek=; b=fPX+B7AkIa1/cLY0nHPDjYjRxJsypRS5WF2EsRDy3npsiuGGhqef2sqyQae1y2OFpM fcMmSNrWK5TpIU0+1m2NIUFzh9zQSFZEqQAuEHkyRIqCz8+OfhVhy5u/t7yp64med+Un RgPAYYuwKg6etVn3xI8zJNTnXhZpgqgkX67ydP6ItIeu/JS1ierXxcstEYMoXqHKghUa BkwJvzxkec19HePkIE2xH/XVJdAZf2PbX5OzudfpJxyN+X2Hvb6F98RKTVEiU2OdGYx/ mrpDwDIGofIo9wJdcyVJC2gWBFcTS9vVcbKiBDkMvcXLsFcOxmpXzkLomuDWKx85BORK L9Xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684740393; x=1687332393; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=39tG7n1xDYvjL2eyu6aPjEuKk+WrULKDJLYqq1ohKek=; b=Mf3/bLMJv5WxFZB26Nlq2RWHmD4PwmuKKYsHdzqCiIUDi1t7Yq0RwqBt7ZBVbw03OZ sWMBuBHD6I4K38vqR5xRHFPMLLGSGcDt8a+6tMIVQ+37PIs/AGyVdjjtn6d7L4jKWgym BYgBTdh7uD4BntZjQsSDRl3ay/denpcJwE1AOZOeTKcV0829m81kitV/WKwsyjj5TGAM QPASIzV+51B80MHG++w5zOW9IkQ2EFecZDM3iMVcdTnHp1eF5bh71rKlIyfGXQ5o3t2d 5XyOUwdREPh89biwIq82mFz/YXxo7dAxMQ97PoKZfCKpa91stR6a01QlNRReN0hyoZ5/ tGmA== X-Gm-Message-State: AC+VfDwgWiNhu2G88rwpqYlTH8G1CZrjh9/8V0jTZSCQx1VAnfdFGXrW HR2WrtFx1LaQ2sIQnJ08hsg8Kja5Q+Y5l+X5ffbQBJe1yGQ= X-Google-Smtp-Source: ACHHUZ7cAJtbS9n5Q//00vKLnk9r5SsC4wzVNb1zeL4Kwx9rWkZNio/NTGKNSM/nOQZ51hlJM4tDSABKSz+oA8Lq9rw= X-Received: by 2002:a7b:ce19:0:b0:3f6:787:4a84 with SMTP id m25-20020a7bce19000000b003f607874a84mr319815wmc.7.1684740393439; Mon, 22 May 2023 00:26:33 -0700 (PDT) MIME-Version: 1.0 From: SANDEEP KUMAR Date: Mon, 22 May 2023 12:55:59 +0530 Message-ID: Subject: Application crash when use dpdk interrupt with virtual function of i40e NIC To: dev@dpdk.org Content-Type: multipart/alternative; boundary="000000000000b0950405fc4330a1" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org --000000000000b0950405fc4330a1 Content-Type: text/plain; charset="UTF-8" Hi, I am trying to enable DPDK interrupts with the function rte_eth_dev_rx_intr_enable with a virtual function of i40e NIC then following segmentation fault coming when the function is called. The same code does not give a fault when used against the virtual function of the Intel 82599 NIC. I am using DPDK version dpdk-stable-22.11.1 Program received signal SIGSEGV, *Segmentation fault.* 0x00007fffe72bceb5 in iavf_dev_rx_queue_intr_enable () from /usr/local/lib64/dpdk/pmds-23.0/librte_net_iavf.so.23.0 Missing separate debuginfos, use: debuginfo-install bzip2-libs-1.0.6-13.el7.x86_64 elfutils-libelf-0.176-5.el7.x86_64 libacl-2.2.51-15.el7.x86_64 libarchive-3.1.2-14.el7_7.x86_64 libattr-2.4.46-13.el7.x86_64 libpcap-1.5.3-13.el7_9.x86_64 lzo-2.06-8.el7.x86_64 *(gdb) bt* #0 0x00007fffe72bceb5 in iavf_dev_rx_queue_intr_enable () from /usr/local/lib64/dpdk/pmds-23.0/librte_net_iavf.so.23.0 #1 0x00007ffff6be98df in rte_eth_dev_rx_intr_enable () from /usr/local/lib64/librte_ethdev.so.23 #2 0x0000000000624a40 in init_queues () #3 0x0000000000410612 in packet_handler_fmwk_init () #4 0x0000000000405e23 in main () (gdb) Is there a known issue around this in DPDK ? Thanks & Regards, Sandeep Kumar --000000000000b0950405fc4330a1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I am trying to enable DPDK interrupts w= ith the function=C2=A0=C2=A0rte_eth_dev_rx_intr_e= nable=C2=A0with a virtual function of i40e NIC then following segmen= tation fault coming when the function is called. The same code does not giv= e a fault when used against the virtual function of the Intel 82599 NIC. I = am using DPDK version dpdk-stable-22.11.1

Program received signal SIGSEGV,=C2=A0Segmentation fault.<= /div>
0x00007fffe72bceb5 in iavf_dev_rx_queue_intr_= enable () from /usr/local/lib64/dpdk/pmds-23.0/librte_net_iavf.so.23.0
Missing separate debuginfos, use: debuginfo-insta= ll bzip2-libs-1.0.6-13.el7.x86_64 elfutils-libelf-0.176-5.el7.x86_64 libacl= -2.2.51-15.el7.x86_64 libarchive-3.1.2-14.el7_7.x86_64 libattr-2.4.46-13.el= 7.x86_64 libpcap-1.5.3-13.el7_9.x86_64 lzo-2.06-8.el7.x86_64
(gdb) bt
#0 =C2= =A00x00007fffe72bceb5 in iavf_dev_rx_queue_intr_enable () from /usr/local/l= ib64/dpdk/pmds-23.0/librte_net_iavf.so.23.0
#= 1 =C2=A00x00007ffff6be98df in rte_eth_dev_rx_intr_enable () from /usr/local= /lib64/librte_ethdev.so.23
#2 =C2=A00x0000000= 000624a40 in init_queues ()
#3 =C2=A00x000000= 0000410612 in packet_handler_fmwk_init ()
#4 = =C2=A00x0000000000405e23 in main ()
(gdb)

Is there a known issue around this in DPDK ?

Than= ks & Regards,
Sandeep Kumar
<= /div>
--000000000000b0950405fc4330a1--