From patchwork Sat Feb 3 10:29:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akihiko Odaki X-Patchwork-Id: 136377 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C3AA043A5C; Sat, 3 Feb 2024 11:29:59 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A19914021F; Sat, 3 Feb 2024 11:29:59 +0100 (CET) Received: from mail-ot1-f48.google.com (mail-ot1-f48.google.com [209.85.210.48]) by mails.dpdk.org (Postfix) with ESMTP id DC52C40042 for ; Sat, 3 Feb 2024 11:29:58 +0100 (CET) Received: by mail-ot1-f48.google.com with SMTP id 46e09a7af769-6e13cfc0b2fso1613140a34.2 for ; Sat, 03 Feb 2024 02:29:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daynix-com.20230601.gappssmtp.com; s=20230601; t=1706956198; x=1707560998; darn=dpdk.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=v80xpZl9+2CBI2aadJSVO0ri7Yc/vMw/coNgWg8Qyfs=; b=0a5vbb7EzYOjpa4QQVyXkD3BWO+KykffJLLvt6VIXwNYE6isXFV4nw2Fs0+ioFLHxZ CUJ9QzkJbsH16eEbHClk8lxkzlK2NCKQHYi2F/FhnAw+hYsLYOSlEgGF/gBa8zFhUs87 6Kru+2YsJk2AeIIDJsipw826fkHEh4DlE6/qfckRGPBWDO5JYATYURu5K/mwPcMIczfY qtqyS2q3yLgFqDIy3PdHNmU0fQezC5AoPl0lCo6D1mySeaYh/CHGyqVRw2bzt3sgW+gA hay2k8Q+KyUVIKFXJN6Int4UoPGN78PMjyKj92EYc/Y48ZDW798MiGSnOZ9gSctP683d ct1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706956198; x=1707560998; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=v80xpZl9+2CBI2aadJSVO0ri7Yc/vMw/coNgWg8Qyfs=; b=NgN9Z7fgDozGp4Gb6SXtEStHMV5bV5s0/7qW4S2p1ect1v/En4emAN/eJf7qnKinA1 lUqE/UF+0/6ee54cCEh0yrZIVRNmcOLmxZxN1UdQmTXrn4DbsqFS9x3xyuwPEX5NHITV KAeXDvU9O63+hHS/HtlyAnFDw5MUFtn7BoPEsEGmNcAmn5vqOEpAr94+B7J4ID8PJ24n oL9bZDsSfncezjbG4HkskEs5qJWm3SM5ULL5fFTLsiZ5IuhYbd96XFT5N0eXrG55JNdv y6d42t+hUwjjQfgXw0x+Y7MdZE1vMj+nY0Ex7X+9P7h8XIc0vcy3EjbicFdfajoX/rk1 VM5g== X-Gm-Message-State: AOJu0YzLPlXyjnXoyZAm53Hj8OXP3FpHMtmTb+hnQfWFSq9A2QNqRAh8 8gjfzSBDG55ia0TNcKINcn5YJqn9mI4j1jsUSxh5PokDeESxF3d1EYFiCfIrfpw= X-Google-Smtp-Source: AGHT+IENttZ0EXM7mhVZb4d8i9erq6fD/KP56wE2i7OUsaYJaNBFGdmxYGImytqhLkBP6pxepUbdZg== X-Received: by 2002:a05:6870:1b10:b0:218:75c2:cfa5 with SMTP id hl16-20020a0568701b1000b0021875c2cfa5mr2555384oab.46.1706956197959; Sat, 03 Feb 2024 02:29:57 -0800 (PST) Received: from localhost ([157.82.200.138]) by smtp.gmail.com with UTF8SMTPSA id v8-20020a63f848000000b005bd980cca56sm3278534pgj.29.2024.02.03.02.29.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 03 Feb 2024 02:29:57 -0800 (PST) From: Akihiko Odaki Date: Sat, 03 Feb 2024 19:29:53 +0900 Subject: [PATCH] framework/settings: Add virtio-modern MIME-Version: 1.0 Message-Id: <20240203-virtio-v1-1-079c069ee885@daynix.com> X-B4-Tracking: v=1; b=H4sIAKEVvmUC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDIwNj3bLMopLMfF1DIMfCyCjV3NjERAmouKAoNS2zAmxQdGxtLQAEHdW yWAAAAA== To: dts@dpdk.org Cc: Akihiko Odaki X-Mailer: b4 0.12.3 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org 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 --- framework/settings.py | 2 ++ 1 file changed, 2 insertions(+) --- base-commit: 427e7c3f37bbb1263d81c466d7a83e9193013321 change-id: 20240203-virtio-1020822e7344 Best regards, 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",