From patchwork Thu Oct 26 21:58:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Spewock X-Patchwork-Id: 314 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 1E60F4320D; Fri, 27 Oct 2023 00:03:28 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D290B40295; Fri, 27 Oct 2023 00:03:27 +0200 (CEST) Received: from mail-qv1-f100.google.com (mail-qv1-f100.google.com [209.85.219.100]) by mails.dpdk.org (Postfix) with ESMTP id 7F8824025E for ; Fri, 27 Oct 2023 00:03:26 +0200 (CEST) Received: by mail-qv1-f100.google.com with SMTP id 6a1803df08f44-66fa16092c0so10090166d6.0 for ; Thu, 26 Oct 2023 15:03:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1698357806; x=1698962606; 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=tGQ8gbhrZQ5pewJ4w8g2yTw0zZWbWoOGi8j55pCJWOY=; b=dU5UEmN/FsN51jpl7rzBewONbwoEDjRsWG9niVRKLGnUQXFoKvxjfS2xWFYpPTe6ax 7oqQqRwngrSv3LD0OyePsTh7q9lcJCmOB6kOM5T5f0XmwrcBsFz7r0xgRFU9VKdNmokL iLWArTLhxvrSGq+cIk8uMWgSszWC0MF4yFXWQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698357806; x=1698962606; 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=tGQ8gbhrZQ5pewJ4w8g2yTw0zZWbWoOGi8j55pCJWOY=; b=ix2TWh+1H8bC4jOrbhtkKMIZR20SQmC3G4my3UGZwXI7iEEx7sS/UEW2qtYKV+/mHG 3ff3/FXIMYSzgdEtxjHYyhGgpD43ymn3Fd3RNNYjVZlCLFRSmMn1yWqOMIHd/LNs/wnx Y9xr3jFud9q4IEQqMtt2l+t0OsUpPUaBe7pnfmlpihfLs3mmhMrTI/IbociVbxmvF2Kw yA72iukmxTWyzAnsxtHY2bZ3YarZdA24lO8tbemjTQAoN58FVCxtaAntHjw8YDWPGBfo B269Z/mQJ2eJGWX+F4lf0Wd/qXNuJYR0pslF5idT+ntS1J7et4gwf6vOTd8DTwDf+5v1 E63w== X-Gm-Message-State: AOJu0YwQ+x+t1ikvSGjqLHb6fadR7g65iByvlifg7+/HoWpM1TmWWgtb FZg0Uda6hQf0tvds3/0iGzFTJldHsAS4HRbtzl2fTlrwKg50Tw== X-Google-Smtp-Source: AGHT+IEJpRVX2wg+Vd02VosASA+xamTchbHePGkfpt2+Lhlei4a+WdKrAENgaRVcSfFEO5fNDyzzHhqRkde1 X-Received: by 2002:ad4:5f0b:0:b0:66d:5020:ef6e with SMTP id fo11-20020ad45f0b000000b0066d5020ef6emr1065597qvb.16.1698357805840; Thu, 26 Oct 2023 15:03:25 -0700 (PDT) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [132.177.123.84]) by smtp-relay.gmail.com with ESMTPS id nc5-20020a0562142dc500b0065afcebefdbsm24328qvb.47.2023.10.26.15.03.25 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Oct 2023 15:03:25 -0700 (PDT) X-Relaying-Domain: iol.unh.edu Received: from iol.unh.edu (unknown [IPv6:2606:4100:3880:1271:90f9:1b64:f6e6:867f]) by postal.iol.unh.edu (Postfix) with ESMTP id 569A5602A042; Thu, 26 Oct 2023 18:03:25 -0400 (EDT) From: jspewock@iol.unh.edu To: Honnappa.Nagarahalli@arm.com, juraj.linkes@pantheon.tech, thomas@monjalon.net, wathsala.vithanage@arm.com, probb@iol.unh.edu, paul.szczepanek@arm.com Cc: dev@dpdk.org, Jeremy Spewock Subject: [PATCH v1 0/1] dts: Add the ability to bind ports to drivers Date: Thu, 26 Oct 2023 17:58:57 -0400 Message-ID: <20231026220059.10685-2-jspewock@iol.unh.edu> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 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 Currently in the DTS framework there is nothing that allows you to bind ports on the SUT to different drivers, but the ability to do so is necessary in the case of many different test suites. This change allows developers to bind to either os_driver or os_driver_for_dpdk which they define in conf.yaml. This patch additionally binds to the driver for DPDK at the start of each build target setup which means that test suites will be run on the driver for DPDK unless otherwise specified. Jeremy Spewock (1): dts: bind to DPDK driver before running test suites dts/framework/remote_session/linux_session.py | 3 ++ dts/framework/remote_session/os_session.py | 6 ++++ dts/framework/testbed_model/sut_node.py | 34 +++++++++++++++++++ dts/tests/TestSuite_os_udp.py | 4 +++ dts/tests/TestSuite_smoke_tests.py | 6 ++-- 5 files changed, 49 insertions(+), 4 deletions(-)