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 8F273A034E; Tue, 22 Feb 2022 10:52:40 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7A3F240E64; Tue, 22 Feb 2022 10:52:40 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id E23BE40DF4 for ; Tue, 22 Feb 2022 10:52:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1645523559; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nO/+47yBzHoFnLs/0FMcinsR4os/Iq03jo2fmlGDXrM=; b=g0qZ5zq29rnDt1Sl2VmhF572SHJfHB5Y1O1pyMAcQ6CuOLPZ4oIWy0tq2mOyGZz9n+2PHr X7mykkEP66vdNnqVgvMqhNqb7Ly5YchBhB9JveR71WjX7Yrb/WhTLUZ74bgO6c8pQdgJYP OkcwnOs2sgOuc1jrT5FGq9HW3RJDGLE= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-67-URn1PMP1NZK056WKnx2crw-1; Tue, 22 Feb 2022 04:52:38 -0500 X-MC-Unique: URn1PMP1NZK056WKnx2crw-1 Received: by mail-wr1-f72.google.com with SMTP id j8-20020adfc688000000b001e3322ced69so8719451wrg.13 for ; Tue, 22 Feb 2022 01:52:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent :content-language:to:references:from:subject:in-reply-to :content-transfer-encoding; bh=nO/+47yBzHoFnLs/0FMcinsR4os/Iq03jo2fmlGDXrM=; b=E33bc2uXXNLWW421avovy7/s3kI418C1uo3YDiI2l70Nk5Xi2TGT7XeHSE2Q8DtxLi ATh/p8kMjcVDpybOWsYiKKKsI1u29J9u9LhBLYYbwAiZxmmWSSQAWNKsFiOBDPTPn/aw rUsFbnhkV63R0RzERtUTIQ10PRSCZvbSlqB5iWpMiyoE5oOUTsggWW4jLyMwOCvstuBb AAFnPO7dmleerm9PhrSIB2hekEVUfh1e75P5TdzQ/G7R+Bdn+zE4v1EH09h6J4tZ5IGx DYOVoOwzlqPvfh8wA1JDDR7x2PQ00WI8pLi3a5RSTGk9oyUDYHOOxxYh4BvxKveJGWOf MeJQ== X-Gm-Message-State: AOAM531bdcI0S/NRRi+j/yBtnKi2qlN1nXhkm3g1euyF3c3qIbEmQl0S t3hoLeWHcqDNufOHnXJB+ybtX/BqEmmq1IJ2qRrUJ6DwCx+fXxuoZ4PazQM0ogUVlZDSuBZf7kP 8KIc= X-Received: by 2002:a05:6000:3ce:b0:1e4:b2ba:e3e3 with SMTP id b14-20020a05600003ce00b001e4b2bae3e3mr18841317wrg.204.1645523557053; Tue, 22 Feb 2022 01:52:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJx+S//3c/rgtQ8CplNiUqPe7DjhNAu3YPy76qlH7g+EE2xfF3d/6yyu2IwYdNm67VeLpx0mXQ== X-Received: by 2002:a05:6000:3ce:b0:1e4:b2ba:e3e3 with SMTP id b14-20020a05600003ce00b001e4b2bae3e3mr18841309wrg.204.1645523556858; Tue, 22 Feb 2022 01:52:36 -0800 (PST) Received: from [192.168.0.36] ([78.16.131.8]) by smtp.gmail.com with ESMTPSA id q2sm50933817wrw.14.2022.02.22.01.52.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 22 Feb 2022 01:52:36 -0800 (PST) Message-ID: Date: Tue, 22 Feb 2022 09:52:35 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 To: "Zhang, Qi Z" , "Zhang, Peng1X" , "dev@dpdk.org" , "stable@dpdk.org" References: <20211207085946.121032-1-dapengx.yu@intel.com> <038bd8ba612f421a8efe0a17d5c01eb1@intel.com> From: Kevin Traynor Subject: Re: [PATCH] net/i40e: enable max frame size at port level In-Reply-To: <038bd8ba612f421a8efe0a17d5c01eb1@intel.com> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=ktraynor@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed 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 21/02/2022 11:22, Zhang, Qi Z wrote: > > >> -----Original Message----- >> From: Zhang, Peng1X >> Sent: Monday, February 21, 2022 6:43 PM >> To: dev@dpdk.org; stable@dpdk.org >> Subject: RE: [PATCH] net/i40e: enable max frame size at port level >> >>> -----Original Message----- >>> From: dapengx.yu@intel.com >>> Sent: Tuesday, December 7, 2021 5:00 PM >>> To: Xing, Beilei >>> Cc: dev@dpdk.org; Yu, DapengX ; stable@dpdk.org >>> Subject: [PATCH] net/i40e: enable max frame size at port level >>> >>> From: Dapeng Yu >>> >>> Currently max frame size is set at queue level, which makes the values >>> of the following counters wrong when a jumbo frame is received. >>> >>> The expected value: >>> rx_good_bytes: 0 >>> rx_errors: 1 >>> rx_oversize_errors: 1 >>> >>> The actual value: >>> rx_good_bytes: 1626 >>> rx_errors: 0 >>> rx_oversize_errors: 0 >>> >>> This patch enables setting max frame size at port level, and makes the >>> values above right. >>> >>> Cc: stable@dpdk.org >>> >>> Signed-off-by: Dapeng Yu >>> -- >> Tested-by: Peng Zhang > > Reviewed-by: Qi Zhang > > Applied to dpdk-next-net-intel. > Please add a Fixes: tag so we can know which LTS it is relevant for. > Thanks > Qi >