From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 888B8A0562; Tue, 31 Mar 2020 19:31:17 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 48ABA1C0B1; Tue, 31 Mar 2020 19:31:17 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2075.outbound.protection.outlook.com [40.107.93.75]) by dpdk.org (Postfix) with ESMTP id DF1651C06D for ; Tue, 31 Mar 2020 19:31:15 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LPJsQXucKgSi/xPtmtnpsH9zH3M897xkTT2IUdmGdrizzs/hfP+ZQ+4s7pZlbsV90oFq+e/Dib8nciqvGjACvnLiV0RcWln/oRe/eGCbM0+oFXSam5MYC4NZ5ofPK6mljUb4B6cIXBd2Qz/ktEFQaYyHe+4njtTgH6CipavpPZeOTS3fvq0Q1ChPimBXXfDGiYPC1MfD1NcNmYnfoaXn7EXQiL8jSjv9kyrzmkbWlK8VioPJps4PR4yYHxGZRFnkAu3He6SGlf93ryRWM+OhVEmT0BnPlWQkli6woeRyKKB8LghHsN1BiYoey69XUOH48Vequj2yyWo+5+ptsAI49g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=t/i8TVOTBUBiLPF30vCTPsBWaSinghlUvoNo387sQII=; b=UP1nLNGn2GYtlp4/77MTOCXGyoacWtB9UYuA769flFisGBIaZoLYOj+Cr15F6wOBsL06CtFCMRvjKSYymkgeYKTSu1nCTzKTsuFq5pFtogfenrmeHN/87Ruj+ye/T98poUNOLPyUu1xFOpNb3aaUv9+3COJB5Qd+r+6puImAas88FoqqY1u977R9NuQooF6NOktXRI8TJvPMCPdwnPvCHcHrramuLDgnEnKiQO7inhfXXUFD3oDKiIVUYSfSqaHXytVR+n3ObVSzpiO5adDZxL6+aIog1JJ5MHpUPpn+nzLftjg5LL7He4A7Jg0wOPbLrwVfZ0hRiAmVgFIM9emqWg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vmware.com; dmarc=pass action=none header.from=vmware.com; dkim=pass header.d=vmware.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vmware.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=t/i8TVOTBUBiLPF30vCTPsBWaSinghlUvoNo387sQII=; b=FMmLmAptvRsuFwxl0VZXNCNKHcHX+VlHioGIA3jw0HDS5VnT+uL1gdArjMPgOHLhxoYIuUM1lbJ5nfWipjS+WIz0wbBh93OZTo1Gvcx50s0BvTWGVFgKqI653UTsYjG/nVsvNymGlvwOm0Lmxs16mtQ2gzQbpEcg36o67+f8bYk= Received: from BY5PR05MB6820.namprd05.prod.outlook.com (2603:10b6:a03:1f9::12) by BY5PR05MB6868.namprd05.prod.outlook.com (2603:10b6:a03:1cd::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.12; Tue, 31 Mar 2020 17:31:14 +0000 Received: from BY5PR05MB6820.namprd05.prod.outlook.com ([fe80::141e:1645:4939:f170]) by BY5PR05MB6820.namprd05.prod.outlook.com ([fe80::141e:1645:4939:f170%7]) with mapi id 15.20.2878.014; Tue, 31 Mar 2020 17:31:14 +0000 From: Yong Wang To: Eduard Serra Miralles , "dev@dpdk.org" Thread-Topic: [PATCH v6] net/vmxnet3: Added mtu_set() function to allow setting MTU. Thread-Index: AQHWAto/f7iVqyddHE+YEH4WyDoNsahiiUyA Date: Tue, 31 Mar 2020 17:31:14 +0000 Message-ID: <64523A3C-DEBB-4920-A936-47E8BD9CB594@vmware.com> References: <1585161984-25276-1-git-send-email-eserra@vmware.com> <1585163931-27895-1-git-send-email-eserra@vmware.com> In-Reply-To: <1585163931-27895-1-git-send-email-eserra@vmware.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/16.35.20030802 authentication-results: spf=none (sender IP is ) smtp.mailfrom=yongwang@vmware.com; x-originating-ip: [2601:646:8600:500:f451:ef28:9eb8:2821] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3089ad29-7e3c-4e6b-56e2-08d7d5994fec x-ms-traffictypediagnostic: BY5PR05MB6868:|BY5PR05MB6868: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 0359162B6D x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR05MB6820.namprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(396003)(346002)(376002)(366004)(39860400002)(136003)(966005)(8936002)(186003)(5660300002)(71200400001)(53546011)(6512007)(478600001)(8676002)(76116006)(6506007)(33656002)(316002)(64756008)(110136005)(2906002)(2616005)(66446008)(6486002)(66476007)(36756003)(81166006)(81156014)(66556008)(86362001)(66946007); DIR:OUT; SFP:1101; received-spf: None (protection.outlook.com: vmware.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: UOgRlXqZAm36C7za1ErzvIWyY4yNCAgI7YiPCRUy0+DOyR006SaMbDe8gRioL+DRJPXqiM2a8B9z/fwxuAC2RS2nHXyIJmrWPfDDkWNSnCHk5EjQBQKBUTQEFPYwsfvgq9K1l7v34G23HTmwNafNXlbZOB5jU88sG1MGbCQZZlOApOn9btLdD6IeOK2bRXC+98grvNB3M6rcOAYsFPn5Lo7Koz6QoxiejCtSUnhn3AM8dYRWe6UL00TLhESw4z/yYKqZI6D2JMQetvBjjRDJbx6T+9t00M5O7whcJW4ICU9l1tGHK68U2cW3nV5DC0G7jEoaYJqvAXbPgBuBrRHyRZsqgrKxHCr/pj1ozyQorpHAIvShsRE23bUmrktPxw9yaFwzfR9RiaW/jUUjc+HSohen34XIRwDc78lNX1d3VQPy8XLgmHy5sr8dBCJV4ZZb5VWzrET0m7z4iow+UgF7fZ38doA9bayPus0uDx6RXf6ajb/ttVjiTWWHyBwUDsJ8OKAN+tBhRof7WsMLGIn5KA== x-ms-exchange-antispam-messagedata: J5lp6bqq+o4K31OUKZZhAAc5qrDVXU7Hd7AvtkmZ9lniAa5LacZH5xXMRABDD2EyEap5/MpYrQtaH+gSnAwFjx+WfuenaGwRMRDB4vWhelYcpAtVE6WDNJM5LEJlw0J/8kwzbc3eATv+bWTW81q9GQ32pkt3/FmfBL7myGF77eVTTMAoTD+0RwlpvMKVI11+13C7nzjpof8IYmMN2odmCg== Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3089ad29-7e3c-4e6b-56e2-08d7d5994fec X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Mar 2020 17:31:14.2856 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 4nie2FSZfthu9HaMOnRedLM/ja6yexeksjrEZxWyIHZcWggS2aUorCxmc+lRHdySHn/2IJPUZx2sXS15dtiqcA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR05MB6868 Subject: Re: [dpdk-dev] [PATCH v6] net/vmxnet3: Added mtu_set() function to allow setting MTU. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-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