From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80048.outbound.protection.outlook.com [40.107.8.48]) by dpdk.org (Postfix) with ESMTP id D205C1B137 for ; Fri, 12 Apr 2019 14:29:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aGieuQ/eFrImJ26AiWHOknyOAdLyF4RtuoZnQZPjcrk=; b=tKVAqi8/fwWWcAsOiaLmXPzgZuvmrHR+l4cQgtkRF1YRNUbhohtcxyPVcYlux6o2NjSr4cUnCZGOMTAsaS5F9/B/y8bQF4wdFAPrsERfPRqeR+59Qbd1vwhA8ULwI/V3+WORbYzqNGAm2M6ydLbkvjQKoiGTuOCC8Xj0s6H4kMU= Received: from VE1PR04MB6365.eurprd04.prod.outlook.com (10.255.118.78) by VE1PR04MB6702.eurprd04.prod.outlook.com (20.179.235.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.17; Fri, 12 Apr 2019 12:29:10 +0000 Received: from VE1PR04MB6365.eurprd04.prod.outlook.com ([fe80::f5ad:f178:4c55:13e0]) by VE1PR04MB6365.eurprd04.prod.outlook.com ([fe80::f5ad:f178:4c55:13e0%3]) with mapi id 15.20.1792.016; Fri, 12 Apr 2019 12:29:10 +0000 From: Gagandeep Singh To: "dev@dpdk.org" , "ferruh.yigit@intel.com" CC: Gagandeep Singh Thread-Topic: [PATCH v4 12/13] net/enetc: enable Rx checksum offload validation Thread-Index: AQHU8StUu60wbw44aUOAJLkc4GVsYw== Date: Fri, 12 Apr 2019 12:29:10 +0000 Message-ID: <20190412122840.1908-13-g.singh@nxp.com> References: <20190412105105.24351-1-g.singh@nxp.com> <20190412122840.1908-1-g.singh@nxp.com> In-Reply-To: <20190412122840.1908-1-g.singh@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BMXPR01CA0029.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:c::15) To VE1PR04MB6365.eurprd04.prod.outlook.com (2603:10a6:803:12a::14) x-mailer: git-send-email 2.19.1 authentication-results: spf=none (sender IP is ) smtp.mailfrom=G.Singh@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [92.120.0.8] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 30cac4ec-376f-4137-27e0-08d6bf4276aa x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:VE1PR04MB6702; x-ms-traffictypediagnostic: VE1PR04MB6702: x-microsoft-antispam-prvs: x-forefront-prvs: 0005B05917 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(396003)(376002)(366004)(39860400002)(346002)(199004)(189003)(476003)(102836004)(97736004)(2616005)(5660300002)(52116002)(6486002)(76176011)(36756003)(11346002)(486006)(446003)(26005)(6506007)(386003)(256004)(14444005)(186003)(2906002)(4326008)(8936002)(50226002)(3846002)(14454004)(53936002)(86362001)(105586002)(478600001)(66066001)(106356001)(6116002)(1076003)(72206003)(81166006)(316002)(110136005)(81156014)(68736007)(25786009)(305945005)(7736002)(99286004)(2501003)(8676002)(71190400001)(71200400001)(6436002)(6512007); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6702; H:VE1PR04MB6365.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: i1pLl38VICBvCcY3Lao2EmciNuTVBOC3fPQXENotKMtAeUWCb7rwNjm1RpI8nfoGKBqa4mhfqvq1lMVOGMBdFAS374yfUcDNY5lDxdDwq3U9GFcf3g/PyqaZHQ476rgwhHwiE48RXAPjSKo0OlPkX5Tt8xBTkjmVpcSyBuUi5/qekhYVT66OpCBy3cpOgybTq7fZk2Wy5fT7wzh+HnquuD81GCO0W+tdV34sQlAix1u1zhEGMN9UnkUWEutPeCMW1OIk8uUILnjJrggXT2ZF5SWSYajKby55t7gVlYCziT56QWGt0vdgJKj3zsa0/ZSPw9AKuZXx4EThQA14O4QeHWuFa2PpONZuxAjJyzZa2JZk9n48p12jGJu3QFUOvkHFt+SklU8/2zmupgjiR1ulHWSRLqzTm8jY04W0noRHEIg= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 30cac4ec-376f-4137-27e0-08d6bf4276aa X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2019 12:29:10.2856 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6702 Subject: [dpdk-dev] [PATCH v4 12/13] net/enetc: enable Rx checksum offload validation 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, 12 Apr 2019 12:29:12 -0000 Q2hlY2tzdW0gVmFsaWRhdGlvbiBvbiBSeCBpcyBzdXBwb3J0ZWQuDQoNClNpZ25lZC1vZmYtYnk6 IEdhZ2FuZGVlcCBTaW5naCA8Zy5zaW5naEBueHAuY29tPg0KLS0tDQogZG9jL2d1aWRlcy9uaWNz L2ZlYXR1cmVzL2VuZXRjLmluaSB8ICAgMiAr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YnJlYWs7DQorCQlyZXR1cm47DQog CWNhc2UgRU5FVENfUEtUX1RZUEVfSVBWNl9TQ1RQOg0KIAkJbS0+cGFja2V0X3R5cGUgPSBSVEVf UFRZUEVfTDJfRVRIRVIgfA0KIAkJCQkgUlRFX1BUWVBFX0wzX0lQVjYgfA0KIAkJCQkgUlRFX1BU WVBFX0w0X1NDVFA7DQotCQlicmVhazsNCisJCXJldHVybjsNCiAJY2FzZSBFTkVUQ19QS1RfVFlQ RV9JUFY0X0lDTVA6DQogCQltLT5wYWNrZXRfdHlwZSA9IFJURV9QVFlQRV9MMl9FVEhFUiB8DQog CQkJCSBSVEVfUFRZUEVfTDNfSVBWNCB8DQogCQkJCSBSVEVfUFRZUEVfTDRfSUNNUDsNCi0JCWJy ZWFrOw0KKwkJcmV0dXJuOw0KIAljYXNlIEVORVRDX1BLVF9UWVBFX0lQVjZfSUNNUDoNCiAJCW0t PnBhY2tldF90eXBlID0gUlRFX1BUWVBFX0wyX0VUSEVSIHwNCiAJCQkJIFJURV9QVFlQRV9MM19J UFY2IHwNCiAJCQkJIFJURV9QVFlQRV9MNF9JQ01QOw0KLQkJYnJlYWs7DQorCQlyZXR1cm47DQog CS8qIE1vcmUgc3dpdGNoIGNhc2VzIGNhbiBiZSBhZGRlZCAqLw0KIAlkZWZhdWx0Og0KLQkJbS0+ cGFja2V0X3R5cGUgPSBSVEVfUFRZUEVfVU5LTk9XTjsNCisJCWVuZXRjX3Nsb3dfcGFyc2luZyht LCBwYXJzZV9yZXN1bHRzKTsNCiAJfQ0KKw0KIH0NCiANCiBzdGF0aWMgaW50DQotLSANCjIuMTku MQ0KDQo= From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id EA803A0096 for ; Fri, 12 Apr 2019 14:31:20 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B98F31B296; Fri, 12 Apr 2019 14:29:51 +0200 (CEST) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80048.outbound.protection.outlook.com [40.107.8.48]) by dpdk.org (Postfix) with ESMTP id D205C1B137 for ; Fri, 12 Apr 2019 14:29:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aGieuQ/eFrImJ26AiWHOknyOAdLyF4RtuoZnQZPjcrk=; b=tKVAqi8/fwWWcAsOiaLmXPzgZuvmrHR+l4cQgtkRF1YRNUbhohtcxyPVcYlux6o2NjSr4cUnCZGOMTAsaS5F9/B/y8bQF4wdFAPrsERfPRqeR+59Qbd1vwhA8ULwI/V3+WORbYzqNGAm2M6ydLbkvjQKoiGTuOCC8Xj0s6H4kMU= Received: from VE1PR04MB6365.eurprd04.prod.outlook.com (10.255.118.78) by VE1PR04MB6702.eurprd04.prod.outlook.com (20.179.235.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.17; Fri, 12 Apr 2019 12:29:10 +0000 Received: from VE1PR04MB6365.eurprd04.prod.outlook.com ([fe80::f5ad:f178:4c55:13e0]) by VE1PR04MB6365.eurprd04.prod.outlook.com ([fe80::f5ad:f178:4c55:13e0%3]) with mapi id 15.20.1792.016; Fri, 12 Apr 2019 12:29:10 +0000 From: Gagandeep Singh To: "dev@dpdk.org" , "ferruh.yigit@intel.com" CC: Gagandeep Singh Thread-Topic: [PATCH v4 12/13] net/enetc: enable Rx checksum offload validation Thread-Index: AQHU8StUu60wbw44aUOAJLkc4GVsYw== Date: Fri, 12 Apr 2019 12:29:10 +0000 Message-ID: <20190412122840.1908-13-g.singh@nxp.com> References: <20190412105105.24351-1-g.singh@nxp.com> <20190412122840.1908-1-g.singh@nxp.com> In-Reply-To: <20190412122840.1908-1-g.singh@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BMXPR01CA0029.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:c::15) To VE1PR04MB6365.eurprd04.prod.outlook.com (2603:10a6:803:12a::14) x-mailer: git-send-email 2.19.1 authentication-results: spf=none (sender IP is ) smtp.mailfrom=G.Singh@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [92.120.0.8] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 30cac4ec-376f-4137-27e0-08d6bf4276aa x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:VE1PR04MB6702; x-ms-traffictypediagnostic: VE1PR04MB6702: x-microsoft-antispam-prvs: x-forefront-prvs: 0005B05917 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(396003)(376002)(366004)(39860400002)(346002)(199004)(189003)(476003)(102836004)(97736004)(2616005)(5660300002)(52116002)(6486002)(76176011)(36756003)(11346002)(486006)(446003)(26005)(6506007)(386003)(256004)(14444005)(186003)(2906002)(4326008)(8936002)(50226002)(3846002)(14454004)(53936002)(86362001)(105586002)(478600001)(66066001)(106356001)(6116002)(1076003)(72206003)(81166006)(316002)(110136005)(81156014)(68736007)(25786009)(305945005)(7736002)(99286004)(2501003)(8676002)(71190400001)(71200400001)(6436002)(6512007); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6702; H:VE1PR04MB6365.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: i1pLl38VICBvCcY3Lao2EmciNuTVBOC3fPQXENotKMtAeUWCb7rwNjm1RpI8nfoGKBqa4mhfqvq1lMVOGMBdFAS374yfUcDNY5lDxdDwq3U9GFcf3g/PyqaZHQ476rgwhHwiE48RXAPjSKo0OlPkX5Tt8xBTkjmVpcSyBuUi5/qekhYVT66OpCBy3cpOgybTq7fZk2Wy5fT7wzh+HnquuD81GCO0W+tdV34sQlAix1u1zhEGMN9UnkUWEutPeCMW1OIk8uUILnjJrggXT2ZF5SWSYajKby55t7gVlYCziT56QWGt0vdgJKj3zsa0/ZSPw9AKuZXx4EThQA14O4QeHWuFa2PpONZuxAjJyzZa2JZk9n48p12jGJu3QFUOvkHFt+SklU8/2zmupgjiR1ulHWSRLqzTm8jY04W0noRHEIg= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 30cac4ec-376f-4137-27e0-08d6bf4276aa X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2019 12:29:10.2856 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6702 Subject: [dpdk-dev] [PATCH v4 12/13] net/enetc: enable Rx checksum offload validation 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190412122910.xn4o8T9KSrpiRDstpFQd6Mm9n8CbOU3qwl2uBzwpnaY@z> Q2hlY2tzdW0gVmFsaWRhdGlvbiBvbiBSeCBpcyBzdXBwb3J0ZWQuDQoNClNpZ25lZC1vZmYtYnk6 IEdhZ2FuZGVlcCBTaW5naCA8Zy5zaW5naEBueHAuY29tPg0KLS0tDQogZG9jL2d1aWRlcy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