From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id C661AA00E6 for ; Wed, 15 May 2019 11:25:57 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9FE8034F0; Wed, 15 May 2019 11:25:57 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 8A56834F0 for ; Wed, 15 May 2019 11:25:56 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E167C7BEF5; Wed, 15 May 2019 09:25:55 +0000 (UTC) Received: from [10.36.116.124] (ovpn-116-124.ams2.redhat.com [10.36.116.124]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0C2E71001DD7; Wed, 15 May 2019 09:25:54 +0000 (UTC) To: Andrew Rybchenko Cc: stable@dpdk.org, Igor Romanov References: <1557835043-4489-1-git-send-email-arybchenko@solarflare.com> From: Kevin Traynor Message-ID: Date: Wed, 15 May 2019 10:25:53 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <1557835043-4489-1-git-send-email-arybchenko@solarflare.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Wed, 15 May 2019 09:25:55 +0000 (UTC) Subject: Re: [dpdk-stable] [PATCH 18.11] net/sfc: fix MTU change to check Rx scatter consistency X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "stable" On 14/05/2019 12:57, Andrew Rybchenko wrote: > From: Igor Romanov > > [ backported from upstream commit 6c0cc77a2dd3806c5366586d818b1796a610e260 ] > > Rx queue setup function checks configured MTU to make sure that > no oversized packets can be received. But a following call to > set MTU function might make this check irrelevant. > > Add a function to check MTU size against Rx buffer size and > additional Rx queue info, including Rx scatter offload. > > Fixes: e961cf425e02 ("net/sfc: support MTU change") > > Signed-off-by: Igor Romanov > Signed-off-by: Andrew Rybchenko Thanks Andrew, added into the queue to be pushed next Monday.