From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50044.outbound.protection.outlook.com [40.107.5.44]) by dpdk.org (Postfix) with ESMTP id BF4895F34 for ; Fri, 12 Apr 2019 13:01:51 +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=GRszbgTBblG2qUsNml0WJOLvK1uH2a8lEuvGp7EUVFs=; b=vbibkuyOFZ9/Jxluou4FoFiaoBAsQJKYvhdWGdP3IovJUXKtq6CPLy6j6hj9979p69z14oJa7eEAnMl386JlZReH//aYuK8fkcSkPkBCfmSw0bbDKsI5Px9aBSxTEmXKQFMjRrWL6jE2wK856Fw4a3PSYk0ibhAkTAU/YO9amQ0= Received: from VE1PR04MB6365.eurprd04.prod.outlook.com (10.255.118.78) by VE1PR04MB6384.eurprd04.prod.outlook.com (20.179.232.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.18; Fri, 12 Apr 2019 11:01:50 +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 11:01:50 +0000 From: Gagandeep Singh To: "dev@dpdk.org" , "ferruh.yigit@intel.com" CC: Gagandeep Singh Thread-Topic: [PATCH v3 11/13] net/enetc: enable CRC offload feature Thread-Index: AQHU8R8hnJ0kBD1a6UuXA7meUEk/YQ== Date: Fri, 12 Apr 2019 11:01:50 +0000 Message-ID: <20190412105105.24351-12-g.singh@nxp.com> References: <1555075598-4988-1-git-send-email-g.singh@nxp.com> <20190412105105.24351-1-g.singh@nxp.com> In-Reply-To: <20190412105105.24351-1-g.singh@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: TYAPR01CA0204.jpnprd01.prod.outlook.com (2603:1096:404:29::24) To VE1PR04MB6365.eurprd04.prod.outlook.com (2603:10a6:803:12a::14) x-mailer: git-send-email 2.17.1 authentication-results: spf=none (sender IP is ) smtp.mailfrom=G.Singh@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [92.120.1.68] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 63ffbc65-ed6b-4f2c-316a-08d6bf364323 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:VE1PR04MB6384; x-ms-traffictypediagnostic: VE1PR04MB6384: x-microsoft-antispam-prvs: x-forefront-prvs: 0005B05917 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(366004)(396003)(376002)(346002)(39860400002)(189003)(199004)(8676002)(8936002)(14454004)(186003)(446003)(478600001)(476003)(11346002)(72206003)(81166006)(81156014)(50226002)(2616005)(66066001)(4326008)(2501003)(26005)(305945005)(2906002)(5660300002)(3846002)(6116002)(486006)(386003)(6506007)(7736002)(102836004)(1076003)(68736007)(99286004)(76176011)(14444005)(86362001)(6486002)(25786009)(97736004)(110136005)(6436002)(316002)(52116002)(105586002)(6512007)(256004)(71200400001)(71190400001)(106356001)(53936002)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6384; H:VE1PR04MB6365.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: RnxOGA5cZFfXObt1O4Xhr3LXvlf/mcSYLsThVmQt7RwRXslgGPE2JjxdXMQERJxdM66rXLAihmCH++E/DsbRl2HExJAMHe+/RwPjwBypYIvcHiXtHZKFeG/5C7HxxF43g9q12YEhEHcVpytqAZx8d/g1dwuXhMul/LvkC9e3bO5zAGqryjEuUHdlf/xGBwQ7ObK3+liM2ts1WXI3XHaBQmXNQOWjnpXZMYY9a7KrIw6kRLtgQdqdbKGladsWKI0ELHyz8aFh4UPOnENiwZsfx+kyty3ki0UvGJGLBLM6o/uhwNJg7ra4GZlFOLYOAo95HxohdRUG6Tc8TCI0XmAuXDix+K+wIXDd7IdVcSuuK6aHsBzk94vK36Ewa/yv7gsKZtujO0/7TmDh8WJpmv2LKwV0/ohF686jfsNp7bYoM9w= 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: 63ffbc65-ed6b-4f2c-316a-08d6bf364323 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2019 11:01:50.3258 (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: VE1PR04MB6384 Subject: [dpdk-dev] [PATCH v3 11/13] net/enetc: enable CRC offload feature 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 11:01:52 -0000 Q1JDIG9mZmxvYWQga2VlcCBmZWF0dXJlIHN1cHBvcnRlZA0KDQpTaWduZWQtb2ZmLWJ5OiBHYWdh bmRlZXAgU2luZ2ggPGcuc2luZ2hAbnhwLmNvbT4NCi0tLQ0KIGRvYy9ndWlkZXMvbmljcy9lbmV0 Yy5yc3QgICAgICAgICAgfCAgMSArDQogZG9jL2d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HZvaWQgX19hdHRy aWJ1dGVfXygoaG90KSkNCiAJCWlmICghYmRfc3RhdHVzKQ0KIAkJCWJyZWFrOw0KIA0KLQkJcnhf c3diZC0+YnVmZmVyX2FkZHItPnBrdF9sZW4gPSByeGJkLT5yLmJ1Zl9sZW47DQotCQlyeF9zd2Jk LT5idWZmZXJfYWRkci0+ZGF0YV9sZW4gPSByeGJkLT5yLmJ1Zl9sZW47DQorCQlyeF9zd2JkLT5i dWZmZXJfYWRkci0+cGt0X2xlbiA9IHJ4YmQtPnIuYnVmX2xlbiAtDQorCQkJCQkJcnhfcmluZy0+ Y3JjX2xlbjsNCisJCXJ4X3N3YmQtPmJ1ZmZlcl9hZGRyLT5kYXRhX2xlbiA9IHJ4YmQtPnIuYnVm X2xlbiAtDQorCQkJCQkJIHJ4X3JpbmctPmNyY19sZW47DQogCQlyeF9zd2JkLT5idWZmZXJfYWRk ci0+aGFzaC5yc3MgPSByeGJkLT5yLnJzc19oYXNoOw0KIAkJcnhfc3diZC0+YnVmZmVyX2FkZHIt Pm9sX2ZsYWdzID0gMDsNCiAJCWVuZXRjX2Rldl9yeF9wYXJzZShyeF9zd2JkLT5idWZmZXJfYWRk ciwNCi0tIA0KMS45LjENCg0K 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 3F2EEA0096 for ; Fri, 12 Apr 2019 13:03:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 707081B131; Fri, 12 Apr 2019 13:02:02 +0200 (CEST) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50044.outbound.protection.outlook.com [40.107.5.44]) by dpdk.org (Postfix) with ESMTP id BF4895F34 for ; Fri, 12 Apr 2019 13:01:51 +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=GRszbgTBblG2qUsNml0WJOLvK1uH2a8lEuvGp7EUVFs=; b=vbibkuyOFZ9/Jxluou4FoFiaoBAsQJKYvhdWGdP3IovJUXKtq6CPLy6j6hj9979p69z14oJa7eEAnMl386JlZReH//aYuK8fkcSkPkBCfmSw0bbDKsI5Px9aBSxTEmXKQFMjRrWL6jE2wK856Fw4a3PSYk0ibhAkTAU/YO9amQ0= Received: from VE1PR04MB6365.eurprd04.prod.outlook.com (10.255.118.78) by VE1PR04MB6384.eurprd04.prod.outlook.com (20.179.232.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.18; Fri, 12 Apr 2019 11:01:50 +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 11:01:50 +0000 From: Gagandeep Singh To: "dev@dpdk.org" , "ferruh.yigit@intel.com" CC: Gagandeep Singh Thread-Topic: [PATCH v3 11/13] net/enetc: enable CRC offload feature Thread-Index: AQHU8R8hnJ0kBD1a6UuXA7meUEk/YQ== Date: Fri, 12 Apr 2019 11:01:50 +0000 Message-ID: <20190412105105.24351-12-g.singh@nxp.com> References: <1555075598-4988-1-git-send-email-g.singh@nxp.com> <20190412105105.24351-1-g.singh@nxp.com> In-Reply-To: <20190412105105.24351-1-g.singh@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: TYAPR01CA0204.jpnprd01.prod.outlook.com (2603:1096:404:29::24) To VE1PR04MB6365.eurprd04.prod.outlook.com (2603:10a6:803:12a::14) x-mailer: git-send-email 2.17.1 authentication-results: spf=none (sender IP is ) smtp.mailfrom=G.Singh@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [92.120.1.68] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 63ffbc65-ed6b-4f2c-316a-08d6bf364323 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:VE1PR04MB6384; x-ms-traffictypediagnostic: VE1PR04MB6384: x-microsoft-antispam-prvs: x-forefront-prvs: 0005B05917 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(366004)(396003)(376002)(346002)(39860400002)(189003)(199004)(8676002)(8936002)(14454004)(186003)(446003)(478600001)(476003)(11346002)(72206003)(81166006)(81156014)(50226002)(2616005)(66066001)(4326008)(2501003)(26005)(305945005)(2906002)(5660300002)(3846002)(6116002)(486006)(386003)(6506007)(7736002)(102836004)(1076003)(68736007)(99286004)(76176011)(14444005)(86362001)(6486002)(25786009)(97736004)(110136005)(6436002)(316002)(52116002)(105586002)(6512007)(256004)(71200400001)(71190400001)(106356001)(53936002)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6384; H:VE1PR04MB6365.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: RnxOGA5cZFfXObt1O4Xhr3LXvlf/mcSYLsThVmQt7RwRXslgGPE2JjxdXMQERJxdM66rXLAihmCH++E/DsbRl2HExJAMHe+/RwPjwBypYIvcHiXtHZKFeG/5C7HxxF43g9q12YEhEHcVpytqAZx8d/g1dwuXhMul/LvkC9e3bO5zAGqryjEuUHdlf/xGBwQ7ObK3+liM2ts1WXI3XHaBQmXNQOWjnpXZMYY9a7KrIw6kRLtgQdqdbKGladsWKI0ELHyz8aFh4UPOnENiwZsfx+kyty3ki0UvGJGLBLM6o/uhwNJg7ra4GZlFOLYOAo95HxohdRUG6Tc8TCI0XmAuXDix+K+wIXDd7IdVcSuuK6aHsBzk94vK36Ewa/yv7gsKZtujO0/7TmDh8WJpmv2LKwV0/ohF686jfsNp7bYoM9w= 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: 63ffbc65-ed6b-4f2c-316a-08d6bf364323 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2019 11:01:50.3258 (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: VE1PR04MB6384 Subject: [dpdk-dev] [PATCH v3 11/13] net/enetc: enable CRC offload feature 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: <20190412110150.Qq4XKuuBZzcv_-pP-rbrTJ6PqOihkFE_Kpb38z-Md-A@z> Q1JDIG9mZmxvYWQga2VlcCBmZWF0dXJlIHN1cHBvcnRlZA0KDQpTaWduZWQtb2ZmLWJ5OiBHYWdh bmRlZXAgU2luZ2ggPGcuc2luZ2hAbnhwLmNvbT4NCi0tLQ0KIGRvYy9ndWlkZXMvbmljcy9lbmV0 Yy5yc3QgICAgICAgICAgfCAgMSArDQogZG9jL2d1aWRlcy9uaWNzL2ZlYXR1cmVzL2VuZXRjLmlu aSB8ICAxICsNCiBkcml2ZXJzL25ldC9lbmV0Yy9iYXNlL2VuZXRjX2h3LmggIHwgIDEgKw0KIGRy aXZlcnMvbmV0L2VuZXRjL2VuZXRjLmggICAgICAgICAgfCAgMSArDQogZHJpd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