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 86CE2A2EEB for ; Fri, 13 Sep 2019 20:44:42 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B71341EFFD; Fri, 13 Sep 2019 20:44:41 +0200 (CEST) Received: from NAM05-DM3-obe.outbound.protection.outlook.com (mail-eopbgr730049.outbound.protection.outlook.com [40.107.73.49]) by dpdk.org (Postfix) with ESMTP id 9115E1EFFC for ; Fri, 13 Sep 2019 20:44:40 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Py1UQU0jUyvIubcVpWMjMYUQcr5shJRc8xMNvsuFTHLcXyiQSKbvehRUThnsW+z3LeoiVyqts1RqOLsoFtxm0viwBN78wcG2PmjJxZlezAmKIziT+rxGitOYNI11pZTVMrTXiZ5gSjOcxw3a79ueKJf0R1lwK8Lsj608DF4QNdZjQ5E4SvCEBotKiMztUx+eCgUAtCnhEIIQ71Z37D9zCT9b/KJls81ehrDALuAQcvwrx7Ge8Y1p96WYSyUprRQ/3uxo0ZZ/lBqq7wlTOOrD8EdItHJ9b2EIIf5iBXFbbgLbiOT0XRPuEHEJs8sFUPtrpwQ9gsh7s4gNCPVBNloqDA== 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=7Li1rfxUw9vg6lM4cPvcM3lbnug5iX+fJMJbYl8MaV4=; b=eJmCob9UwKP+65Vd4fKoe9dFuW+hyQooi88K3kVXtyk9zUBe+K1yCGE3lrZXsk1DN5lCBjfLlqEKSpG6sskZcBlHUynCZoEbUEmi11Pe+73EfK2WAZoAooCxAkwl1cHsc4Kkuz7ooloYROqALqozXf+NZu7SSF3qCXurgpI6XWh9jO7JTtuwD1xadj9yhq9C6gVamx607IYpqg+ZbQUJuteDwgNWPYDFf4EJ3W135hvyxNQaaF4Q9yntHeYmzZnyH/a8WDHje/sMmhcxmKPYX4rz/yYzeF3A8WiZcNXTBhq2QP2G2az6oJ7eO1n96OGweOLfyICtwDwpT7J4DYQnfg== 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=7Li1rfxUw9vg6lM4cPvcM3lbnug5iX+fJMJbYl8MaV4=; b=YpnHEvJDaqJGvBtNR/joFTSt9tDUr3ofPnPJTjnpaT2wi30hSfFdY1QpKZtqLya0g35gE3kBSDQxZNJvoQnn9qNGppFsonLkybEfGj1gCwY8a8xbd2kVlyqAEile3YJshiBLdfxAg/EpFUxKVxgN5Gtmj4aBOZS0Pmrix/5sXNM= Received: from BY5PR05MB6820.namprd05.prod.outlook.com (52.133.253.12) by BY5PR05MB6868.namprd05.prod.outlook.com (10.255.89.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2284.14; Fri, 13 Sep 2019 18:44:39 +0000 Received: from BY5PR05MB6820.namprd05.prod.outlook.com ([fe80::fd35:30bd:64b:f310]) by BY5PR05MB6820.namprd05.prod.outlook.com ([fe80::fd35:30bd:64b:f310%5]) with mapi id 15.20.2263.015; Fri, 13 Sep 2019 18:44:39 +0000 From: Yong Wang To: Eduard Serra Miralles CC: "dev@dpdk.org" Thread-Topic: [PATCH] net/vmxnet3: fix RSS setting on v4 Thread-Index: AQHVWD6vhhoZIBMDqEGK6fQDVaknr6cpoLwA Date: Fri, 13 Sep 2019 18:44:38 +0000 Message-ID: References: <1566405415-89876-1-git-send-email-eserra@vmware.com> In-Reply-To: <1566405415-89876-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/10.1d.0.190908 authentication-results: spf=none (sender IP is ) smtp.mailfrom=yongwang@vmware.com; x-originating-ip: [66.170.99.1] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a59319ce-3f97-4b97-9621-08d7387a6eb0 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BY5PR05MB6868; x-ms-traffictypediagnostic: BY5PR05MB6868:|BY5PR05MB6868: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 0159AC2B97 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(376002)(346002)(136003)(366004)(39860400002)(13464003)(189003)(199004)(305945005)(316002)(6436002)(6246003)(71200400001)(2616005)(37006003)(8676002)(53936002)(446003)(476003)(71190400001)(11346002)(6862004)(6116002)(3846002)(58126008)(6486002)(8936002)(6512007)(102836004)(14444005)(186003)(256004)(81166006)(81156014)(486006)(229853002)(26005)(14454004)(6506007)(99286004)(5660300002)(4326008)(36756003)(86362001)(66946007)(76176011)(2906002)(66446008)(66556008)(53546011)(64756008)(66476007)(25786009)(478600001)(66066001)(6636002)(76116006)(33656002)(7736002); DIR:OUT; SFP:1101; SCL:1; SRVR:BY5PR05MB6868; H:BY5PR05MB6820.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: smUPSKrnqnzzhBsDSxiqpnrqKP00BN5TRc4QgVA29fC5+9TBmAESx9No8n/agBA6W74WNiqDLFPcXxXlqpjJXSgTIw2F++1Y4v5jnNG8Pv03o1ZNeMYtdg0EQk7N/eBV3z3p48h0FIbz0q8Clz+VJ1Bi4iAaHQXWRihq2KREbtoSLUx1bpeJDr1L/cEdJbAEK6GBe3MGY2Lr1n/LGnKt4alJGBS8Oe4z+mDacvcPo3bE4o5gj2QN0Iyn32o964FEeOvvOe58Y+P7MHYLLwnMNaXb0lbzHP8oQbIH8UhD0EDlqwMWsbb9Mr40k/E20ZeG7nUUM/zzU4IWhP8PsVYo7LOafAinF8gv04+ROlrY0KaX//r53YcNFSMbwTXW21mzW5FMPpoP2aTmscr9hruojcCi0CjfoyFdt/Gz3imjhaQ= Content-Type: text/plain; charset="utf-8" Content-ID: <1F10E9656596464A8C845B48077EE687@namprd05.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-Network-Message-Id: a59319ce-3f97-4b97-9621-08d7387a6eb0 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Sep 2019 18:44:38.5749 (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: yKRXeQfwWRFaQ2LyRzilJf54dXkfAA2Hr3NSv+t9U/0q6B++QBIxcIBXLd3WZ4elQQBjSVsL2J/SdbhDNobj/g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR05MB6868 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" LS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCkZyb206IEVkdWFy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