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 9ED30A034F; Fri, 4 Feb 2022 14:12:32 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4A97C4013F; Fri, 4 Feb 2022 14:12:32 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id E2AC740041 for ; Fri, 4 Feb 2022 14:12:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643980350; x=1675516350; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=ob5wZFiRfHrgx1KrLVphqYqa83l/NPMpsuXqjNe4q08=; b=fuecfwmpHIf7uMoAAI8X0u8XXPHcmw7FLSePbokiTmIXPnzabwPL6Qa9 /mlYCWjwpcBhE23JU+wxOy10UEXqvFE6FEE/IP89z+GBXIGYClvxxIZNR z67/sPoTOfP/dqYnUYX8fjN9Vq5wOVbtlS7GAjvXHuiUJC/iNeEYRyiVf umQvsEX/pKYsNQe5MzulqBjw9lVt53cfo3FPIlQ7/TsGBkKF4vAClI0Fa z8WeEEJWXx7L7Xe6KwzpfAMctuarQt7AKxRwNnFAKZULY0xHCf1kXGGpN FJG9Nbs3vAwbddYw+Jro2vStDeUP1r+vFt1LV1EJPKUxlNrMI3UsJg/5C g==; X-IronPort-AV: E=McAfee;i="6200,9189,10247"; a="311666625" X-IronPort-AV: E=Sophos;i="5.88,342,1635231600"; d="scan'208";a="311666625" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Feb 2022 05:12:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,342,1635231600"; d="scan'208";a="699670829" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga005.jf.intel.com with ESMTP; 04 Feb 2022 05:12:28 -0800 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Fri, 4 Feb 2022 05:12:27 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Fri, 4 Feb 2022 05:12:27 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.170) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Fri, 4 Feb 2022 05:12:27 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=feRdLff8prPDOws/hDzGp+nOmJsFiyWjjBmNsBPJgAz4WWxWO+JJyhfV2cOVDKRAdz+An8IsHwoRaWzZT5wjRnbB1YconJpik7sjbDdUlQQbbQjvPOqJkE5p0SCzqYmjH4Y46TmQfLVXwM0cGFPXdqJvZQ/oBfMgcK54bS0j2UzEr1+sfDP9jK44Q7uLm1pcCXO8gCHI/ErqaG//GF7fD/sR33YHURbY/NDujprFE6k9AAj152cbPrvh0Jw4GbVWZeQaEiiG+a1M9zqQOsBYCtBctFzlrUx36nhV/RqgEInYdpvpfHZQMkyQcvJYSi4eSCvD+bYcK1j2vYM04Ju/pA== 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=J25b2S01l6DWnajwHOQi1dqfEE8SvKk6p7bfKBef9pg=; b=Trivs4mrPvpdXpvLQNorMo7oIRJrq6iosvrww6dYCOJrDYI2Asp2l2vIpeL/bYEAAQRK6oZJ4XWRZb4FGMafafEttnulEvNQyHI2l3N0FpHIQ+nSaADWRSMNH118xhArGGqs6iprQvoTMXKOToQ00+zQRZRvgM59r+RYWImfT7/Tx2RYiQf8TQ7OhFGWn4QCr19rmydTXZYKYmtIz2IFVbAXufyYeQNnpMES2mcezE0uFqnG19fPjGsHoB9UrV3she8odUc/cveP33H+BuC02E4fZcfNnM4uUoVYvySa/iYWmPSFjIXyTWCU9CrQvJMcH6jjMBzyns7ywLtTdh/l/A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by BYAPR11MB3784.namprd11.prod.outlook.com (2603:10b6:a03:fe::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4930.17; Fri, 4 Feb 2022 13:12:25 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::5046:8550:928d:850e]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::5046:8550:928d:850e%7]) with mapi id 15.20.4951.012; Fri, 4 Feb 2022 13:12:25 +0000 Message-ID: <8c4c0d50-d1c2-83ed-3058-bff53c08b185@intel.com> Date: Fri, 4 Feb 2022 13:12:18 +0000 Subject: Re: [PATCH v6 2/2] app/testpmd: enable L4 SW csum over multi segments Content-Language: en-US To: Xiaoyun Li , , , , , , , CC: , Sunil Pai G References: <20211015051306.320328-1-xiaoyun.li@intel.com> <20220124122857.1104668-1-xiaoyun.li@intel.com> <20220124122857.1104668-3-xiaoyun.li@intel.com> From: Ferruh Yigit X-User: ferruhy In-Reply-To: <20220124122857.1104668-3-xiaoyun.li@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0474.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a2::30) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5a42822e-7e64-4fbf-0410-08d9e7dffc9b X-MS-TrafficTypeDiagnostic: BYAPR11MB3784:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2803; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +I8a6FhctleHbgKkoFc4k2ancZYhkJxbw3w/tsHQ/bIJC4tazCejmZewyhaL70U6mzCPQnyxivSIQNYqVxUuRt199t7WDbBvxHrMHY3VXny/sMFznA2NyNHFy++/yYMt1PkgIqy07aKqjPbBQd87a0oyD4pUsGF9xGiJyPlNv81YoFUzcuB9Lee7cZf5+5Wxw4BjKzpuQdQObs/14AOXRmZzwFlW92+xudanFPPLZqI6FVQh96y9jJNIbNDEohxBSGu93CXOOQZ1dowTtjHnuyaN7NPKvDcxzxrYVbc7dr40BMLXUF28pMv2xsfg1nXwBe5cPwtOJT5udPI78aDbq53Jdv4br9rQe7BaDAm4eKDIYU1HvAoiXAgPZChLiSiP70WFk4a38sSaJoNkzXGg6YVfPJ3gFIFf6RinZNgD3J1s5v1bKqchnmSkgH+5brl6pEW3A+7czX3/uAuZfWccaPVZtyuoHN022lef5DdckrspiuhT3sudAD9Wh++jZnbu6QdqY4EC0iQDB6YP/67jLQxFkcc7mkZt9otBL7daw5Uu8MFi8TyExC+7xY7FrR+G4qv7HoToxS/8jg+pSzYCphAQD7907vL4S9di4cbSZwdrOArETECh+GVVI7NF/qci3bJmyIC1DdyhYFvlxGhZfX+9gw71i9PfzNzk7Fyh2IzMC5pM5Q3uiVtPrL5my52y7Eks1Zr8d4O26V1UiRMcEg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(6636002)(8936002)(8676002)(36756003)(66476007)(4326008)(66946007)(6486002)(31696002)(316002)(66556008)(2906002)(6512007)(508600001)(86362001)(6666004)(53546011)(55236004)(6506007)(5660300002)(186003)(82960400001)(2616005)(26005)(4744005)(44832011)(31686004)(107886003)(38100700002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?a3J5OERWRnA0NE43OE1KSVo3NVZMdzhPVjBSMmlUTHRxOGRjcG9RYW8zWERt?= =?utf-8?B?RGovZVRnQ0tXRzIwYmQ3WUFmbUtIdFJOaUNLL3ozREFZVVd6aFQ1ak5uZll1?= =?utf-8?B?QmUrSTczaVJJWG5SL2E4eHljc2t3UENSQS9neGZoOXl1R0VPTTdGK2gzRmR2?= =?utf-8?B?RjQ0RzRWNDZmRlpORVlqd1Q0N3VZSkdqT0t6ZXQ4UHVTSTdJdUJtTmh6RkRF?= =?utf-8?B?blRsMVh1NU8zajUvUTJJM21waE53Z01YNUFOOUhhaUgrdnFCVmlEeUtGaTEv?= =?utf-8?B?ckljdFhJaWhQQU5Ta3JacXJxbVBNZk5kTVpmZkJBd3d3OWt3OFZPNlpabWVy?= =?utf-8?B?a3U3RWxqay9jdmtRM3JLUnBaWFUwUWl6eW1VRUNMZFkxOUw1SmdRTEthRG90?= =?utf-8?B?WGdjSHVjYlhEU2dqT0l0NSt2b1BKMmFWVEU2K3hBcVdESzNDVVpPVjdaU0tM?= =?utf-8?B?QjJTdn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L?= =?utf-8?B?T1djKzliT0k3ZERiSnh2ODNaVVdoL245Y2Z4QlRJcmh5SVVMZC9UUHFaN25a?= =?utf-8?B?Q3hoMnVwWTNhaEtCaDBza0dUMVpEdkRkY3I0OTVCd1g2WFBoYURma3lTUzFs?= =?utf-8?B?SW1LSUh6VTVlMHBKSUZoOWw4Uko2dld5Q3hqNU1oTEZZUitXSzdENS9NVll0?= =?utf-8?B?bFdRTG03S0VjOURQWUhVakV4SWwybVNmc2dMOUZGL0pRakF0aHFvcEU1UTRH?= =?utf-8?B?bTJoUThJUG0rZGV4TUZabDNsQmtieTJRdGgwOVhENm1lRHBIVGxucW1NWFdz?= =?utf-8?B?UE0vU0RRUTRRemVIYldaQ2tzZnFIVmZlQ2tUTnBLdFpsWXZkY3c4YWR6dm5H?= =?utf-8?B?a3BHdGVOSjdENStmd3NGZFRleDFEZjZZL2J0dU93Rk8zNGxqRDR4U2pWbFJx?= =?utf-8?B?MTFhRlMzczdFK0pLcUZwNnVCaGJybU92VC9SajJSRFJrL1FBa1dLWmdoVmJZ?= =?utf-8?B?alVuWjc4MXpTZDFreGxYdWVsaDJKMjAwdlUyUERHWm4xNDRxaGhZZHJtdHFP?= =?utf-8?B?VTlPSEdvSkZmTjVVN0pVWnFyRDBNK1VLbTE0Y3VtOFFlODRSSTBqaDRyZEVk?= =?utf-8?B?c2JvZ3FnaVpwVmcxTTRRYXBlRlE5c2RLYnlER2x5WjNINVJVT3N4Q3ltVmV5?= =?utf-8?B?RXJTaHVvalBuU2RkMis4UTFLSitDaTlpVDNCY3hqdEs1MGpqbFZTOVJxRkw3?= =?utf-8?B?QmxWOWYvTTFSam9wMWFueHRIOXN4a3J5QnpNRnpPMTdBTm9NZjE4MGkxdHZa?= =?utf-8?Q?qhz/N+xFGyKrMR8TUhFcTsM=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 5a42822e-7e64-4fbf-0410-08d9e7dffc9b X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Feb 2022 13:12:25.5125 (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: CF/83xk656VkX9nctCx2TOhcBl36GyNAiBLwMXSbfjqewPTvVREzEawNE8S0SnDrvv85sb6y4HoJJbNiB3ZW0A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3784 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 On 1/24/2022 12:28 PM, Xiaoyun Li wrote: > Csum forwarding mode only supports software UDP/TCP csum calculation > for single segment packets when hardware offload is not enabled. > This patch enables software UDP/TCP csum calculation over multiple > segments. > > Signed-off-by: Xiaoyun Li > Tested-by: Sunil Pai G Acked-by: Ferruh Yigit