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 59E3CA04FE for ; Fri, 27 Dec 2019 01:25:01 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 35E9B1BFCE; Fri, 27 Dec 2019 01:25:01 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 5D4251BF7C; Fri, 27 Dec 2019 01:24:57 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Dec 2019 16:24:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,360,1571727600"; d="scan'208";a="392473787" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga005.jf.intel.com with ESMTP; 26 Dec 2019 16:24:55 -0800 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 26 Dec 2019 16:24:55 -0800 Received: from shsmsx105.ccr.corp.intel.com ([169.254.11.72]) by SHSMSX154.ccr.corp.intel.com ([169.254.7.71]) with mapi id 14.03.0439.000; Fri, 27 Dec 2019 08:24:53 +0800 From: "Zhang, Qi Z" To: "Li, Xiaoyun" , "Xing, Beilei" , "Loftus, Ciara" , "dev@dpdk.org" CC: "stable@dpdk.org" Thread-Topic: [PATCH v3] net/i40e: fix TSO pkt exceeds allowed buf size issue Thread-Index: AQHVu7hkcyCYCvbRWU+9OWqLgw3B66fNIBZA Date: Fri, 27 Dec 2019 00:24:53 +0000 Message-ID: <039ED4275CED7440929022BC67E7061153DF3BCA@SHSMSX105.ccr.corp.intel.com> References: <20191223025547.88798-1-xiaoyun.li@intel.com> <20191226064544.48322-1-xiaoyun.li@intel.com> In-Reply-To: <20191226064544.48322-1-xiaoyun.li@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZDM1ZDkxOWMtNjM3Ni00MDg4LTk1OTMtZTYyYjA5OTQxMDEwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiQmx1TjlNbDBrY0JTZEYzbFJqcXJESFppY3BYZGtBMWhaZkhmNTZnZmRra1l5aVZFVUZDNkxXMnA1Nlwvb2trVTYifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] 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 issue >=20 > 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 more = tx descs > for this kind of large buffer. >=20 > Fixes: 4861cde46116 ("i40e: new poll mode driver") > Cc: stable@dpdk.org >=20 > Signed-off-by: Xiaoyun Li Acked-by: Qi Zhang