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 AD588A0547; Thu, 22 Jul 2021 16:43:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 30F214014D; Thu, 22 Jul 2021 16:43:46 +0200 (CEST) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by mails.dpdk.org (Postfix) with ESMTP id 4BF1C40040 for ; Thu, 22 Jul 2021 16:43:44 +0200 (CEST) Received: by mail-pl1-f178.google.com with SMTP id v14so4676591plg.9 for ; Thu, 22 Jul 2021 07:43:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=A6m+rc8CPFme0SIEj4Iv/p5i9V5amyp+kFuEnxSTqBI=; b=eaj961FUELRE50zg3hJCtw7fMuMFR25DzHzmqCJxNUZSZBEwp7y29gVYLW7ILFzPor Ampv5/5TwAyhzwlt2oKuIvhxWi37yZFa79z9Dot7hh8SSiFre/mSAFGPM2sBhr2C31zt fL6asDvwJo4ZLAQdvNxXojasqtQPuIIPB8dbT8LenjcfS71FWaV9acAKJC0835R3YIU3 PCz3XrxLidqwq2mR2FvnfemRjYTH9z6aED7JGUb24Rwjj3jVr++RcL24r5hcP5leLHM9 4ftBx86cHpN+QoMkq+/IMCNFRZeFg72Eq1C3niQI/yoV6d93ExmzIRsVTtUIFbSBL89k chGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=A6m+rc8CPFme0SIEj4Iv/p5i9V5amyp+kFuEnxSTqBI=; b=TRYiAzNo2qn7nhcduUaH17kdJj+AbhwgvVIqB865jZcwW4Xn0HqdWwdeQNBv/NTs5e /rCPO2wNrVjTRgafH/TIVuwmnvoHSgBnvwIOPSuwg5yaG/0H2WptndInGHLGsGi18Yuy 7gYOoVRwE8D1SS/MqSK31qoP722g8rHdDrLvMXsWL35O89Y2YNsnEbCJOF6O5dvY9XnJ +JpBYWiAqrkSKeAqisjNvRQD1R1Zs5ATlhRfsR/uk2yxAmzasoXiFmQ6yHyDbYI2vvvG c+8FCEb41TjSamawc5DMpNlFJ1O1lL/6akPDbxNNYlHKou9i2ARe9Vx6NZcbEFEW/ure 36xA== X-Gm-Message-State: AOAM53117R4StRYKljV7CMaQPuYzvjvLZlBgz+dA+nps5lQ5xkj2ulFt iCrq7aXffFSUmrP2KTtTIK4xLQ== X-Google-Smtp-Source: ABdhPJysGmeKIi1QxDp2QbmTRcAY5VtuwqVvMI7QMlPYLFrskw3xqoBuVoMUxs/pJQYKWrYaC2lrcg== X-Received: by 2002:a17:90a:4417:: with SMTP id s23mr9277090pjg.228.1626965023334; Thu, 22 Jul 2021 07:43:43 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id z23sm3264913pjq.57.2021.07.22.07.43.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jul 2021 07:43:43 -0700 (PDT) Date: Thu, 22 Jul 2021 07:43:40 -0700 From: Stephen Hemminger To: Andrew Rybchenko Cc: Ferruh Yigit , Huisong Li , "dev@dpdk.org" Message-ID: <20210722074340.054e222c@hermes.local> In-Reply-To: <00fb2449-cdf1-7af2-1ad9-f16d80def53f@oktetlabs.ru> References: <20210709172923.3369846-1-ferruh.yigit@intel.com> <1a891390-1122-6dcf-03e8-1f0b147b30ec@huawei.com> <4e1ae26c-197b-ea45-0860-66c195d1f820@intel.com> <44ea055b-4f43-5cd5-9911-662b6df51623@huawei.com> <78252f7e-3170-344c-fba9-85fcacc36026@intel.com> <00fb2449-cdf1-7af2-1ad9-f16d80def53f@oktetlabs.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 1/4] ethdev: fix max Rx packet length 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 Sender: "dev" On Thu, 22 Jul 2021 13:15:04 +0300 Andrew Rybchenko wrote: > > I don't think we care about type of transmission in this level, I assume we > > define min MTU mainly for the HW limitation and configuration. That is why it > > makes sense to me to use Ethernet frame lenght limitation (not IPv4 one). > > +1 Also it is important that DPDK follow the conventions of other software such as Linux and BSD. Cisco and Juniper already disagree about whether header should be included in what is defined as MTU; i.e Cisco says 1514 and Juniper says 1500.