From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70040.outbound.protection.outlook.com [40.107.7.40]) by dpdk.org (Postfix) with ESMTP id 73720569B for ; Fri, 12 Apr 2019 09:04:21 +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=c0sUSyOk2YB9znDYYcxBSni+ZQPHcrwTXI7aEEIeusg=; b=tYn0gFT1U3neLg6JJJ5RO+WldZoBzI7aUbRVGG0hzQ4Q6KkOABYLWqponOIYU374sAAgvP1qIAO5syk+mcKW9nLTQZgJjA0+ZrlHgI3SAuNuSh9o6GUR5XXDvzo44EFhLPwTFVD8WDWoLo0DThZ/iAMoR9DoFodHfc08Y17CKtY= Received: from VE1PR04MB6365.eurprd04.prod.outlook.com (10.255.118.78) by VE1PR04MB6461.eurprd04.prod.outlook.com (20.179.233.18) 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 07:04:19 +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 07:04:19 +0000 From: Gagandeep Singh To: "dev@dpdk.org" , "ferruh.yigit@intel.com" CC: "thomas@monjalon.net" , Gagandeep Singh Thread-Topic: [PATCH v2 09/13] net/enetc: add MTU update and jumbo frames support Thread-Index: AQHU8P3zvKL8HIxv2kaico3T+kF7Mw== Date: Fri, 12 Apr 2019 07:04:19 +0000 Message-ID: <1555075598-4988-10-git-send-email-g.singh@nxp.com> References: <1554745507-15089-1-git-send-email-g.singh@nxp.com> <1555075598-4988-1-git-send-email-g.singh@nxp.com> In-Reply-To: <1555075598-4988-1-git-send-email-g.singh@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BM1PR0101CA0038.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1a::24) To VE1PR04MB6365.eurprd04.prod.outlook.com (2603:10a6:803:12a::14) x-mailer: git-send-email 1.9.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.67] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: efa77791-4fb1-443d-ba79-08d6bf151543 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:VE1PR04MB6461; x-ms-traffictypediagnostic: VE1PR04MB6461: x-microsoft-antispam-prvs: x-forefront-prvs: 0005B05917 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(39860400002)(376002)(366004)(396003)(346002)(189003)(199004)(6512007)(102836004)(256004)(86362001)(36756003)(14444005)(486006)(25786009)(6486002)(2501003)(26005)(386003)(2906002)(66066001)(7736002)(71190400001)(14454004)(71200400001)(6506007)(53936002)(97736004)(186003)(76176011)(8676002)(52116002)(105586002)(106356001)(99286004)(446003)(81166006)(81156014)(72206003)(478600001)(50226002)(15650500001)(11346002)(476003)(2616005)(6116002)(54906003)(5660300002)(110136005)(4326008)(316002)(8936002)(6436002)(68736007)(3846002)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6461; 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: z3pMDgfHFje3zFyiJR79L8p+AGZ8lOTQPfKXvxQF3CtM6kbUVdwDH/MgQZrcgnS30o1uRkUTRtuHlZwYXwzhEUdx3DTTh2nndSRgJlnIGK9vXNXR9i2Z/IwATKec0WF1EuwHa07MLstNTE8oZfk9yqDLW5k7mYXKMi37U4q1BshifVE3pWeVj+w5WolBhYoAf0qQGzkYZ30URbBRSUAaoG3OihzgBJqkzbC3GRkrJZJl4+/GVjSztE3XWaBdGhczfUK02kO6+l5IlpiMb/yJJN6HXojxjAOc0Sf/ScZDv2ZUgkFeWvGWVtmmAprpv6FrtbcxyheuDoqdGc+kjRpVnRu3XPq6tZu/EZ/nSH1DQ3tEGH3iPOxFoIXOyrqUjquXOyg8yShoU3Cf0Pj+OZGMMZ1Emfgk94x2nJyILUs/ZXY= 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: efa77791-4fb1-443d-ba79-08d6bf151543 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2019 07:04:19.5855 (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: VE1PR04MB6461 Subject: [dpdk-dev] [PATCH v2 09/13] net/enetc: add MTU update and jumbo frames support 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 07:04:22 -0000 RW5hYmxlIHRoZSBqdW1ibyBmcmFtZXMgYW5kIG10dSB1cGRhdGUgZmVhdHVyZS4NCg0KU2lnbmVk LW9mZi1ieTogR2FnYW5kZWVwIFNpbmdoIDxnLnNpbmdoQG54cC5jb20+DQotLS0NC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fcnhfcXVldWVfcmVsZWFzZSwNCiAJLnR4X3F1ZXVlX3NldHVwICAgICAg ID0gZW5ldGNfdHhfcXVldWVfc2V0dXAsDQpAQCAtNjc0LDYgKzczOSwxMSBAQCBpbnQgZW5ldGNf c3RhdHNfZ2V0KHN0cnVjdCBydGVfZXRoX2RldiAqZGV2LA0KIAlldGhlcl9hZGRyX2NvcHkoKHN0 cnVjdCBldGhlcl9hZGRyICopaHctPm1hYy5hZGRyLA0KIAkJCSZldGhfZGV2LT5kYXRhLT5tYWNf YWRkcnNbMF0pOw0KIA0KKwkvKiBTZXQgTVRVICovDQorCWVuZXRjX3BvcnRfd3IoJmh3LT5odywg RU5FVENfUE0wX01BWEZSTSwNCisJCSAgICAgIEVORVRDX1NFVF9NQVhGUk0oRVRIRVJfTUFYX0xF TikpOw0KKwlldGhfZGV2LT5kYXRhLT5tdHUgPSBFVEhFUl9NQVhfTEVOIC0gRVRIRVJfSERSX0xF TiAtIEVUSEVSX0NSQ19MRU47DQorDQogCUVORVRDX1BNRF9ERUJVRygicG9ydF9pZCAlZCB2ZW5k b3JJRD0weCV4IGRldmljZUlEPTB4JXgiLA0KIAkJCWV0aF9kZXYtPmRhdGEtPnBvcnRfaWQsIHBj aV9kZXYtPmlkLnZlbmRvcl9pZCwNCiAJCQlwY2lfZGV2LT5pZC5kZXZpY2VfaWQpOw0KLS0gDQox LjkuMQ0KDQo= 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 7B90DA0096 for ; Fri, 12 Apr 2019 09:05:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DC1C05B36; Fri, 12 Apr 2019 09:04:45 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70040.outbound.protection.outlook.com [40.107.7.40]) by dpdk.org (Postfix) with ESMTP id 73720569B for ; Fri, 12 Apr 2019 09:04:21 +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=c0sUSyOk2YB9znDYYcxBSni+ZQPHcrwTXI7aEEIeusg=; b=tYn0gFT1U3neLg6JJJ5RO+WldZoBzI7aUbRVGG0hzQ4Q6KkOABYLWqponOIYU374sAAgvP1qIAO5syk+mcKW9nLTQZgJjA0+ZrlHgI3SAuNuSh9o6GUR5XXDvzo44EFhLPwTFVD8WDWoLo0DThZ/iAMoR9DoFodHfc08Y17CKtY= Received: from VE1PR04MB6365.eurprd04.prod.outlook.com (10.255.118.78) by VE1PR04MB6461.eurprd04.prod.outlook.com (20.179.233.18) 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 07:04:19 +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 07:04:19 +0000 From: Gagandeep Singh To: "dev@dpdk.org" , "ferruh.yigit@intel.com" CC: "thomas@monjalon.net" , Gagandeep Singh Thread-Topic: [PATCH v2 09/13] net/enetc: add MTU update and jumbo frames support Thread-Index: AQHU8P3zvKL8HIxv2kaico3T+kF7Mw== Date: Fri, 12 Apr 2019 07:04:19 +0000 Message-ID: <1555075598-4988-10-git-send-email-g.singh@nxp.com> References: <1554745507-15089-1-git-send-email-g.singh@nxp.com> <1555075598-4988-1-git-send-email-g.singh@nxp.com> In-Reply-To: <1555075598-4988-1-git-send-email-g.singh@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BM1PR0101CA0038.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1a::24) To VE1PR04MB6365.eurprd04.prod.outlook.com (2603:10a6:803:12a::14) x-mailer: git-send-email 1.9.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.67] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: efa77791-4fb1-443d-ba79-08d6bf151543 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:VE1PR04MB6461; x-ms-traffictypediagnostic: VE1PR04MB6461: x-microsoft-antispam-prvs: x-forefront-prvs: 0005B05917 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(39860400002)(376002)(366004)(396003)(346002)(189003)(199004)(6512007)(102836004)(256004)(86362001)(36756003)(14444005)(486006)(25786009)(6486002)(2501003)(26005)(386003)(2906002)(66066001)(7736002)(71190400001)(14454004)(71200400001)(6506007)(53936002)(97736004)(186003)(76176011)(8676002)(52116002)(105586002)(106356001)(99286004)(446003)(81166006)(81156014)(72206003)(478600001)(50226002)(15650500001)(11346002)(476003)(2616005)(6116002)(54906003)(5660300002)(110136005)(4326008)(316002)(8936002)(6436002)(68736007)(3846002)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6461; 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: z3pMDgfHFje3zFyiJR79L8p+AGZ8lOTQPfKXvxQF3CtM6kbUVdwDH/MgQZrcgnS30o1uRkUTRtuHlZwYXwzhEUdx3DTTh2nndSRgJlnIGK9vXNXR9i2Z/IwATKec0WF1EuwHa07MLstNTE8oZfk9yqDLW5k7mYXKMi37U4q1BshifVE3pWeVj+w5WolBhYoAf0qQGzkYZ30URbBRSUAaoG3OihzgBJqkzbC3GRkrJZJl4+/GVjSztE3XWaBdGhczfUK02kO6+l5IlpiMb/yJJN6HXojxjAOc0Sf/ScZDv2ZUgkFeWvGWVtmmAprpv6FrtbcxyheuDoqdGc+kjRpVnRu3XPq6tZu/EZ/nSH1DQ3tEGH3iPOxFoIXOyrqUjquXOyg8yShoU3Cf0Pj+OZGMMZ1Emfgk94x2nJyILUs/ZXY= 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: efa77791-4fb1-443d-ba79-08d6bf151543 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2019 07:04:19.5855 (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: VE1PR04MB6461 Subject: [dpdk-dev] [PATCH v2 09/13] net/enetc: add MTU update and jumbo frames support 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: <20190412070419.N82GHIgrLkksBa74Mv-2Pp_OZmPUBsEoL7o5RqsbzBY@z> RW5hYmxlIHRoZSBqdW1ibyBmcmFtZXMgYW5kIG10dSB1cGRhdGUgZmVhdHVyZS4NCg0KU2lnbmVk LW9mZi1ieTogR2FnYW5kZWVwIFNpbmdoIDxnLnNpbmdoQG54cC5jb20+DQotLS0NCiBkb2MvZ3Vp ZGVzL25pY3MvZW5ldGMucnN0ICAgICAgICAgIHwgIDEgKw0KIGRvYy9ndWlkZXMvbmljcy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