From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0059.outbound.protection.outlook.com [104.47.38.59]) by dpdk.org (Postfix) with ESMTP id 8D3D669D4 for ; Fri, 14 Sep 2018 05:06:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9bk3j5924saK+cwlIy2sV1446XRFHZ74smZRocC+GCE=; b=Ml2wUp62OOhU3dOoRas9bfh4axJ6IEmJMK09vrtCOvZJy91sYI28eaSNP3rJLNLBahGifmHNre9N+lMKLDHM/0jOFBzwHT17fyMbtkUkGhDloje8gRgfpOZ2/vp+CfA3/Sm7vENU5QaTHucU3khJ/w/4D6+mL9QJNE29CSbs86U= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (122.178.212.30) by BL0PR07MB4994.namprd07.prod.outlook.com (2603:10b6:208:49::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.15; Fri, 14 Sep 2018 03:05:58 +0000 Date: Fri, 14 Sep 2018 08:35:43 +0530 From: Jerin Jacob To: Shahaf Shuler Cc: Wenzhuo Lu , Jingjing Wu , Bernard Iremonger , John McNamara , Marko Kovacevic , Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko , Olivier Matz , "dev@dpdk.org" Message-ID: <20180914030541.GA3822@jerin> References: <20180913134707.23698-1-jerin.jacob@caviumnetworks.com> <20180913134707.23698-3-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Originating-IP: [122.178.212.30] X-ClientProxiedBy: SG2PR04CA0150.apcprd04.prod.outlook.com (2603:1096:3:16::34) To BL0PR07MB4994.namprd07.prod.outlook.com (2603:10b6:208:49::23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c455bc3f-04b0-49b8-a8ba-08d619ef0117 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:BL0PR07MB4994; X-Microsoft-Exchange-Diagnostics: 1; BL0PR07MB4994; 3:fhqHThKL71dM6tkj8dGvx0r1BUC30n381RbIf8S1nCKFpVheDNKktKBZDWQOsDTHKeGuSLWHklsDtdvpEUHa4iCHgtthSjgO5ybctJ1g4iw74SbWUIKU/km+rdc0AtVZGpmHfs1yEGhHhxVsQhmk7CdXsdC8vooDW4o+HEHEX+KY5FVnviE0+E0lfsU8i0jUriaJzHzqf9yJRLRQypDxjJ1Zqpq2O2x2cANxq2UpzjG3XKS10KSkN3BFipS138LL; 25:clX/JQk9Kew7OTg/vapXpC20QGeImCXgoWbA7G3Gup0H0vTOVt/Lclw1+YKKiB8kx+GL3R64aWvH/Zpq3WyDT5VS4OmR5ksyX01+O7mQW3nnEucWKWLu0oZJOtrWr1B4lR3tLxZx9RVYRkkd+HxGZqUsDejn9TU2L9PSr+gsUrqcPr3ssHsSsRwUVdRpXqIBG/nrmKJ/NYoi++NI0bIGmBRxmGu87hboahAT3FiL9C09pDDbneHKq/pu63ePGKssoVwMRjc1Nzs65dSt+NVURXaAYwQKdM4SsarFcGoHZ0tHxylkWFiaDpmUEFxlT+e7MZPQTzdATQP01tj1q1iocQ==; 31:qQLaerq1tXemDD0frX8/VhKflCynYUHyZgGSPNFDnwB5auA6Kw+96iNBSWFi+MNv0gqqqudPLM0D2L8Qh0WbL+jvPLvq7CTRnzWhNGUTIQGIKD+jNBbqTDZOeEctxKK+ghxREGy8VBosvXYZRkO7XKpyaxWvqxZSGH5d4W1fMYc5jV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ol/KvJzQW X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(3231311)(944501410)(52105095)(10201501046)(3002001)(149027)(150027)(6041310)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(201708071742011)(7699050); SRVR:BL0PR07MB4994; BCL:0; PCL:0; RULEID:; SRVR:BL0PR07MB4994; X-Forefront-PRVS: 07954CC105 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(376002)(396003)(39860400002)(366004)(136003)(189003)(199004)(13464003)(486006)(476003)(25786009)(44832011)(14444005)(33716001)(16526019)(186003)(7416002)(6246003)(42882007)(6116002)(72206003)(66066001)(956004)(7736002)(47776003)(3846002)(386003)(478600001)(26005)(305945005)(1076002)(9686003)(8936002)(23726003)(106356001)(8676002)(16586007)(54906003)(316002)(81166006)(53936002)(33896004)(58126008)(33656002)(6666003)(55016002)(76176011)(11346002)(6496006)(105586002)(50466002)(81156014)(5660300001)(68736007)(2906002)(4326008)(6916009)(97736004)(446003)(229853002)(52116002)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BL0PR07MB4994; H:jerin; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BL0PR07MB4994; 23:mQO4oe9FUNmJ3r48TdJrpINI6DtTxyFwHcdbpkayQ?= =?us-ascii?Q?vmytbD6eQ6QScXoVVxt9RqYhfVvT+6qIDGTUA2Ho93Ljn+mjZ2Dkgvw0xqGX?= =?us-ascii?Q?N0qsHa0vY4WiprBPB9CYVIJmRp9CUm+9znaUebvAKkecmjoUloxT5a80m2qj?= =?us-ascii?Q?2RSPlgHZpK6UncDqC2A5vCV6gXqiAw83NXEREIjhwG2AXeexc6mUWEA4CHXU?= =?us-ascii?Q?xjTlgFDMMVQlLjMK1+7nBahKeNFQ74eZkYmNuA1oSUfCMVOMH7OJFVSgE+JG?= =?us-ascii?Q?36tLUdJkeGXhPJkn9IH/gduYnMAQczt1fqUmZpB2RVwvY33hKw6/DSvWKVhV?= =?us-ascii?Q?eThola5dcbBCDJrtqNbH2/qcPK0oNe1uODu326oPBVdPrBvSmh+oe3N7zpOT?= =?us-ascii?Q?2k0VyqHOVGKQVin5P6oz6uSXqI4R/P5CvWSkaW0udiadaHWuvm7f0sb1KCty?= =?us-ascii?Q?VN2S00MpnAjOrVneeKzvs7PQzvovndhZRxx28fwbgm5M0Iwp93OS/Y94kp8G?= =?us-ascii?Q?j3OrByCY4uCKrd3KStfsk3mCNAe17h4s3YFCSAibGMyv1Q9h/bw+IO+faNwK?= =?us-ascii?Q?07SX5aT5Al2TwNwORadt8VZpKqBKqNtINttMmTXKSekfPLTGaRmBGn6VK59/?= =?us-ascii?Q?jsb476egA/r3ut+0JBR7maygiOYV//sjjt/FbHkdysuFrWcwml9s5+tztnzP?= =?us-ascii?Q?RzpK6N38MqlAhD1JK+9hh5srFp7UhJFg5lxPBue4uVTig14JNiJuS+dk6579?= =?us-ascii?Q?fHGKJHU52w0UnUVmiQtk9XWgdR6pJzVmM5P+y7aVn1wg9fmPl2cVZVYtFliU?= =?us-ascii?Q?P8YsaJ1W63CKmG0ZARJXwn8QsVU91HHzhOW86MAXyVXgCMCitvwEVRsGDRhv?= =?us-ascii?Q?ZIqDZHtQ6ZA1bx2SLeqNWxyRkC6G+2FCrBVeiNQftEQ4gchgziGXKEf64UX2?= =?us-ascii?Q?zV9l3p30kq6Va+3mipm5D6CIfUkORFj57QH6ykYAxpIjXrnu0T84MPnFWp7n?= =?us-ascii?Q?PVbB7CqPsZmV23D792+ytBF3w8O3VX/5HVREH+6QKGbOh1xaZCEwjGO/NN5X?= =?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eRixxkSDw8BkfYtp1C7p8J+4goEko2Zkgsd0bssV9rUVuHYm3lHMYvfNAW/brMrzps1fWpWGnKKUjATUIGJtJjKGYIo6KuJxgTb5cwqkViYZqMXXwC17IEAcqY5v/BuKolkdtYZms9Zb8VPNp+5l706Acvu0rfnnIbv4k4zgiwxrGtiIA+gZ9o4oeOpK/QXiOBsMZLsZpxFKbqjo92CWVMoj70HHPH0nrmXB6yQ==; 5:egyroHCzKpA/H7iJKADL2YTWNag3p4yyVcZH96at8Tlj0V26FoI40t2IHJWzpxB+er9eIv006YTUNwNGO5+Pv90n8n71nTka0SaqyCmMvf+rfGU2wNX8u+aueggmPYEy8HXNgSFqhv1Gd7UN/dZcPJWq5U9JHJhFizuZjazXXz4=; 7:GaKZiDLoTT722PDPPxAMYyZyadCyE+5GMQHMil1jYUjVOkUQdKbDZb26GPh79Nbp8Ipl9jqEerRGZHfV5coNALOMB7Oz6kccGILmYpVk/nOAuAQJZKTfa+PHtaD3ljGTJebqFEFyKEqHI57U3TOP/r6yc64TtNpdqa2vacNxgMMnKEz5PRrhOL9CuK9y+lsQsrKhWhCfoYF3Q3FVAL3a5Cyw1LN6KaH2YYs5g49FLQyrQJgIbhxY9hVx6W88CleB SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2018 03:05:58.5084 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c455bc3f-04b0-49b8-a8ba-08d619ef0117 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR07MB4994 Subject: Re: [dpdk-dev] [PATCH 3/4] ethdev: add Rx offload outer L4 checksum definitions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Sep 2018 03:06:06 -0000 -----Original Message----- > Date: Thu, 13 Sep 2018 17:24:26 +0000 > From: Shahaf Shuler > To: Jerin Jacob , Wenzhuo Lu > , Jingjing Wu , Bernard > Iremonger , John McNamara > , Marko Kovacevic , > Thomas Monjalon , Ferruh Yigit > , Andrew Rybchenko , > Olivier Matz > CC: "dev@dpdk.org" > Subject: RE: [dpdk-dev] [PATCH 3/4] ethdev: add Rx offload outer L4 > checksum definitions > > > Thursday, September 13, 2018 4:47 PM, Jerin Jacob: > > Subject: [dpdk-dev] [PATCH 3/4] ethdev: add Rx offload outer L4 checksum > > definitions > > > > Introduced DEV_RX_OFFLOAD_OUTER_UDP_CKSUM, > > DEV_RX_OFFLOAD_OUTER_TCP_CKSUM and > > DEV_RX_OFFLOAD_OUTER_SCTP_CKSUM offload flags and > > Out of curiosity, which TCP based tunnels you target with this current patchset? I am not aware of any _popular_/_non proprietary_ protocols except SSTP for VPN. > > > > > PKT_RX_EL4_CKSUM_BAD mbuf ol_flags to enable outer Rx L4 checksum > > offload. > > > > # To use hardware Rx outer L4 checksum offload, the user needs to > > configure DEV_RX_OFFLOAD_OUTER_* offload flags in slowpath. > > > > # Driver updates the PKT_RX_EL4_CKSUM_BAD mbuf ol_flag on checksum > > failure similar to the outer L3 PKT_RX_EIP_CKSUM_BAD flag. > > > > Signed-off-by: Jerin Jacob