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 35FB3A00C5; Tue, 15 Feb 2022 07:16:48 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BD6D140E78; Tue, 15 Feb 2022 07:16:47 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 3E44F40DDA for ; Tue, 15 Feb 2022 07:16:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644905805; x=1676441805; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=totFLO/PzpsFJleZleoVueBj4u7GTfog8FVs+tP65Zw=; b=cUNGfYABG0xwC3PqqhPdru6rJkDHPyC8paNzT86YXtmO45kZaVQz5YKh UDiKaMfcYt6Kj678Ng//FCPQiMOKGrx1Nr5pgg1P/RDeD5D95nQpd/z7W w5dXjaSnz5fOX8D2M5BH2luU9t9hUTfIkLPUo+eM3pQU8hAJ6m1cV+epD p9epcZSOaKx5x5BHxVztsF4GGYFwwQykKcrWve1qun6ACMujFPisabkds f4yoATzzhVv+R7XXMjYZEf5jzArdoczEjQdgZ+8RsXfKNXRn5hAuPkANp hy8AYZjYQ0r0qd8+52fp/pQvVpcfjJRKT6wiWt8aRdThf/d8XKkM/Ul0Z g==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="249092887" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="249092887" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 22:16:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="587511063" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by fmsmga008.fm.intel.com with ESMTP; 14 Feb 2022 22:16:44 -0800 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Mon, 14 Feb 2022 22:16:43 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Mon, 14 Feb 2022 22:16:43 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.175) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Mon, 14 Feb 2022 22:16:43 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EN3aAkTz+ZePjtNdt2iqIjp92SecYM3SS6gzkDYLx4jVoG7p8/H5hhotKG5E+MA6rzQl64mmmov3eErZ7Oml5ReD6hKivJv6YBg/eI5gMobyILiLoehKtohLeAjDq0PP0TzX1wBV03F0PEmOvG8j0mR4DphejtKksSdkdOWc/rsaNeouc8yV7fp6b+3kgEJq4P6vyCukecz1OgCnlW3dLCvECN0dIWhColA1En8qxjI0/N4fW2KRrTzk3jJEuMfFLt+D/L9tSaqDwEbnnB/iOh/uFiaXY14c/wgoEIk6H4FqBspyDUCiKPFvdsLgSFGmZERHAYBs6tIE1fK9zNymNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=R/pyaDqsoypmUfgAeRPzwZlsz9F4cTq656ERhRT00Bg=; b=QppdbhhlmoZg8sZwK1x/Jn4viFQRPAHhJcKPMLd2YwdghOvHYbSuN3w2OEXyS3/4i8FPYxBW19lCsTvtuDihuMzVUEpGJhecArPuHS9Yqh0wZWBY2RhZT3AlfUT8JvBGcMYF/3H4aqHeqatatzMhllZoANIVCnAimM2jM0cmoW4c1wEmR4IIm+iGQDNv5OdsVO43asWzsp6RJib7Pe7xm9IHQCbU2gYIO6Z/GT8iaokIjdXGk7EnevIRlUOUdgI/CuQGmOHVmdiI5Xly9ZpeJvGMsllCBFkLO7NdLYKJ/o6harIFG8E86OFiH1nDG5RYjbm4SahvOCSSWG+FvIrozQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from BN0PR11MB5712.namprd11.prod.outlook.com (2603:10b6:408:160::17) by CY4PR11MB1767.namprd11.prod.outlook.com (2603:10b6:903:11f::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.16; Tue, 15 Feb 2022 06:16:42 +0000 Received: from BN0PR11MB5712.namprd11.prod.outlook.com ([fe80::95fb:2067:453d:9cf6]) by BN0PR11MB5712.namprd11.prod.outlook.com ([fe80::95fb:2067:453d:9cf6%5]) with mapi id 15.20.4975.019; Tue, 15 Feb 2022 06:16:42 +0000 From: "Huang, ZhiminX" To: "Nicolau, Radu" , "Wu, Jingjing" , "Xing, Beilei" CC: "dev@dpdk.org" , "Jiang, YuX" , "Nicolau, Radu" Subject: RE: [PATCH] net/iavf: fix segmentation offload buffer size Thread-Topic: [PATCH] net/iavf: fix segmentation offload buffer size Thread-Index: AQHYHn9+3rEWwmG0/kaTyE5vXsYU+KyUKc1g Date: Tue, 15 Feb 2022 06:16:42 +0000 Message-ID: References: <20220210130923.1442905-1-radu.nicolau@intel.com> In-Reply-To: <20220210130923.1442905-1-radu.nicolau@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9f711188-d2de-4a76-c2e6-08d9f04abc2f x-ms-traffictypediagnostic: CY4PR11MB1767:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:183; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: UkDShWNa3oIfUbQxosE82agTnZMJ8AebpVIQ/OAl+Wrj3xVitVc4prz8xg65d6YZrfjdzgl6vgCO1Xsolq4DZKkSFCbHuEkB4hntmaz0278RyD21obo32Da4pVsgAUFyxBgMhH8dJNfq3G+0OybnZZd686FZRMsnzF+jn4sRk3v6nQiYqW4sAWkuVITMi1k7d51o1MtuNsFiCmPcfM0Q/652uxNJmCynok6leg5QtnIgTdl+8Px470bKTLIl7YZO1JxjRM0m9zf3nGXS4LUR5JVN0bQkq3YqG5/fjIuXdfjKf1jZ8INl8btBCqHVo3fiTd5BboaPbgxKDxt6za2qaFu9oU5LXqwhR7SX8wyThAFcAcH6KD3VhO/vlpWn6II8/5LxrZ12GJOhtAYiS52dpRPbsl3ePgeRCysZxwsTE9DxjPUmOY4g3ewD4X3Pie8KUW2gAnUCUxrGs/L3HBZtwJ/8b26cs2KeCN1pO1OHAJ7OtgoPE3Sr0Wz6MTuC0NYqOocjvwM7C7pRN3zRbwdgjFXZ0VxcBSgeSM/GzEeDK8SCTAIiGY8o7n1yg0aBZDK7CEEFKoi5bZ8Y0ZV53DqfM/41hx/Hfo0lw48e2/XT/eF+388KGx/W+x4ujlKUKeNvn6MGIbX4aSw5Fw8XRdWTO+K4hx5hAmqdvgnr4eBS08G/LIoCHJvBKPAz0I+5EgXvsZ8p1CLhGg6Qgj/FWWuM5Q== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN0PR11MB5712.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(38070700005)(316002)(6636002)(66946007)(54906003)(83380400001)(110136005)(33656002)(5660300002)(82960400001)(76116006)(4326008)(64756008)(86362001)(66556008)(8676002)(66476007)(66446008)(71200400001)(122000001)(186003)(8936002)(26005)(55016003)(53546011)(6506007)(7696005)(9686003)(508600001)(38100700002)(107886003)(2906002)(4744005)(52536014); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?f3hE6d6dzq+Ydn74E0qlBDnJeezEOS0iwsCvNU7K3cFgKb0KTydvLpeECmea?= =?us-ascii?Q?slE3ANnkSZFPXolnK8EXhbYfEWklJ1tS4ASrMyTdAA5fSyEZwm+SY5bqCLSE?= =?us-ascii?Q?q4IM785li5xw7krTcFrtdmwMblQu0/EMAwyt/ipvAekHVQgsmQmVt3jmbSfa?= =?us-ascii?Q?DQ65kzfi5slPI01PmYcolTeczonulkgco1bprhCPkBvZwng5SrrYfm2C6GqC?= =?us-ascii?Q?fJdHUyVKfq2Ph4EERNGYGDfY+Y5NdEZfETTjFmF74g6d3KMVQkAab7yJ88oQ?= =?us-ascii?Q?RdmOwuqFM6FKvX43ZRWiOjDakmIps4KVFtllXc3X8tfC2Ofqdgg4krtRFjmf?= =?us-ascii?Q?GFBHiFupNUdcwhE/NQp0a8TnDadT1bLYKV8Yq+nUp8kSHUNAYgtGFhEliC9y?= =?us-ascii?Q?/Z3TAwecVBVn6h60OVeabOZAnnwQ2hSZU+ZiZypmp/aKutk0u8RIFPq2lLyD?= =?us-ascii?Q?EvZvWb9XvJCW5GSci520Hng0evGTWoW4gWMyLFSGVTuKHFk8NF7V9qVyje/6?= =?us-ascii?Q?/uqeVhJG1gYUTmhQcGSx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q?zRxmj0e5YxOA1OBOO4N5asZXgwij40KuShXXuOslR/KL1+R9eJHSdsaX3I+L?= =?us-ascii?Q?4L9m4dIjTaNmAL/TpHfD4RpdDlM851xGFoYvR0xA1qXBzDpoX458b+Y7bzEW?= =?us-ascii?Q?4GcKhj+Z3C/YEQKbkmW9Qb/hOJduYJXL0j06vv/hHOK+1GfR/kW5q6icEwcd?= =?us-ascii?Q?MqC6eU3x1kQncIb66mOK0lw=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN0PR11MB5712.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9f711188-d2de-4a76-c2e6-08d9f04abc2f X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Feb 2022 06:16:42.4191 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: hm6Th1D4OyCPOu1THICVn92gIiHWpRu7Pobmqc2f6VxB17rW5vnLdKvdXayiKZ/Mo237IoqnK18Xx2SwP9C0hQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR11MB1767 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > -----Original Message----- > From: Radu Nicolau > Sent: Thursday, February 10, 2022 9:09 PM > To: Wu, Jingjing ; Xing, Beilei > Cc: dev@dpdk.org; Jiang, YuX ; Nicolau, Radu > > Subject: [PATCH] net/iavf: fix segmentation offload buffer size >=20 > This reverts commit ff8b8bcd2ebe, which resulted in incorrect buffer size= being > computed for TSO packets. >=20 > Fixes: ff8b8bcd2ebe ("net/iavf: fix segmentation offload condition") >=20 > Signed-off-by: Radu Nicolau > --- > drivers/net/iavf/iavf_rxtx.c | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) >=20 Tested-by: Zhimin Huang