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 2FD17454C0; Sat, 22 Jun 2024 00:18:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0266840298; Sat, 22 Jun 2024 00:18:07 +0200 (CEST) Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by mails.dpdk.org (Postfix) with ESMTP id 499A14025C for ; Sat, 22 Jun 2024 00:18:06 +0200 (CEST) Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-70436ac8882so2060246b3a.2 for ; Fri, 21 Jun 2024 15:18:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1719008285; x=1719613085; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=lPRgwT40Wqk1ghA+FaKyX69x09G8vvhwSLtaJ0XzSjE=; b=0o/pZzrHQchneB0Htoq8otAA16Q51kq/yt6G0Ir3Bxos7EnbKC9Uh0lz77ynfeFIFd fXgTknP/1J0bQ6WlgpDrUOAJ8YgaWb/bgO3H7qrUXbap/5QwAIotvQ2VNq7PKDJWjpdK UeE1xgLp66PGREvORm6Hsb1kvfw+39bWjgNa2dFG3rWjxVPrE/zPqo6YDkiq3y+Zc3OA aoNbbzRuHaaaY10NhJxgC0YdWTu/3z2mC/JXsTySYMtDgD09v3nawxG4KHb8N1JDbqPn GGkq0MGeXDj/MXtVTjAbQdjZXpZ4Lwru9y/RQDcnpuXTyMbrx69gnnX+IAIqwej42ki8 FlmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719008285; x=1719613085; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lPRgwT40Wqk1ghA+FaKyX69x09G8vvhwSLtaJ0XzSjE=; b=Kk8QJfj+RzSWaJ7QBLZFWXkMlAWRHbjUHUzgC1UWhz0jkHAfr/ryWhJt3eU8TAkMyv RrBLBxixvgme92+KYfXYsmwLP4JxGKMpQRZebALPn8jT8d/hHg61VShvo1NhN/IP1900 Ei6LcYJW24F5cP2IuoDUdepQh87hUFCqXv1oBIkBcjrnAuMKiTgFZl5IueCuaF4TN+Da qECt2lcNkBFUg8dTYwQ4g8uV4Wd8LohOV376FpA3X7HSzHEaWPMllw7iM7NjODT95A6L KjXe85D1wVW27O4oCen/KlfI18f56bxhe/URFDzHcuoxLyl4iEcaOPcUlxBv/hi6aMUH zRoA== X-Forwarded-Encrypted: i=1; AJvYcCX60i2Py8h8WeiX08I8x1TtWUHcYXxrc3Bk8cU8eQV1u2Aa7odAREsOT1Y0Im3NUDuI7/svvCYHdJ5h01I= X-Gm-Message-State: AOJu0Ywlihro+Og766RUzH6Xg2blpe5ydr/9O1rcGNAgqC07zWRPXIGH 3jf8eZDTjiMchsM/rp13jgqwghXg/B8EqhCAwGDOUOW4tgTZpOsB4X089h0FPAo= X-Google-Smtp-Source: AGHT+IF7Kf6A050PHq5EdHpWzP1UyD9aBHLYu+noH/PVEJ3B1cQVvdvYe7rSG0IgNHyF4/mvbqqjJg== X-Received: by 2002:a05:6a20:3d8b:b0:1b6:a7c5:4fbe with SMTP id adf61e73a8af0-1bcbb3eed25mr12354253637.14.1719008285070; Fri, 21 Jun 2024 15:18:05 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-716bb3229c6sm1323305a12.93.2024.06.21.15.18.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 15:18:04 -0700 (PDT) Date: Fri, 21 Jun 2024 15:18:02 -0700 From: Stephen Hemminger To: Nicholas Pratte Cc: juraj.linkes@pantheon.tech, dmarx@iol.unh.edu, jspewock@iol.unh.edu, bruce.richardson@intel.com, yoan.picchi@foss.arm.com, paul.szczepanek@arm.com, Honnappa.Nagarahalli@arm.com, luca.vizzarro@arm.com, probb@iol.unh.edu, dev@dpdk.org Subject: Re: [RFC PATCH v2] Initial Implementation For Jumbo Frames Test Suite Message-ID: <20240621151802.33021b4a@hermes.local> In-Reply-To: <20240621211920.14286-2-npratte@iol.unh.edu> References: <20240524183604.6925-1-npratte@iol.unh.edu> <20240621211920.14286-2-npratte@iol.unh.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Fri, 21 Jun 2024 17:19:21 -0400 Nicholas Pratte wrote: > +The test suite ensures the consistency of jumbo frames transmission within > +Poll Mode Drivers using a series of individual test cases. If a Poll Mode > +Driver receives a packet that is greater than its assigned MTU length, then > +that packet will be dropped, and thus not received. Likewise, if a Poll Mode Driver > +receives a packet that is less than or equal to a its designated MTU length, then the > +packet should be transmitted by the Poll Mode Driver, completing a cycle within the > +testbed and getting received by the traffic generator. Thus, the following test suite > +evaluates the behavior within all possible edge cases, ensuring that a test Poll > +Mode Driver strictly abides by the above implications. There are some weird drivers where MRU and MTU are not the same thing. I believe the e1000 HW only allowed setting buffer size to a power of 2. At least on Linux, that meant that with 1500 byte MTU it would receive an up to 2K packet. This never caused any problem for upper layer protocols, just some picky conformance tests.