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 78475A034E for ; Tue, 22 Feb 2022 10:52:43 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8CAD54114B; Tue, 22 Feb 2022 10:52:42 +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 1DD5340DF6 for ; Tue, 22 Feb 2022 10:52:40 +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-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-125-myM-db1YOlavZbD6hYfIHg-1; Tue, 22 Feb 2022 04:52:38 -0500 X-MC-Unique: myM-db1YOlavZbD6hYfIHg-1 Received: by mail-wm1-f71.google.com with SMTP id k30-20020a05600c1c9e00b0037d1bee4847so616678wms.9 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=6UEEE+F237/Vtt3PN4rYbEWHw8HOSLwGv+vWYccPgHaMGN6taeqxJh9OAMCJhaiIfr iK/xR1QhrQz5FjVvrBXsTOVwsyFRD5F1geDW5ahPxfd5P2v2FhCK4XXR87SYHKIwdMNL /1Jgdd21KKHVSNCW9j4nRJkd8UnggsGKm3TRobkuM/ardTHhqsYpQegHXIMeaoO7jpoz y8FY7yt2CP6IzThU4CqytyMXgQzfdnJ0fKVkqbQC8EAuyJbinQMwz+HyXr+6fdm5ODVc 7ohSQI7ZuIibPezowwaTC3BFRp0P1uLd1l0i5CH7+mPEuSmzDqxen63eKkxVlYN0f8pu +wgw== X-Gm-Message-State: AOAM532tWcySY0cTVF9jYndPvp1iL55bDAg1Rme6HMFJ7u9P9C2XkBpr NShAsEpEhTqdqbNn273gEN+SJpfHKlS4PkDlr7rv41ZzzzDrA62XtfM9BGmOsso5dYmKfJIdpoB 0Ml7Rcf0= X-Received: by 2002:a05:6000:3ce:b0:1e4:b2ba:e3e3 with SMTP id b14-20020a05600003ce00b001e4b2bae3e3mr18841319wrg.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: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-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 >