From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 919BBA0096 for ; Wed, 10 Apr 2019 21:19:46 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D153D5B3C; Wed, 10 Apr 2019 21:19:45 +0200 (CEST) Received: from mail-yb1-f196.google.com (mail-yb1-f196.google.com [209.85.219.196]) by dpdk.org (Postfix) with ESMTP id CE6405B1E for ; Wed, 10 Apr 2019 21:19:44 +0200 (CEST) Received: by mail-yb1-f196.google.com with SMTP id e76so1280669ybc.3 for ; Wed, 10 Apr 2019 12:19:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=7zMur5tE68DjFjjvGHt1U4GuifbUwAISX63NB3mmtJQ=; b=fE7lZ8UPl9daPUplyvaIWbSvX56duy0lcZPh17mTAtQ1SwmffR1/jtjqDHdtvRCZ3S nU4WryDFRZrgOA8JGU8tMZEY/DuoI7EJ1bWO0NTeF89HG34Chcg3VQqP34Imraftp2cz Fb47QwnjNjXgmzKObpHaSfjSzBaFyZCcMQS9Kye/IK79KMmnFHILa977TAKMvQGKZBCa acs3yOPACVEpevXP+QTZHJRdU0tmUl5M1/gt2AJZR34lzlY0jr8aJH19YGLbYLwSXbYy z45TU1pWKPkgpvhPqwqft3Zn4tbh12j1gmi0sXy2Bls/0beRqvlEMSYx5qgJ5fJ7m27m vk4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=7zMur5tE68DjFjjvGHt1U4GuifbUwAISX63NB3mmtJQ=; b=VZUdMMlWHeieLUx/5PRhxp5YmdU1K/LGuNSPLEKnVs2bNyrvCaF01155zGUT9xdYR2 FbE2uqcAz1DBRcl5PDK2NKl71idW3VT0IyQ85DqZdnlnS9ruJT5Psif7BiLCCP0xamlL +eSP+kIN83pGg6BEKAS6u3qKhlm2q9pYEWzW45ZBHn1tYaWnZJCxsjtexoQKFlB9w83k HO43OUDrLl4MiZq7gZICQZ62Glk5NpFKBJH31jArmJn7R0K2FqaLqiMxoYv2EqkLi7sw tuXVj3G3CoEcUZQcEJG4vuD5m2y/NNG1TsMotURvbc9zQ9viy3k5aKQ8anG0pnon9bhT vTcg== X-Gm-Message-State: APjAAAVDgrA/PN7x+IeIALQYhsk1CRZAtMHahlQAFgUEObf2WthZ28lu qCXLyM/6GOZ0XKxFFgCCjIL/ktI+fm0hQNHZums0alts X-Google-Smtp-Source: APXvYqxg+I74fHhvv1z4JzBIIqPztPKPTT+g5oUqWJbgbRde6ogZ6Ci/yEIf049ipB0uT6EgkA7dUvUyzYXS9pYYJuo= X-Received: by 2002:a25:2bc3:: with SMTP id r186mr39023949ybr.292.1554923983798; Wed, 10 Apr 2019 12:19:43 -0700 (PDT) MIME-Version: 1.0 From: Aveer Jain Date: Wed, 10 Apr 2019 12:19:32 -0700 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] net/axgbe pmd and vfio-pci 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" Hi, I am trying to migrate to poll-mode-driver on an AMD system, and couldn=E2= =80=99t get the link up until I use igb_uio module in legacy mode (intr_mode=3Dlegacy) as suggested by the release note 7.5 in dpdk (ref: IXA00378191 https://dpdk.readthedocs.io/en/v1.8.0/rel_notes/resolved_issues.html) But one thing is not clear to me, the nic capabilities list MSI-x support as well as in dmesg I see MSI-X support is enabled, then ideally, I should not see any issue in using vfio-pci module. Is it that the current axgbe user-space driver doesn=E2=80=99t support the = embedded AMD ethernet devices in my system or dpdk pmd infrastructure is expecting something enabled/disabled on my system for it to make use of vfio-pci driver. Don=E2=80=99t want to pack too many issues in one thread, but with igb_uio = driver links come up and forwarding works fine but eal_intr_thread consumes 100% CPU and number of interrupts for igb_uio driver are huge, so either axgbe driver is not clearing interrupt or nic is generating interrupts at crazy rate. Is some issue like this known with igb_uio running in intr_mode=3Dlegacy? I am suspecting it to be an issue with igb_uio because = I gave a try it on Intel 82599 nics, there link doesn=E2=80=99t work with lat= est mainline kernel (5.0) but works with kernel 4.4. I am sure people would have used vfio-pci with AMD ethernet devices successfully (Advanced Micro Devices, Inc. [AMD] Device 1458). CPU: AMD Ryzen Embedded Running on kernel 4.19 Distro: centos Dpdk: 19.02 Thanks, Aveer