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 BF48A43BE7; Mon, 26 Feb 2024 11:43:52 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 91D5B402C8; Mon, 26 Feb 2024 11:43:52 +0100 (CET) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2076.outbound.protection.outlook.com [40.107.92.76]) by mails.dpdk.org (Postfix) with ESMTP id A4AD040144; Mon, 26 Feb 2024 11:43:50 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jF+byQPZ1ldpM80ziGYC9kHhYTgeiVdgjge9NVoyfxw0ynE0O7EnixryyiS+7RgOkJbFW1K3FKHIdiGbeskQSy1EvkhOhstj0nVo58gK1ywG4eAKDVwBEs8AA/uvgvyIspHsAFQk7gLRqFhIzf3T+yHNopAgGt8j093c8IqMGe4KSD0W3dGJ+nZsuG5MFe6yuZDgm+xQqq6fzBaKILJWl1Rn+wtt6oOdQ9kpX7ciN+3PTan/sslK14BAfs8qmz1qpCWavMNwd/7TpKRojTGLiGf19sWp5sL1GKS+SbplrmW7W2i30Tz8X2ZzL72ggNTQP+tv2U/J0Qjb9MegPN352w== 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=VH5xyRPe0z8JQSTjsD9wpe8z0aJuayvWoCjzMh2IyP0=; b=ebdDnAmZOKcGoA+2PnNlqDzDC1ZRG3xSAsNVbUBHuWyWpvNZZ4Jf31dy7EXuP4gNXJkzBfmgDw6uoWz9/L0ickuEjZZGhXM8GjiP1o1g2KYabBK/grDZOHhgdcm3m7u2BY+6DNMHo5Hfe6BQIch3wJOP5496a3h5C0eSJAghyZwOK05HrbuIdVRBrm0jT4DG02DrE+9R+eBaCZrEM9l4iD8VycMnj0Mafq3eQioJ/dPSb0FMcdsnutRFHgpG3+fR+qts69hEkEBjK4gcH1ZyFJ1NgFksGRIIdIF4j3NTRlEaN31EtrSFZuhcQqTEn7mG8ErXT+4LqjZVzWuzmXvV4w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VH5xyRPe0z8JQSTjsD9wpe8z0aJuayvWoCjzMh2IyP0=; b=qHw+G5stDprZQVFnX6qySlaCifMUk+82kpm8IrrlaCxJVDUso16DpFY5zckEyWMbFSaWUDsUvggE3LUbBylRm+ih8MxEDdKDfU22BaqCWG9rq6Gwzd1NTIaIgfyE4xXuwJfD9ychEWbSSohVAtpHWAJr5+H07gPyZKMPBM/yLpc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by IA1PR12MB7640.namprd12.prod.outlook.com (2603:10b6:208:424::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.34; Mon, 26 Feb 2024 10:43:49 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3ec7:6339:1c14:c529]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3ec7:6339:1c14:c529%5]) with mapi id 15.20.7316.035; Mon, 26 Feb 2024 10:43:48 +0000 Message-ID: <70da6aad-c569-4344-aa34-1ae11aa18b7d@amd.com> Date: Mon, 26 Feb 2024 10:43:45 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1] app/testpmd : return if no packets in GRO heavy weight mode Content-Language: en-US To: Kumara Parameshwaran Cc: dev@dpdk.org, stable@dpdk.org References: <20240225061636.389218-1-kumaraparamesh92@gmail.com> From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yCZnCDseum CoudmGLZVvS0/DzHDJejq+3kK3FDGktZBOxZIIpal+nFqS7lVgOZc4+huVv3jyhzoAUOEyXA XK5j6o7g8STUY+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWWln aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAIZARYhBEm7aYjps5XGsPHCElRTPtCKKm/6BQJkdyEEBQkE3meNAAoJEFRTPtCK Km/6UdcP/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NxKuyO 8Zk= In-Reply-To: <20240225061636.389218-1-kumaraparamesh92@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0248.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8a::20) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|IA1PR12MB7640:EE_ X-MS-Office365-Filtering-Correlation-Id: d53a6d97-f529-4891-3473-08dc36b7d08d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0VbTyABSNoCxCGpmfaxzr2lpsloazisRZcbZl33LuUlyh8JDRtaqIXmSvZjKo+Ijr3DrlviaOlbKMLZTaDnzq04JI9ewX7UU5bw6FeT9pv4/tr5wnwAJUUwehAH10T/+ugS4RQqb1tfBPelgMASohgIqjncXrZa01AATA1NEsEAt1csJPK9fRTcZqkSM0deRrERnbdtxrOxU+aLN299CSmCtBqD/0MlUgu3o0IiMudLC5QSijGYOXzBS2PaRmgjxroXUz2URjp4y2G3jcV1cFKeW/exV7PalAP5l4bWMeaj2XsDbnIHgs+jMBW1knWEEzTpF3xxuxaR/54HWd7oeDl354fy7DbVX51LHvZUm/3rhDYXZA0ypE4419ykCk8wMb0jIbXzGAlri5Tko/M0bXqOIJcweGC8ExLLKlODr6ipViH1x3pcUuM4WjHysQLxc1GE7jgddcoSjxnHZ1X5qJoLwSDmZHP1RggPK8/GRNj3sSe9Gbwb5hGcCjAECcg3u+w1ogtc0fglLHXLMw7BPcV+zNPKk2DA8TU3+zjiksuknZ1n1DDcj4InOV6vHLERDwh4+PnU7xoUuClPisBcSNm7ySE6pmspvtmy9ZghrXRayf0PaDLgmrKf9ddxRftapOuIyrs28oGbpUfHqp8H71g== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bTBxVmVLRGFmV0M3c2d6ZFBtQ3BMajhGNCtsaTMwSUJSSXpXS3hSMFN6bXRn?= =?utf-8?B?Q2YzTG9rOVhXKzZSVFF4eXk5bFY2cG85U3lMaFUyRkordVhaQ3VvdExtN2Ra?= =?utf-8?B?bG9VQkl3VGRHQjdVa1NWMUNOMDVUMExiMVpDaUFxeG5JVjlMQ3ZLd1JjRElu?= =?utf-8?B?ZFBTdXVzR0VyL2N0RFd3YytVMW1qMzJSTUlNS1VVK3JWZ2pyTnB0N2sxaElS?= =?utf-8?B?dlRESXBlZWlpSmpOK3d2cWQwYzhKalNYci9VcWdoT0lYVGtWT2lySEFSV25q?= =?utf-8?B?ditoeHlWQ1hqSlVacGhKazlWSnpScEFJWkM4U1hyNHJKQ0ZGZFczaXFrTmZz?= =?utf-8?B?ZTZ1Q1JEMCt5dGpESmZTU2VjelVyT1NyN0MrZDJhdnh0WkxwaTJuc2ZTZmtU?= =?utf-8?B?SUNJM0lkWDN6NVdjN1lMd2w2TjB1Z2ZMdDd1T0FYUlZOUlpFVFhOaHFrelFO?= =?utf-8?B?eVBwWFdnWVN1WE1VYTNyVktBV0JHSmhIVGFwN1VPZGVIekMvaFpma0t3cnk2?= =?utf-8?B?UytMbHlpcWlmMUtVR3MwQVZzdktaRDRpbFEvL2t5L0s4YytuY3I0RjVKT0Iz?= =?utf-8?B?NmJ1TUxWSGNnckVOTFBrdG9EOVFtQnUxKzErdndWYzh3a2t2THFrbUdjLzA3?= =?utf-8?B?K2pYTm9hZitUU0s4bmR2L3djZHN4dGpEaDNtM1E5bFdWS0dxSVRnZWJpOUFs?= =?utf-8?B?V1ZqMkE5Y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Zn?= =?utf-8?B?cUtOdWVBSWpJdGpGNkVGWFhNd2NHL2p3WGJzK3I2TS94c0wwZVNyOFJYcGxX?= =?utf-8?B?aFBxNFYveVpMem1qcnVUUU9XTUVtdTZvNEp4L24yNUg1VkRQZnRPelQyWnJJ?= =?utf-8?B?N0VLaEI1YWJFMU1sRXJEaEtKZ1A4RHhjaFpBcmhUYldRZ0pnOHAyNXdZSW9D?= =?utf-8?B?NkxwRjFTU040dDJjWUpLeFJtbXFDdHhpeVR1U3VUanV3MXhVeWNOYXY0aTZT?= =?utf-8?B?VHNIQUw2eC9FdDRTWGRzV2dtRXJnazhDVitFYVFSNGZydUp6NUJwdE9DbnFa?= =?utf-8?B?cklKclUyUENCak9WSDVEbmdBRWtMWXVuNFpmRit2MFIyRy9DeW1lME43L2ZE?= =?utf-8?B?aWg4MGZuckJ6SFdkdW5zakNwRVhyK0xqa09lZDRnVnZTTk5NSWtrekp1TUdU?= =?utf-8?B?UTQ1UkpDODNDR0dPUmZxY3ZKY21mN3J1cktIOGpWNCtEMUFWT1M1L1A0N2Vw?= =?utf-8?Q?ZPxntq8DUCCskoyfgeS6D7rNQ?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: d53a6d97-f529-4891-3473-08dc36b7d08d X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Feb 2024 10:43:48.8926 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: EBj/2Mv6RtoqJY67Haabo5iFx/6petv64Rp7bBAafK8tHcHkbgpkHEVx+YbAZBfG X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB7640 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 On 2/25/2024 6:16 AM, Kumara Parameshwaran wrote: > If there are no packets flushed in GRO heavy weight mode, > return false as this fall through code would return true > indicating that packets are available > > Fixes: 461c287ab553 ("app/testpmd: fix GRO packets flush on timeout") > Cc: stable@dpdk.org > > Signed-off-by: Kumara Parameshwaran > Reviewed-by: Ferruh Yigit Applied to dpdk-next-net/main, thanks.