From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50082.outbound.protection.outlook.com [40.107.5.82]) by dpdk.org (Postfix) with ESMTP id 083015F17 for ; Thu, 13 Sep 2018 19:24:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=i/WTlIIbehCS3R9uw2Fq+alkMUgryjqZ2nxOsTnbmC0=; b=AT267iaSsTZpjT/au+9QTYYzQLuqmph6wxzZMeAONRql86tjbOeQkBNERr80EjFjwoHpo2+ZSEX1G2c5tjHOMOaxg/pOlyVop0Hr7L+KhsLZXaLyjx+ELx9JqY9ZHftG294yTZv3yvLpYtXRLsWh9Y5+Mpofhe42ORPnOnQ7wcM= Received: from DB7PR05MB4426.eurprd05.prod.outlook.com (52.134.109.15) by DB7PR05MB4283.eurprd05.prod.outlook.com (52.134.108.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.15; Thu, 13 Sep 2018 17:24:26 +0000 Received: from DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::c8e7:d9c1:5054:693b]) by DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::c8e7:d9c1:5054:693b%6]) with mapi id 15.20.1122.020; 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" Thread-Topic: [dpdk-dev] [PATCH 3/4] ethdev: add Rx offload outer L4 checksum definitions Thread-Index: AQHUS2h69tSU5CqQHUGyFYw01KoFJ6Tudfwg Date: Thu, 13 Sep 2018 17:24:26 +0000 Message-ID: References: <20180913134707.23698-1-jerin.jacob@caviumnetworks.com> <20180913134707.23698-3-jerin.jacob@caviumnetworks.com> In-Reply-To: <20180913134707.23698-3-jerin.jacob@caviumnetworks.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=shahafs@mellanox.com; x-originating-ip: [31.154.10.105] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR05MB4283; 6:76BCmBFqzgh6OT+OlPxfh+8YqnDy7dVJmQOQrb+5Z7wy2/IAtFjDK3Uh1EwyYW/FzXz57Ij3Neyd1Y5/RpKv8ilhOvxPs2CdHTRJC28JjF8/yE6hB1T+ldnkoOa5rDXvFqA123MVT0R97jkaPz5sw2+1Y/VEXTJjLw+iaztAYeN3X7S61mNL5/Kq3QswRxqdUv7Cg6fm+vwqOv+ZM5WP3dmEbBb/IKjTWXrVoRwWGE9TTdcThzoilATl3FhgMFCEVViv76vPAftW8DOksOUA1tLUlLVFQEGcLVx5O6wRT/pBKMFMljmslFaBqsY+mVp4QFovSF5X3r53XEQG1+xmgFME8hevaqahYTognmP7R5KP+nhk5h2w8MdxTXaB3jyG1JR85zvPtQaf89TWWhwlh6O7TESX3QLrMyucO+gN95sPR7yq9e/fhE9a8lwKe1HPbasrfXCPRX04k1/aaqUSpw==; 5:Mh2h2AAmMceQPikDb0wfyuBTsiHZjxQERmazliC+8EcbUDHgQRkkVp0dNaNDWPdhlxzsLuj9smt4Prv8vyN7Xldy48BGMECZ35otWwt+mir5yRADjqM7lSg6Rp08h4TLy71osNHf3z9NRtDCm0/5f+++W4T4NCEiYWebVzVdcVk=; 7:5Q4hIG5G843sNaOcW6pa4IdjU4vtKxjW0m8EsW/R7/iSkJYAgpiKmb0Lz4dfR0L0AxwZ8+NizHArhspEmLtJzG8NOBCaG/S4fUTjsaQCaybQiYyGD2XPNe9vkxjt127hv1AQXB+HmzO8CS7HSyXK1jMffUGPoR1KbbuFi8maUv9AjvlPjChbDnUrCi/8YL3Iled5fxv7kcmO7NQ/Fe7fKktsh8UCrVK49GR7wXoWC0NR01zr4eEkFL155eYm89ys x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: f32131a8-8024-44f6-0699-08d6199dc13e x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DB7PR05MB4283; x-ms-traffictypediagnostic: DB7PR05MB4283: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(3231311)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201708071742011)(7699050); SRVR:DB7PR05MB4283; BCL:0; PCL:0; RULEID:; SRVR:DB7PR05MB4283; x-forefront-prvs: 07943272E1 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(366004)(39860400002)(136003)(396003)(199004)(189003)(186003)(4326008)(486006)(68736007)(11346002)(81166006)(26005)(446003)(229853002)(7416002)(316002)(476003)(97736004)(8936002)(110136005)(2900100001)(33656002)(86362001)(5660300001)(25786009)(6246003)(74316002)(7696005)(7736002)(76176011)(81156014)(3846002)(53936002)(6436002)(478600001)(2906002)(305945005)(55016002)(14454004)(6116002)(9686003)(99286004)(66066001)(106356001)(5250100002)(105586002)(14444005)(6506007)(102836004)(256004)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB4283; H:DB7PR05MB4426.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: sXWbrSoVVX3vFiOr5q9aCLEynN6eC0NUv3QJEfmSa/Y183vPEccO3K1Xnha6WhB8s8u+kXs+FtCw5hSTbsKz6u67mJ1ioKgs60Y7LqiU5WQDeJS596faluTfktU+nnxloItxiHesOtqcDdO5kGkRhA0QUeeSSWbwoKurGZOkECQN8sPthD2SMauF6BO9gon6+1u0l1BYSn7TolarX1AdF0mwuk2s2rqL8Ur2O7R/a0IUVF91urOZJXqu724c2StyCKdgrKvoRQnKdBVVQ2zORSVfGzAdN5Quwjb+BtYUoLGSGwVtWWTjhYBxyIak80qjOwzd4rjm7BIvC6NRIlm6RjpXVS2vGNqfN+CZAocib+U= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: f32131a8-8024-44f6-0699-08d6199dc13e X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Sep 2018 17:24:26.0209 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB4283 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: Thu, 13 Sep 2018 17:24:28 -0000 Thursday, September 13, 2018 4:47 PM, Jerin Jacob: > Subject: [dpdk-dev] [PATCH 3/4] ethdev: add Rx offload outer L4 checksum > definitions >=20 > 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 patc= hset?=20 >=20 > PKT_RX_EL4_CKSUM_BAD mbuf ol_flags to enable outer Rx L4 checksum > offload. >=20 > # To use hardware Rx outer L4 checksum offload, the user needs to > configure DEV_RX_OFFLOAD_OUTER_* offload flags in slowpath. >=20 > # 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. >=20 > Signed-off-by: Jerin Jacob