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 846A7A2EFC for ; Mon, 16 Sep 2019 21:01:20 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EE2041BEFC; Mon, 16 Sep 2019 21:01:18 +0200 (CEST) Received: from NAM05-DM3-obe.outbound.protection.outlook.com (mail-eopbgr730079.outbound.protection.outlook.com [40.107.73.79]) by dpdk.org (Postfix) with ESMTP id E10D01BEEF for ; Mon, 16 Sep 2019 21:01:16 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y0jV9Eb2Xfd/yHj0Not2uunR1e3G/WUOnnKwVcloB3wqgdf2FvTUwcFt4V9l8MMUuNNeE2wwxYC7DjHqPxnWhK1xsYd6j/+EKKfhFCjxCPlMAv3WU9CRrvd5P6EEipMBMlTgUyJeGHJdmT5c2DusAV46ILDCSNT7qSKkBLYRFVD2e2lQG9xum5JZaNI05a8VBoXwEO1sjzVlVf3Q2tUAcT5RCTm8cHjQarJcXN/7JhQeyraI3TgHGdfcn54BLGEpkHn+lrVEFFC6EmjkqPIzlqPc/xXPjRnpNF+Z9LTs0uoGQU8JEE/XPvpW1Oi5UdFYkPCB+gDlWqt65n/4LiLYcA== 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=wZymT5iXMg8HH993NdWI6mzAD5XpFOIelt/vSKMF6IQ=; b=kLNEvUe4P0BuBtTKw8Xm0FpDE0+s6VYDLzH76CREHiGu3Nxs3XmZkd4dModT4YOIAghK5Au/joizeVSnpZYJ/RIQezaMeyyqMw51RTBFMM3SuiJogvQCVa72oWyAzTkOjUF0GBjtSa46miw2e0oLLQhGkaPx4QPTorFR7ALJfO7/5ao9+1T+x+UDAQCkEMlQehA+EzwY3c9rO1j2v7eqs+nxqQtsaGMmHYDSIpNs/nkgZg4pGDVy6F7OTdWR5rdpqzrpOaLb2cDS2D3PcDkdH359rio3+t1BMNRmYB2k1TSI7che4QdCGVTnGY0DTzOnqKcut1ewbW+VYPvDsGN99g== 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=wZymT5iXMg8HH993NdWI6mzAD5XpFOIelt/vSKMF6IQ=; b=cnzVas5D6yJ5FPlheCTIruSj4o/P5xoOg4/iw+2LfmTkP0f+d2dCMXJ65MlL/RDFmVspYbCa55CnCJrm0d/mWNJcbSBlCz2UA2/+TmxNwsW1tjwaBca3zWlKsCax3Jj30jMkZ0CrXffeSEOXmAqjpnZAT/XqrBRez8waHNJo3OY= Received: from DM6PR05MB6827.namprd05.prod.outlook.com (10.141.165.29) by DM6PR05MB4137.namprd05.prod.outlook.com (20.176.64.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2284.14; Mon, 16 Sep 2019 19:01:14 +0000 Received: from DM6PR05MB6827.namprd05.prod.outlook.com ([fe80::447f:ae43:705d:fd4e]) by DM6PR05MB6827.namprd05.prod.outlook.com ([fe80::447f:ae43:705d:fd4e%3]) with mapi id 15.20.2263.023; Mon, 16 Sep 2019 19:01:14 +0000 From: Yong Wang To: Eduard Serra Miralles CC: "dev@dpdk.org" Thread-Topic: [PATCH] net/vmxnet3: fix RSS setting on v4 Thread-Index: AQHVWD6vhhoZIBMDqEGK6fQDVaknr6cpoLwAgACNDwuABC6PgA== Date: Mon, 16 Sep 2019 19:01:14 +0000 Message-ID: <8FBE8D68-AB07-4E50-BD9E-53700207A0CD@vmware.com> References: <1566405415-89876-1-git-send-email-eserra@vmware.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/10.1d.0.190908 authentication-results: spf=none (sender IP is ) smtp.mailfrom=yongwang@vmware.com; x-originating-ip: [66.170.99.95] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 633009ac-ddf2-4435-a0e7-08d73ad83f73 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600167)(711020)(4605104)(1401327)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:DM6PR05MB4137; x-ms-traffictypediagnostic: DM6PR05MB4137:|DM6PR05MB4137: x-ms-exchange-purlcount: 2 x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 0162ACCC24 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(346002)(366004)(396003)(39860400002)(376002)(13464003)(199004)(189003)(486006)(790700001)(99286004)(256004)(8936002)(71190400001)(316002)(2616005)(3846002)(66066001)(478600001)(81156014)(5660300002)(6116002)(186003)(6636002)(81166006)(2906002)(11346002)(66946007)(64756008)(66556008)(66476007)(446003)(66446008)(76116006)(91956017)(476003)(14444005)(14454004)(8676002)(6862004)(26005)(53936002)(25786009)(229853002)(86362001)(36756003)(6486002)(6506007)(53546011)(7736002)(6246003)(58126008)(76176011)(33656002)(4326008)(71200400001)(37006003)(6306002)(54896002)(6436002)(102836004)(6512007); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR05MB4137; H:DM6PR05MB6827.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: vmware.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: dNo6lX9obzOt6h7w56tytsus5lu21FQaEBNJmsble/wy5MOLgwMSbS9YVSS9MPFvkm/vhQPuY58JHZEF9/toTzMKhk6Ro6DweZ4KYwHXaGZyxGC5MUwEEvyt7T7NuBsTB86w3yWGei+0XKJvBW2AR6ap8BCnGTeD+GqbuvLL7avacvIIHpdu23ffKKyD4DCXfoekTvajiAoBVEZhKbGL9JtbtyJaOYGtSlJq8wERJzwakve0MnvPisCOok1qPHZkg2N/WJSujFPdWVIslfIeXbZ3XM737oRjQvRfA+1K4dqyRkLWWF/VAhqoVJu0vfo4LbI0p9SYPcY1NwODL64ti+usheuOQfmuhNFj2CO33uFJahWPVFEnNgoU6fQVPHuvyn+8ZxK4itaXb+X3+omXPOEq0xGrVoltFomuB8CC+mo= MIME-Version: 1.0 X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-Network-Message-Id: 633009ac-ddf2-4435-a0e7-08d73ad83f73 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Sep 2019 19:01:14.6304 (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: +Y/yRHkg410GsIHB9/VGgOFeK4J75R6f7+XVsOxpi3dBxZPdQtNyx3b5CuS57hPvdWwnuGk1uTCZTT8YJGDdGA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR05MB4137 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH] net/vmxnet3: fix RSS setting on v4 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" DQpGcm9tOiBFZHV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