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 42DEBA0543 for ; Fri, 11 Nov 2022 05:59:09 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3C15340F16; Fri, 11 Nov 2022 05:59:09 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id B8D7D400EF; Fri, 11 Nov 2022 05:59:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1668142747; x=1699678747; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=OAAkChFvFiBcHjrrp25fq28sb/ar0XVF89kQoC84Bug=; b=e41nj8X0qXebzuf5r/el1vs46A/4VX9VsfDdSo9W6ladcM94v2/LQbp+ RgySaXOoGX7JDigLsk5mM2sNjE2b614B46Ph/048X3TdgykEwt7/0T62I itlq5iLpwPtVyo/iZwd1eSdsgCzxggistG0iqVQmZ9L96sIbqwoD5+/Qh 56d4v4/2h/7ODJysr1v6xxeghjaxVMu/iRC1MfSeV7nsK2bCsDAHcx+a0 PzZC8MSrQcA644qOrNOnM8bBTq/FzyD8RLh3tyfDoQEI9XfmpzwyfjWx6 iWaBc8Koxw+BCOVefJj8yJjnnU+l9PDelQeQFzyohmjOVQxPXMUcbLyst g==; X-IronPort-AV: E=McAfee;i="6500,9779,10527"; a="313310397" X-IronPort-AV: E=Sophos;i="5.96,155,1665471600"; d="scan'208";a="313310397" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Nov 2022 20:59:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10527"; a="726664376" X-IronPort-AV: E=Sophos;i="5.96,155,1665471600"; d="scan'208";a="726664376" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by FMSMGA003.fm.intel.com with ESMTP; 10 Nov 2022 20:59:05 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 10 Nov 2022 20:59:05 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Thu, 10 Nov 2022 20:59:05 -0800 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.106) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Thu, 10 Nov 2022 20:59:05 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XZmLMPNRkKhiAmrGmGHWmHFlQcmK3d7wLfGzRhA6joMvSYsqpOmE4RlukM4ZEA4sIVkoy+SXkyMbxJpA4JoppEfSbPXc2bt7fDoaw/RneFkkBObEVuSzlZpwj/vLh1Uu0ZumRHAr7ESybLKQk3zK2JxYfXTbGYBapVwixfzQErDfygJu1YfUHcFh5iPHH/qayY6V3bAbUDpdU0hmNzmM3BEishGSlXfST83f2W2rAi/O2dcUFb76KvPiuXjrtgql2GiCMmZQ+unFbae+k18JnAYQqSqGQ0o09NkDRMrtUqd4jwauUPW+pnUwxL1Z68gFtdkhOQMbGnWAqtA/IHLlmA== 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=OAAkChFvFiBcHjrrp25fq28sb/ar0XVF89kQoC84Bug=; b=PrMlDwxjTR/TQs8MTybFHZXevvyPq3Vecj6Auqin6V6oaezU1DxZMQL7X5Hb/chV99dvaW6rwDQHNwijA3PqAzLqu4dPfVC4n/dAuLNaKMoXMeeoTc09gfuAhakfouj3xfeEdJNjmqrfLvEx9OIZJLy3a1r3SBfPHEeGa6i4DmCB1XaebYrL2ZkDpJ2EkrLTsHARlizm5JYCBG2pDFcMPO4reudCF5pn5oPKu9DLvo19nfr4M4wW8GtzxSBM7yRVKW5Cz4DBiraKC1zw5p29t6Vg7g531AK6Z9cQBgIhhvmNbFkjzZj1+Ncha5418O3OovQfzmJ8awUe8IpMTz2Z6w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from DM4PR11MB5994.namprd11.prod.outlook.com (2603:10b6:8:5d::20) by DM4PR11MB5421.namprd11.prod.outlook.com (2603:10b6:5:398::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.13; Fri, 11 Nov 2022 04:59:03 +0000 Received: from DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::e2ac:cde3:4d74:3fa7]) by DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::e2ac:cde3:4d74:3fa7%3]) with mapi id 15.20.5791.025; Fri, 11 Nov 2022 04:59:03 +0000 From: "Zhang, Qi Z" To: "Ye, MingjinX" , "dev@dpdk.org" CC: "Yang, Qiming" , "stable@dpdk.org" , "Zhou, YidingX" , Ferruh Yigit , "Wu, Jingjing" , "Lu, Wenzhuo" , "Li, Xiaoyun" Subject: RE: [PATCH v3 1/2] net/ice: fix scalar Rx path segment Thread-Topic: [PATCH v3 1/2] net/ice: fix scalar Rx path segment Thread-Index: AQHY9YSCqRhR1d5iEUuSocDCqJxGd645KXkQ Date: Fri, 11 Nov 2022 04:59:03 +0000 Message-ID: References: <20221109125609.724612-1-mingjinx.ye@intel.com> <20221111120401.802805-1-mingjinx.ye@intel.com> In-Reply-To: <20221111120401.802805-1-mingjinx.ye@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.500.17 dlp-product: dlpe-windows authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM4PR11MB5994:EE_|DM4PR11MB5421:EE_ x-ms-office365-filtering-correlation-id: bcedac91-bbb2-4eaa-3bd5-08dac3a1741b x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: rck674KoX/p+vsAgVTGKLUG6SCbnj/zfDmvjqTUDdBWrX3R7xMYIHO6E333ck0umlcMng8YKAkcNsRn9AQRV2f5F1o2BXv+9lv8yBsY1hmyiIf7lCZXeZNHtMRtjeDKsuGjjX20VBpgznB+dFA/WZWofQuqLf21GUvsIVhksMrr22BWaGfmVCaugAve0VLhWjxCOKhitWTMsAQGeNuWwcflszkAwKcZjPMZERtA+dndctNb3deo8CFHefUIybaLK2xBZHTxDipSwThonX383y3zvNiubCryDzs49NqYuiUZSOekFgYPx9/7Ay0/Mua5zdnFPwGtnh4w2yrtq/C5v3+LPXJlX1e6ljbESK18XDlbxlLXda9zS65M+2hjKqPUoy/jyQYsP1J7fU/FRnTXNeU39KN1V7OAmTSydPpqJeFJl7jHkTHpMqauKC/Ykz0JrrNNRgFRpXbmi0qNaRC89dngs0LrxExclkMjSKmBUcXPNGfvWZZJhQL5P9thUy0vA3CpBkSXrmCDgC1ERzNtLQdGdHohZrvlmNQTXZrOj+uEgt5+Kn67B1LSAicxApaoC0TH+xPQNPL9GAS2k11ennYrIyr21Iufjd1v1p4MWKij839c0W2U4Vqr4R2V7Iwn48ODvRlbC2/bP4TIsDlK9El/2dRFELuQMnA+RJaC7bmJBlcbYZNzanwMGMzkzti7yEclduNFIjAmyxAw2wS010vS5ZQ/BXu/tApy0vrznf9vhRwREfsC2I9m23OFE80IL53qcG4SPm982b2yXw/8o3w== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5994.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(376002)(396003)(366004)(346002)(39860400002)(136003)(451199015)(2906002)(76116006)(66476007)(66446008)(66556008)(64756008)(66946007)(33656002)(450100002)(316002)(4326008)(8676002)(83380400001)(38070700005)(71200400001)(4744005)(55016003)(478600001)(41300700001)(110136005)(54906003)(52536014)(8936002)(5660300002)(6506007)(7696005)(53546011)(26005)(9686003)(82960400001)(186003)(38100700002)(122000001)(107886003)(86362001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?2RirR0BDq2gO6PKPf2wILkbbfl0X1lsyjpEB7K+lO+0+7ruya++FoM2O7pcA?= =?us-ascii?Q?wtJCGR0xy6tLzqueadLkPgNR1/8jKH5W/Aui3er5CCIQLN/zFuC3CdVNBLCz?= =?us-ascii?Q?y62HsMOC5ZrXkppm88G2ovshMkeSFN0ec8iOmcQYmCj9NPGxJq5WOxkjeoW9?= =?us-ascii?Q?CHUr2upbzWGj2slF9wPP1GXnFzsTAs+j4QC9HGp/ogF4jO358RD9VSjA3CHU?= =?us-ascii?Q?gbN5NReJPO49Xij/Q0JIS9k5EkoNzNFOWFBajnAl/GByJzmCwX6O5JNbC+BN?= =?us-ascii?Q?AaGyFLtPIeMAHQ0T/44v1BcEjHNYSpkvhDsd3ULywyPNk7HpImcNpAZ5c/Ku?= =?us-ascii?Q?+jqR/2j4Ntk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PyOUmAvk2?= =?us-ascii?Q?5Mo2LfkKFG+bMe/Q63z2/ogo8Ndclve/pPIlilxgp25OnLofZTOxdw9EEtWh?= =?us-ascii?Q?YwUBVdo2oQoffyQPVJbspfsTuMptu6jVgNtNtxI8eKbVWLVcu/Mn3LISjJBC?= =?us-ascii?Q?Sy6UBa4yuN9dT7Lja/avDiSCil+lsK0u9gAGiZqg8ASOgqHMyBeLfXlYa546?= =?us-ascii?Q?AeQkTBCY8GU5SHi0ooNBhVOXPXbeW+UXVbs4f+b15O0gC+h4XApwBtbzdH6r?= =?us-ascii?Q?FVgf8SVut7+GhdKOWgSk3MaLxCTlIH1oyW6nJTtgoezTRs/kGykaVaWHPbXW?= =?us-ascii?Q?Tb0s1o7dNitOYx1opeILGsjWJ1DmkBYHgnacemYR?= 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: DM4PR11MB5994.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: bcedac91-bbb2-4eaa-3bd5-08dac3a1741b X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Nov 2022 04:59:03.1283 (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: nc5Gj/NEWz17YLZZykizYScBL5e7QvfofIbhWElJFm1fAFhlfN4THcUXtloHq/svpjrN2mXSrRjLqYxkhav4YQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB5421 X-OriginatorOrg: intel.com 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 > -----Original Message----- > From: Ye, MingjinX > Sent: Friday, November 11, 2022 8:04 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; stable@dpdk.org; Zhou, YidingX > ; Ye, MingjinX ; Zhang, Qi > Z ; Ferruh Yigit ; Wu, Jing= jing > ; Lu, Wenzhuo ; Li, Xiaoyun > > Subject: [PATCH v3 1/2] net/ice: fix scalar Rx path segment >=20 > CRC is stripped by the hardware in the scattered Rx path. The last buffer= is > invalid if it's packet length is zero. >=20 > This patch adds a judgment for the last buffer length to fix this issue, = it would > free the mbuf associated to the last one if the last buffer is empty. >=20 > Fixes: 6eac0b7fde95 ("net/ice: support advance Rx/Tx") > Cc: stable@dpdk.org >=20 > Signed-off-by: Mingjin Ye Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi