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 53531A0562; Fri, 3 Apr 2020 03:35:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A11F41BFC3; Fri, 3 Apr 2020 03:35:26 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 4A74F1BFC1; Fri, 3 Apr 2020 03:35:23 +0200 (CEST) IronPort-SDR: czRLu4tc23Uz6lFUSB9asfKIGRxVxzcdyssjZ/6TnWLg+zDqg/slBCDco5FJNg7JkB2jkp5nF6 Ew7oifc0UXuA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Apr 2020 18:35:22 -0700 IronPort-SDR: 12xpEN991CqhysrsdkX+5r1OVHp/ZLwPROA/anN9492VKEMATQQK4Pc0j/LUJ+a+UIsDw/OHOh gql5ILgqmUfQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,337,1580803200"; d="scan'208";a="250019995" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga003.jf.intel.com with ESMTP; 02 Apr 2020 18:35:22 -0700 Received: from shsmsx604.ccr.corp.intel.com (10.109.6.214) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 2 Apr 2020 18:35:21 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX604.ccr.corp.intel.com (10.109.6.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 3 Apr 2020 09:35:19 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.1713.004; Fri, 3 Apr 2020 09:35:19 +0800 From: "Li, Xiaoyun" To: "Wu, Jingjing" , "Jiang, JunyuX" , "dev@dpdk.org" CC: "Yang, Qiming" , "Yigit, Ferruh" , "Jiang, JunyuX" , "stable@dpdk.org" Thread-Topic: [dpdk-stable] [dpdk-dev] [PATCH v2 2/2] examples/vmdq: fix RSS configuration Thread-Index: AQHWCUwT6KMCZsoIc0a6c8qPePVp4ahmnTkA Date: Fri, 3 Apr 2020 01:35:19 +0000 Message-ID: References: <20200303091621.30114-1-junyux.jiang@intel.com> <20200325063248.28484-1-junyux.jiang@intel.com> <20200325063248.28484-3-junyux.jiang@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH v2 2/2] examples/vmdq: fix RSS configuration 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" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogc3RhYmxlIDxzdGFibGUt Ym91bmNlc0BkcGRrLm9yZz4gT24gQmVoYWxmIE9mIFd1LCBKaW5namluZw0KPiBTZW50OiBGcmlk YXksIEFwcmlsIDMsIDIwMjAgMDg6MDgNCj4gVG86IEppYW5nLCBKdW55dVggPGp1bnl1eC5qaWFu Z0BpbnRlbC5jb20+OyBkZXZAZHBkay5vcmcNCj4gQ2M6IFlhbmcsIFFpbWluZyA8cWltaW5nLnlh bmdAaW50ZWwuY29tPjsgWWlnaXQsIEZlcnJ1aA0KPiA8ZmVyc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