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 9EA65440BB; Fri, 24 May 2024 20:07:35 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 31769402F0; Fri, 24 May 2024 20:07:35 +0200 (CEST) Received: from mail-oi1-f169.google.com (mail-oi1-f169.google.com [209.85.167.169]) by mails.dpdk.org (Postfix) with ESMTP id 6783F40271 for ; Fri, 24 May 2024 20:07:33 +0200 (CEST) Received: by mail-oi1-f169.google.com with SMTP id 5614622812f47-3cab94550e0so224354b6e.3 for ; Fri, 24 May 2024 11:07:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1716574052; x=1717178852; 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=PuL9QQOcLq1x4tVKdGJJ/kgwftYVkaQagCNtxPeK9FE=; b=KWvi69gowsH45m9J33Eok1+AiAWNawcQz2qtdH7b+MBdOY6FitKTN6p5FkZnHgs86E okHilbSWwzCPmPalfjsMnig/ouJgnc2c+30hul88pPH4pRskhV/rsrEj2jvIfMZ9o5cK gc7Kg+ia07vTK8eI0PcB8bqYAGN5m+mcHUcTY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716574052; x=1717178852; 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=PuL9QQOcLq1x4tVKdGJJ/kgwftYVkaQagCNtxPeK9FE=; b=e1bYXTz3WBdwULx6Z72JNqkts7ZE9XMXja+Sr9t2fvlWc2K8UfsdpQS6Ze0MaU4MtW zvn6Sc5Oa5bBqs0NDi6PtAgbIVq4uAhQjdv0J68nWHncXTa5xDjo95m8Y0c4F/T4XUBj w3pug3U12jYAGKATuNLL7dxhU1e8Y0ESDWEr9Np0mffDjkGG+75nZqiYgobFRMf5JLET AiRv1+5fgLJAza9F2LyJAX4tGtmrfZ91Xqg2OPSiePhrxzV36RmXJaLbTFXQH7asnkB7 IGrTLXdiy1omketp1B4yF64WGMoBJoJVzJv3V3xRYM9deckybFVNPmQNsGU2ABbrGU03 tJ9w== X-Gm-Message-State: AOJu0YyTjAciSor6ZYlbS8i4tNZ/n9fVywGhG9A1YV7rRLL4HxUpFoYv kg9FHBLE+WrgQTd9RfNeG74abeP/6rmkJvCjjMSh5Qqjvfyevhqg1YSpBMO3xgk= X-Google-Smtp-Source: AGHT+IHaEQLBwKlOmLc02VBGplS7/8T5hSgCjVlXaKlvnnLyTegSnDCZNolejnbLaxU1s4bf9F0ePA== X-Received: by 2002:a05:6808:1a27:b0:3c9:9474:cfda with SMTP id 5614622812f47-3d1a21636b7mr3275022b6e.0.1716574052478; Fri, 24 May 2024 11:07:32 -0700 (PDT) Received: from localhost.unh.edu ([2606:4100:3880:1271:e2f8:4ec3:8bf3:864c]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-43fb18ae7e5sm10078611cf.74.2024.05.24.11.07.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 11:07:31 -0700 (PDT) From: Nicholas Pratte To: paul.szczepanek@arm.com, jspewock@iol.unh.edu, luca.vizzarro@arm.com, thomas@monjalon.net, juraj.linkes@pantheon.tech, bruce.richardson@intel.com, Honnappa.Nagarahalli@arm.com, probb@iol.unh.edu, yoan.picchi@foss.arm.com Cc: dev@dpdk.org, Nicholas Pratte Subject: [RFC PATCH 0/1] Initial Implementation For Jumbo Frames Date: Fri, 24 May 2024 14:06:15 -0400 Message-ID: <20240524180616.18210-1-npratte@iol.unh.edu> X-Mailer: git-send-email 2.44.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 The following is a rough design for the implementation of the jumbo frames test suite in new DTS. The test suite uses the same testing methodology from the test suite implementation in old DTS. In doing so, much of the logic in this implementation has been stripped away for the sake of maintaining an OS-agnostic design philosopgy. Thus, there are some concerns here that need further discussion. All test cases behave accordingly on lab hardware. However, issues with the testpmd shell, all of which will be fixed with the upcoming context manager, prevent the test suite from functioning properly if all test cases are run sequentially. Thus, for testing, each test case needs to be run individually. So, expect issues if attempting to test. Old DTS implements some basic logic that detects 1GB NICs, specifically when testing jumbo frame packets greater than the specified MTU length. This is because, according to a commit message from 2016, 1GB NICs will automatically adjust their size to +4 bytes, meaning that when setting an MTU of 9000, testpmd adjust the MTU size to 9004. To compensate, some logic was inserted in the old suite to adjust packet sizes accordingly. Given that Juraj's capabilities patch is in development, it would be possible to set a restriction on this test suite to remove the support of 1GB NICs, which could be determined from testpmd outputs; it could also be possible that this problem is entirely null and void today, essentially allowing us to forget about it. The current implementation is not developed with both the capabilities patch and the params patch in mind; however, the current design can and will be refactored to do so. Nicholas Pratte (1): Initial Implementation For Jumbo Frames Test Suite dts/framework/config/conf_yaml_schema.json | 3 +- dts/framework/test_suite.py | 8 + dts/tests/TestSuite_jumboframes.py | 210 +++++++++++++++++++++ 3 files changed, 220 insertions(+), 1 deletion(-) create mode 100644 dts/tests/TestSuite_jumboframes.py -- 2.44.0