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 BA29742D2F for ; Fri, 23 Jun 2023 14:42:33 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AAF8F40ED7; Fri, 23 Jun 2023 14:42:33 +0200 (CEST) Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) by mails.dpdk.org (Postfix) with ESMTP id 9BBD3406B8 for ; Fri, 23 Jun 2023 14:42:32 +0200 (CEST) Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-51be90024f7so129154a12.0 for ; Fri, 23 Jun 2023 05:42:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687524152; x=1690116152; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=+N9tb1Nnusg8ESChux1I2En08GB2a/1KNzoruXj2MdU=; b=kxrH+2jE4Q8xL1VZ3tsljibhIxPr6WoNrsHVTBLs2g4/S3ZaIEccGVzCBuqVTKv88Y anu8pJAUjU89sRJKZE+L5yPsrkQBe0HjGokm48Ryvo82Nr9Dei173ux+NFoeHRGrx1Ns EQ/fSbUIxYmDdH7xUeuKiSOggRVSIiYBoiS5Bsq4LjdosFsVxk26JWeHDizjFX8VSDii ypTBys/vP0c3i8n8TkmvYa0JVNDkR5+0sj/7PMSffcKuNGGXUEAaZcrtE2jBQBnC+oiD 5URBixp3ay09V4Bz3Y99rKbRpy22KUXxNiSE3QiHTQZXJjakvIT0nkaaxU1diQ1G6gQE t0FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687524152; x=1690116152; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=+N9tb1Nnusg8ESChux1I2En08GB2a/1KNzoruXj2MdU=; b=ks4a+m5jOQ5vc/XOtDT7Q0CooAKkj7pPhPAmtF3v0qZahKdQqK8AyVH2mtIMO5TPO2 xFGrQMnI2VrPIkPRCEEiexPf//VEUzoF+ichhgI8Tx4JreMcyxyp8cttqjmWPhQ/NRzF z7FtCAdjdN7svIb+Gz+YqzXP+6LYqKBHnQJzGguu9I/40EFkcUkXT8NF+uxuoIW/3/xW Bhad5PbDuK55RFWx1m0zB4Y6AkIeAQxBGukKjSjXDrv/I0tlPtlUEeKRVgw9Hrp7WFNy PlpFHzYzmCRQnkYDlII9m+nhg/jJGFABqxeEr+uvgvtKEsnah+Qs48F3rvLxdQs9CFTe 4zeA== X-Gm-Message-State: AC+VfDw6AhQzIeGa+p2Y8YUfJ44LihCvEJavFyp9znhhx9pi7iWky9SI lYLf67IxqwfSlo1eujyzURFlUa4QYFsMsN+tmH4c0FEJMRvj24ZB X-Google-Smtp-Source: ACHHUZ61NH0/bRHmW86p/ePq0yuJNt/vho9y6LM/mXK48tRqLGFwi5La5ErJCzd8fSkZJiKLqFLMcNd/hm6K3TS6hdY= X-Received: by 2002:a05:6402:274b:b0:51a:4d46:4026 with SMTP id z11-20020a056402274b00b0051a4d464026mr13889659edd.0.1687524151807; Fri, 23 Jun 2023 05:42:31 -0700 (PDT) MIME-Version: 1.0 From: SG Date: Fri, 23 Jun 2023 18:12:20 +0530 Message-ID: Subject: DPDK application crashes with uio_pci_generic DPDK driver To: users@dpdk.org Content-Type: multipart/alternative; boundary="0000000000009e54f805fecb5591" 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 --0000000000009e54f805fecb5591 Content-Type: text/plain; charset="UTF-8" Hi Everyone, I am running a DPDK based application on a centOS VM, which uses uio_pci_generic DPDK driver for IO operations. The VM is hosted on a centOS bare-metal. When I try to run, the application crashes and generates a core-dump. In the application flow, I fetch the port info using rte_eth_dev_info_get() and initialize the DPDK port, it works fine.As part of application logic I am fetching the port info using the same API rte_eth_dev_info_get() in another thread, but the application is crashing while invoking this API. Below are the VM configuration: 1. DPDK version: 20.11 2. KERNEL DRIVER: virtio 3. DPDK DRIVER: uio_pci_generic 4. VM OS: CentOS 7.9 5. RAM: 8GB 6. CPU: 9 Below are the BM configuration: 1. QEMU-KVM version: 1.5.3 2. Host OS: CentOS 7.9 The same application flow works fine in below combinations: 1. With vfio-pci DPDK driver and same VM and host configuration 2. The host OS is Ubuntu 20.04 and the QEMU-KVM version is 4.2.2. Could anyone please help me resolve this issue. Thank you, Somesh --0000000000009e54f805fecb5591 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

= Hi Everyon= e,


I am running a DPDK based application on a centOS VM, which uses= uio_pci_generic DPDK driver for IO operations. The VM is hosted on a centOS b= are-metal. When I try to run, the application crashes and generates a core-dum= p.

In the application flow, I fetch the port info using rte_eth_dev_info_ge= t() and initialize the DPDK port, it works fine.As part of application logi= c I am fetching the port info using the same API rte_eth_dev_info_get() in = another thread, but the application is crashing while invoking this API.


Below are the VM configuration:

  1. DPDK version: 20.11

    <= /li>
  2. KERNEL DRIVER: virtio

  3. DPDK DRIVER: uio_pci_generic

    VM OS: CentOS 7.9

  4. RAM: 8GB

  5. CPU= : 9


Below are the BM configuration:

  1. QEMU-KVM versio= n: 1.5.3

  2. Host OS: CentOS 7.9<= /span>


The same application flow works fine in below combinations:

  1. =

    With vfio-pci DPDK driver and same VM and host configuration

  2. The host OS is Ubuntu 20.04 and= the QEMU-KVM version is 4.2.2.


Could anyone please help me r= esolve this issue.

Thank you,

Somesh

--0000000000009e54f805fecb5591--