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 35CFFA0562; Fri, 3 Apr 2020 02:08:37 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 62FFF1C0B6; Fri, 3 Apr 2020 02:08:36 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 44D281C0B4; Fri, 3 Apr 2020 02:08:34 +0200 (CEST) IronPort-SDR: O8lKNGvH4oUQY3LHaODY3+2mBQy0fWe5uRF1CeOcPWzfT/NaFvozZ3NckUPMTPaziX2rQFaExI F3KxEuUV20FA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Apr 2020 17:08:32 -0700 IronPort-SDR: uxmBPcJWA1uMBTgLm/yNIjpTZQU5ng+/X4FDXK+EaH6088nyU4Tutti5DYBClhECX7Ugw3m/1V YBo/Q+VptUOA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,337,1580803200"; d="scan'208";a="284953494" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga002.fm.intel.com with ESMTP; 02 Apr 2020 17:08:32 -0700 Received: from shsmsx605.ccr.corp.intel.com (10.109.6.215) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 2 Apr 2020 17:08:32 -0700 Received: from shsmsx603.ccr.corp.intel.com (10.109.6.143) by SHSMSX605.ccr.corp.intel.com (10.109.6.215) 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 08:08:30 +0800 Received: from shsmsx603.ccr.corp.intel.com ([10.109.6.143]) by SHSMSX603.ccr.corp.intel.com ([10.109.6.143]) with mapi id 15.01.1713.004; Fri, 3 Apr 2020 08:08:30 +0800 From: "Wu, Jingjing" To: "Jiang, JunyuX" , "dev@dpdk.org" CC: "Yang, Qiming" , "Yigit, Ferruh" , "Jiang, JunyuX" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 2/2] examples/vmdq: fix RSS configuration Thread-Index: AQHWAnEILogKjMkJg0WLzD/ObEVHxahmkuxA Date: Fri, 3 Apr 2020 00:08:29 +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: <20200325063248.28484-3-junyux.jiang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 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] [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" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogZGV2IDxkZXYtYm91bmNl c0BkcGRrLm9yZz4gT24gQmVoYWxmIE9mIEp1bnl1IEppYW5nDQo+IFNlbnQ6IFdlZG5lc2RheSwg TWFyY2ggMjUsIDIwMjAgMjozMyBQTQ0KPiBUbzogZGV2QGRwZGsub3JnDQo+IENjOiBZYW5nLCBR aW1pbmcgPHFpbWluZy55YW5nQGludGVsLmNvbT47IFlpZ2l0LCBGZXJydWggPGZlcnJ1aC55aWdp dEBpbnRlbC5jb20+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