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 48D39A0505 for ; Thu, 19 May 2022 09:08:41 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3E2BF42684; Thu, 19 May 2022 09:08:41 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 950F540140; Thu, 19 May 2022 09:08:38 +0200 (CEST) Received: from [192.168.38.17] (aros.oktetlabs.ru [192.168.38.17]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id 254C68A; Thu, 19 May 2022 10:08:38 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 254C68A DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1652944118; bh=ROBEbyWMn/6wnmMXuvX4YLTK7NtCdnvK18jAAeJGi7w=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=PEEqnIhO8LYSBBGCAmr2q2s1F/+bcGZgwV2ztZsz9ynBH3NRaP3Y5L0phxbZrb1u/ iQMPGg7eKAVnwqG/qgmYay3/fD46fRmQKu9kh3yGxCYOkeFDcpUtVswM7oeFwkba4w QqGwjY6bsQdmMr2QYD4P15Is255LxGcMMw/qU1eE= Message-ID: Date: Thu, 19 May 2022 10:08:37 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH v4] net/nfp: make sure MTU is never larger than mbufsize Content-Language: en-US To: Peng Zhang , dev@dpdk.org Cc: niklas.soderlund@corigine.com, stable@dpdk.org, Chaoyong He , Louis Peens , Walter Heymans References: <20220330031751.119830-1-peng.zhang@corigine.com> <20220511011553.2905582-1-peng.zhang@corigine.com> From: Andrew Rybchenko Organization: OKTET Labs In-Reply-To: <20220511011553.2905582-1-peng.zhang@corigine.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 5/11/22 04:15, Peng Zhang wrote: > Setting a MTU larger than mbufsize is not supported by the device but > not prohibited by the driver. This change adds a restriction to the > driver to prevent setting an MTU that is too large. > > While at it define the minimum MTU in the device information to describe > the complete supported MTU range. > > Fixes: d4a27a3 ("nfp: add basic features") > Cc: stable@dpdk.org > > Signed-off-by: Peng Zhang > Signed-off-by: Chaoyong He > Signed-off-by: Louis Peens > Signed-off-by: Niklas Söderlund > Reviewed-by: Walter Heymans Reviewed-by: Andrew Rybchenko Applied, thanks.