From patchwork Thu Nov 9 23:16:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Spewock X-Patchwork-Id: 383 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 CA86A432EC; Fri, 10 Nov 2023 00:17:19 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B98C9402E4; Fri, 10 Nov 2023 00:17:19 +0100 (CET) Received: from mail-qv1-f98.google.com (mail-qv1-f98.google.com [209.85.219.98]) by mails.dpdk.org (Postfix) with ESMTP id AA15F40268 for ; Fri, 10 Nov 2023 00:17:18 +0100 (CET) Received: by mail-qv1-f98.google.com with SMTP id 6a1803df08f44-66d2f3bb312so9058086d6.0 for ; Thu, 09 Nov 2023 15:17:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1699571838; x=1700176638; 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=/9nkxSdXTOWO8EJIy1PZO3xFpVOqTJ5GEq8B/ng0XY4=; b=AcRaL61rR7AzUlri+OpuTOPdk3IYz9GLjJ0Ir5m51A+y+CtOX0/o96jaM9X6rkL9Ew 3FyLNkg1lM/6deecUIBsfIogYS+Guk8xjuzXFZ8F0NZm4s2EI2vr2CG62KdqRJgAzWQN hhkNCjdkYJ+ACTRwDsZTb9bjRT88O90mg+r+Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699571838; x=1700176638; 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=/9nkxSdXTOWO8EJIy1PZO3xFpVOqTJ5GEq8B/ng0XY4=; b=qjmIZP+dTVaWo0TnLGddpM4FEuPiq6OGXtR16mCFhnAuli6nGVx537ZWoJk8y8ndxX WJzTeebDBH0HXsg6jW6AP1jaCpi3J4xKQo8EZvdx5mE4YYblEoa3eeDmVtHKCiFgTiQZ z5V9irZg4iwRuSvvOuYxYxBAWzGeqHicIHkKleAeCQPvtTsWoYmctoyQyFxPF3CwqA7r 655p/0ckVHWOhxYKJCD0Bxxn7ubfwkH6+isigv9b+5rtFhBl0ToagS0u+3NrlNjoe86B I9vFoGpKVwn+PknJeVDbuhklL7NMuWg/O1rmQBFdoFsC8R9hfKRJLMAp1beejHTTEsPp RFog== X-Gm-Message-State: AOJu0Yz/96oQAyBmBMOrWuIBdgTBW6eRkarnLiONfBI1trQCBAp1SX40 slFQi1WTndw23q8yEfOqijC8idwVLWnKYjOibJw51rgZvGsymA== X-Google-Smtp-Source: AGHT+IFPUMsPbyuRo5yS9na/tvrJG72GAG6nIbvjbCrWhCaKEjT0NAOV6Qp/CO/7wkf4WRyHl0m2wkCepjiW X-Received: by 2002:a05:6214:27cf:b0:66d:3a89:813c with SMTP id ge15-20020a05621427cf00b0066d3a89813cmr6935755qvb.53.1699571838110; Thu, 09 Nov 2023 15:17:18 -0800 (PST) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [132.177.123.84]) by smtp-relay.gmail.com with ESMTPS id a11-20020a0ce38b000000b0067579b634d7sm579006qvl.20.2023.11.09.15.17.17 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Nov 2023 15:17:18 -0800 (PST) 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 AF8D5605C318; Thu, 9 Nov 2023 18:17:17 -0500 (EST) 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, yoan.picchi@foss.arm.com Cc: dev@dpdk.org, Jeremy Spewock Subject: [PATCH v3 0/1] dts: Add the ability to bind ports to drivers Date: Thu, 9 Nov 2023 18:16:13 -0500 Message-ID: <20231109231707.25400-1-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 Changes in this version address the comments on the last and change what was necessary. Now, we no longer modprobe the driver, but the decision was made to still make driver binding exclusive to the SUT for the time being due to the uncertainty of what binding drivers on the traffic generator will look like in the future when we need to do so. I also decided to leave the os_udp test case in the patch as leaving it does no harm really, all that is required for it to run is binding to the os_driver before it runs and back to the DPDK driver after, and I think it serves as somewhat of a "hello world" for ensuring that your traffic generator is functioning. If it is decided that we no longer want it in the future or want to make it a part of the hello_world suite, another patch will be submitted at a later date. Previous version sent the wrong commit, this is the updated and fixed one. v1: https://mails.dpdk.org/archives/dev/2023-November/281477.html Jeremy Spewock (1): dts: bind to DPDK driver before running test suites dts/framework/testbed_model/sut_node.py | 33 +++++++++++++++++++++++++ dts/tests/TestSuite_os_udp.py | 4 +++ dts/tests/TestSuite_smoke_tests.py | 6 ++--- 3 files changed, 39 insertions(+), 4 deletions(-)