From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id CE9A1A04F3 for ; Thu, 2 Jan 2020 12:23:38 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 899FD1C031; Thu, 2 Jan 2020 12:23:38 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 159581C031; Thu, 2 Jan 2020 12:23:35 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Jan 2020 03:23:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,386,1571727600"; d="scan'208";a="369304768" Received: from irsmsx154.ger.corp.intel.com ([163.33.192.96]) by orsmga004.jf.intel.com with ESMTP; 02 Jan 2020 03:23:34 -0800 Received: from irsmsx106.ger.corp.intel.com ([169.254.8.26]) by IRSMSX154.ger.corp.intel.com ([169.254.12.207]) with mapi id 14.03.0439.000; Thu, 2 Jan 2020 11:23:33 +0000 From: "Loftus, Ciara" To: "Zhang, Qi Z" , "Li, Xiaoyun" , "Xing, Beilei" , "dev@dpdk.org" CC: "stable@dpdk.org" Thread-Topic: [PATCH v3] net/i40e: fix TSO pkt exceeds allowed buf size issue Thread-Index: AQHVu7hlv/kv1RYTQ0ye8IPyeOEmp6fNIKyAgAol4jA= Date: Thu, 2 Jan 2020 11:23:33 +0000 Message-ID: <74F120C019F4A64C9B78E802F6AD4CC279293AD8@IRSMSX106.ger.corp.intel.com> References: <20191223025547.88798-1-xiaoyun.li@intel.com> <20191226064544.48322-1-xiaoyun.li@intel.com> <039ED4275CED7440929022BC67E7061153DF3BCA@SHSMSX105.ccr.corp.intel.com> In-Reply-To: <039ED4275CED7440929022BC67E7061153DF3BCA@SHSMSX105.ccr.corp.intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-stable] [PATCH v3] net/i40e: fix TSO pkt exceeds allowed buf size issue 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" > > -----Original Message----- > > From: Li, Xiaoyun > > Sent: Thursday, December 26, 2019 2:46 PM > > To: Zhang, Qi Z ; Xing, Beilei > ; > > Loftus, Ciara ; dev@dpdk.org > > Cc: Li, Xiaoyun ; stable@dpdk.org > > Subject: [PATCH v3] net/i40e: fix TSO pkt exceeds allowed buf size issu= e > > > > Hardware limits that max buffer size per tx descriptor should be (16K-1= )B. > So > > when TSO enabled, the mbuf data size may exceed the limit and cause > > malicious behavior to the NIC. This patch fixes this issue by using mor= e tx > descs > > for this kind of large buffer. > > > > Fixes: 4861cde46116 ("i40e: new poll mode driver") > > Cc: stable@dpdk.org > > > > Signed-off-by: Xiaoyun Li >=20 > Acked-by: Qi Zhang Tested-by: Ciara Loftus