test suite reviews and discussions
 help / color / mirror / Atom feed
From: Akihiko Odaki <akihiko.odaki@daynix.com>
To: dts@dpdk.org
Cc: Akihiko Odaki <akihiko.odaki@daynix.com>
Subject: [PATCH] framework/settings: Add virtio-modern
Date: Sat, 03 Feb 2024 19:29:53 +0900	[thread overview]
Message-ID: <20240203-virtio-v1-1-079c069ee885@daynix.com> (raw)

In VIRTIO Version 1.2, a non-transitional device (device not supporting
legacy interface), has the PCI device ID 0x1041:

Virtual I/O Device (VIRTIO) Version 1.2
https://docs.oasis-open.org/virtio/virtio/v1.2/csd01/virtio-v1.2-csd01.html
> 4 Virtio Transport Options
> 4.1 Virtio Over PCI Bus
> 4.1.2 PCI Device Discovery
> 4.1.2.1 Device Requirements: PCI Device Discovery
> Devices MUST have the PCI Vendor ID 0x1AF4. Devices MUST either have
> the PCI Device ID calculated by adding 0x1040 to the Virtio Device ID,
> as indicated in section 5 or have the Transitional PCI Device ID
> depending on the device type, as follows:

> 5 Device Types
> 5.1 Network Device
> 5.1.1 Device ID
> 1

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
---
 framework/settings.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/framework/settings.py b/framework/settings.py
index 1a561dda..be79bc60 100644
--- a/framework/settings.py
+++ b/framework/settings.py
@@ -46,6 +46,7 @@ NICS = {
     "IGB_1G-I210_COPPER": "8086:1533",
     "IXGBE_10G-82599_SFP_SF_QP": "8086:154a",
     "virtio": "1af4:1000",
+    "virtio-modern": "1af4:1041",
     "IGB_1G-I354_SGMII": "8086:1f41",
     "IGB_2.5G-I354_BACKPLANE_2_5GBPS": "8086:1f45",
     "IGB_1G-PCH_LPT_I217_V": "8086:153b",
@@ -141,6 +142,7 @@ DRIVERS = {
     "IGB_1G-I210_COPPER": "igb",
     "IXGBE_10G-82599_SFP_SF_QP": "ixgbe",
     "virtio": "virtio-pci",
+    "virtio-modern": "virtio-pci",
     "IGB_1G-I354_SGMII": "igb",
     "IGB_2.5G-I354_BACKPLANE_2_5GBPS": "igb",
     "IGB_1G-PCH_LPT_I217_V": "igb",

---
base-commit: 427e7c3f37bbb1263d81c466d7a83e9193013321
change-id: 20240203-virtio-1020822e7344

Best regards,
-- 
Akihiko Odaki <akihiko.odaki@daynix.com>


                 reply	other threads:[~2024-02-03 10:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240203-virtio-v1-1-079c069ee885@daynix.com \
    --to=akihiko.odaki@daynix.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).