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 CAB5A45837; Wed, 21 Aug 2024 21:16:13 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 91AC5427BD; Wed, 21 Aug 2024 21:16:13 +0200 (CEST) Received: from mail-il1-f225.google.com (mail-il1-f225.google.com [209.85.166.225]) by mails.dpdk.org (Postfix) with ESMTP id E15784279D for ; Wed, 21 Aug 2024 21:16:11 +0200 (CEST) Received: by mail-il1-f225.google.com with SMTP id e9e14a558f8ab-39d20c4be31so22349795ab.1 for ; Wed, 21 Aug 2024 12:16:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1724267771; x=1724872571; darn=dpdk.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=phi9NhFAdZ51If2hpgl1u+YWiOMFktTNokjaXbT4l+8=; b=cMtaf+WiUfc7T7YKIoI8LCnp7mwCjtnFeMxh5eTs5MkVv407mjOxMLWojSdiCKTE5t tJMeNIUhcF8lxiB4eC+B/QjHSOs/MhBQWZWLfvpDugQTRYkNDjrku6L3/E7mDPbIsBse V4GJqPCpJKzknm+VyKZWMFXgbWldV4hn7VWOw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724267771; x=1724872571; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=phi9NhFAdZ51If2hpgl1u+YWiOMFktTNokjaXbT4l+8=; b=XKd4XWB1kiFDCwbPCWWX5ff8tTAPvotuqG+Tq4RMMfC+2RH1+OTvT2twWs7o4T+OS2 OEEYtxf1dyBQng5pULzFYWanCr0M29uY/jGR1OK6QLSrlHJ0ys+U4CDHEyzRG9e7zCWr q2ow4Ba7/9eVJjpuvdn3sxMZXCfSGqgBXZZm85OuR7/UhlrXoWb3wxwkLNR+fRn8wAeW rl9tv9K2bccUMQR6GJiSR3eYTwrBe9cmJ/7B1INSyuvY2HOQ6mwR5P/TIdBFeZYM3Lb0 hlVMt//fgV8J2+TfBLDivo7AKvr18PQpdD/PUT8YvSz8oKtgUrtH+IiPNECGH03FK6Ua 9fNg== X-Gm-Message-State: AOJu0Yypop+4LbPRrRYMpZZN3oHdlIpA6MNx3CW5K/tJ/Wy82sq2HDlx auO/8OYpYr25XXH2x5FQhejzAAlgpkNE/czUFENnkjQBnJk/9v8Tl6ZyDk9XfXSYgAa+GEVdnVI 08o1eQES2TEvdl3d84fcZMeihcxC2DT3zIK2G21G7BkdyIGRD X-Google-Smtp-Source: AGHT+IH/BcinAw8Rtl8zoK0uA8tF2H/HGyj/b4v/J/GuLIwqISzb962RACSJyxwvNolylsuRLXhdlz/F+1ay X-Received: by 2002:a05:6e02:178a:b0:39a:ea89:22ec with SMTP id e9e14a558f8ab-39d6c359e73mr38541965ab.9.1724267771117; Wed, 21 Aug 2024 12:16:11 -0700 (PDT) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [2606:4100:3880:1234::84]) by smtp-relay.gmail.com with ESMTPS id e9e14a558f8ab-39d398eb566sm4429235ab.63.2024.08.21.12.16.10 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Aug 2024 12:16:11 -0700 (PDT) X-Relaying-Domain: iol.unh.edu Received: from iol.unh.edu (unknown [IPv6:2606:4100:3880:1257::1083]) by postal.iol.unh.edu (Postfix) with ESMTP id 473C4605C351; Wed, 21 Aug 2024 15:16:10 -0400 (EDT) From: jspewock@iol.unh.edu To: npratte@iol.unh.edu, thomas@monjalon.net, Luca.Vizzarro@arm.com, yoan.picchi@foss.arm.com, alex.chapman@arm.com, juraj.linkes@pantheon.tech, probb@iol.unh.edu, wathsala.vithanage@arm.com, paul.szczepanek@arm.com, Honnappa.Nagarahalli@arm.com Cc: dev@dpdk.org, Jeremy Spewock Subject: [RFC PATCH v1 0/5] dts: add VFs to the framework Date: Wed, 21 Aug 2024 15:15:52 -0400 Message-ID: <20240821191557.18744-1-jspewock@iol.unh.edu> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 From: Jeremy Spewock There currently is no method of creating or managing virtual functions (VFs) in the new DTS framework but there are multiple test suites in the old DTS framework that provide testing coverage using them. This patch adds the functionality to the framework that is needed to create and use VFs in test suites in the future. The series is marked as an RFC primarily because it is a new feature that has been a recent talking point on the DTS bugzilla. The code however is functional. Jeremy Spewock (5): dts: allow binding only a single port to a different driver dts: parameterize what ports the TG sends packets to dts: add class for virtual functions dts: add OS abstractions for creating virtual functions dts: add functions for managing VFs to Node dts/framework/test_suite.py | 38 ++++-- dts/framework/testbed_model/linux_session.py | 36 +++++- dts/framework/testbed_model/node.py | 115 +++++++++++++++++-- dts/framework/testbed_model/os_session.py | 40 +++++++ dts/framework/testbed_model/port.py | 37 +++++- 5 files changed, 247 insertions(+), 19 deletions(-) -- 2.46.0