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 C2D01A04F0; Tue, 10 Dec 2019 03:31:48 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B039C1B13C; Tue, 10 Dec 2019 03:31:47 +0100 (CET) Received: from sjdcvmout05.udc.trendmicro.com (sjdcexbh02.udc.trendmicro.com [66.180.82.3]) by dpdk.org (Postfix) with ESMTP id 67B0B2C12 for ; Tue, 10 Dec 2019 03:31:45 +0100 (CET) Received: from localhost (unknown [127.0.0.1]) by IMSVA (Postfix) with SMTP id A86A29A0D9 for ; Mon, 9 Dec 2019 18:31:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=trendmicro.com; s=tmoutbound; t=1575945104; bh=YgJjVg7DI0eTaU4zUSc6HSAnVhefLy4u8FNkbqhu9iI=; h=From:To:Date; b=FoRZDW+7EpY5IAS/S414jrF1kiRT9Q9pMItVzS5uJWvCH8BSOGsDptFCB6jahmAxV x2ZUNw2zeo+Svo2YjmKGRp/DJB6g4CH66gJ8UMDFfFouctZp0j/xInjr1bvRqlWOlH diZlgUMRN1YxMLh9rXeY6SjE1YRNuMJqC7hkS3nc= Received: from sjdcvmout05.udc.trendmicro.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 97C139A0DA; Mon, 9 Dec 2019 18:31:35 -0800 (PST) Received: from SJDC-EXNABU02.us.trendnet.org (unknown [10.45.175.98]) by sjdcvmout05.udc.trendmicro.com (Postfix) with ESMTPS; Mon, 9 Dec 2019 18:31:35 -0800 (PST) Received: from ADC-EXAPAC11.tw.trendnet.org (10.28.2.228) by SJDC-EXNABU02.us.trendnet.org (10.45.175.98) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Mon, 9 Dec 2019 18:31:33 -0800 Received: from ADC-EXAPAC12.tw.trendnet.org (10.28.2.229) by ADC-EXAPAC11.tw.trendnet.org (10.28.2.228) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Tue, 10 Dec 2019 02:31:31 +0000 Received: from ADC-EXAPAC12.tw.trendnet.org ([fe80::e869:c1f2:5c53:514]) by ADC-EXAPAC12.tw.trendnet.org ([fe80::e869:c1f2:5c53:514%18]) with mapi id 15.01.1847.005; Tue, 10 Dec 2019 02:31:31 +0000 From: "Donald_Lee@trendmicro.com" To: Dexuan Cui , Stephen Hemminger , "dev@dpdk.org" , Ferruh Yigit CC: "stable@dpdk.org" Thread-Topic: [PATCH] net/netvsc: disable before changing RSS parameters Thread-Index: AdWkCZCSRBa3Z8IWRAK5fNreHRUkqQKzVW3AABuFBIA= Date: Tue, 10 Dec 2019 02:31:31 +0000 Message-ID: <3D9924D6-8921-45A5-B81B-5EE81602610D@trendmicro.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.28.4.6] X-TM-AS-Product-Ver: IMSVA-9.1.0.1960-8.5.0.1020-25094.004 X-TM-AS-Result: No--16.229-5.0-31-10 X-TMASE-MatchedRID: efudVoPoNPyJ3N21s7/IqO5i6weAmSDKPbO0S2sWaK1PQiQvzFiGeESW a1fDLPjNM/Se/q/gEydfPMusV/BtbLKnTmo+3607ihCjnGX2dsQHmzHO3TfA+C6Zl5fVYhDwHhj sbgRFjNzNZBro6wDaU5MfUJb9OR2qpfsloY2FJe1/OBWacv+iVctEPnVvPlFkGcBq4eMuIszbJM bTT9K/Ta3aC25avUua2v4PzRk1tzJc/H0kCJNiw3CO70QAsBdCdGR9C0tIqI/AJMh4mAwEG+Ind MdZfKNKPYXgc3Os37T8OLoEItmIBiZp6/fri1wKsFkCLeeufNt6QyBM5BtUW8LRRNKa+dDoijLK C+2TNtbkdfGfyCcsPRS8NBFeEHq6aDi7ULPorR+HjFnwsKDMDHebWw0Amofh5UcZtwNsCrrSBVV c2BozSnJnzNw42kCxxEHRux+uk8jeSmti8t/dQWx/USQGy8If8Rul+cYbopA= X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--16.229300-10.000000 X-TMASE-Version: IMSVA-9.1.0.1960-8.5.1020-25094.004 Content-Type: text/plain; charset="utf-8" Content-ID: <264577097C130D40BCB475228EA88B93@trendmicro.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-TM-SNTS-SMTP: 49C6E0CA70ADD6971618FF2C182FED3DC39567D1B5B5FA9285277DF3CC323D7C2000:7 X-TM-AS-GCONF: 00 X-imss-scan-details: No--16.229-5.0-31-10 X-TMASE-SNAP-Result: 1.821001.0001-0-1-12:0,22:0,33:0,34:0-0 Subject: Re: [dpdk-dev] [PATCH] net/netvsc: disable before changing RSS parameters 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" DQoNCu+7v09uIDEwLzEyLzIwMTksIDU6MjkgQU0sICJEZXh1YW4gQ3VpIiA8ZGVjdWlAbWljcm9z b2Z0LmNvbT4gd3JvdGU6DQoNCiAgICANCiAgICBUaGlzIG1lc3NhZ2Ugd2FzIHNlbnQgZnJvbSBv dXRzaWRlIG9mIFRyZW5kIE1pY3JvLiBQbGVhc2UgZG8gbm90IGNsaWNrIGxpbmtzIG9yIG9wZW4g YXR0YWNobWVudHMgdW5sZXNzIHlvdSByZWNvZ25pc2UgdGhlIHNvdXJjZSBvZiB0aGlzIGVtYWls IGFuZCBrbm93IHRoZSBjb250ZW50IGlzIHNhZmUuDQogICAgDQogICAgDQogICAgPiBGcm9tOiBE ZXh1YW4gQ3VpDQogICAgPiBTZW50OiBNb25kYXksIE5vdmVtYmVyIDI1LCA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A+ICsNCiAgICA+ID4gICAgIGVyciA9IGhuX3Ju ZGlzX2NvbmZfcnNzKGh2LCAwKTsNCiAgICA+ID4gICAgIGlmIChlcnIpIHsNCiAgICA+ID4gICAg ICAgICAgICAgUE1EX0RSVl9MT0coTk9USUNFLA0KICAgID4gPiBAQCAtNTc4LDYgKzU4NSwxMyBA QCBzdGF0aWMgaW50IGhuX2Rldl9jb25maWd1cmUoc3RydWN0IHJ0ZV9ldGhfZGV2DQogICAgPiA+ ICpkZXYpDQogICAgPiA+ICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGVycjsNCiAgICA+ID4g ICAgICAgICAgICAgfQ0KICAgID4gPg0KICAgID4gPiArICAgICAgICAgICBlcnIgPSBobl9ybmRp c19jb25mX3JzcyhodiwgTkRJU19SU1NfRkxBR19ESVNBQkxFKTsNCiAgICA+ID4gKyAgICAgICAg ICAgaWYgKGVycikgew0KICAgID4gPiArICAgICAgICAgICAgICAgICAgIFBNRF9EUlZfTE9HKE5P VElDRSwNCiAgICA+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICJyc3MgZGlzYWJsZSBm YWlsZWQiKTsNCiAgICA+ID4gKyAgICAgICAgICAgICAgICAgICByZXR1cm4gZXJyOw0KICAgID4g PiArICAgICAgICAgICB9DQogICAgPiA+ICsNCiAgICA+ID4gICAgICAgICAgICAgZXJyID0gaG5f cm5kaXNfY29uZl9yc3MoaHYsIDApOw0KICAgID4gPiAgICAgICAgICAgICBpZiAoZXJyKSB7DQog ICAgPiA+ICAgICAgICAgICAgICAgICAgICAgUE1EX0RSVl9MT0coTk9USUNFLA0KICAgID4gPiAt LQ0KICAgID4gPiAyLjIwLjENCiAgICA+DQogICAgPiBIaSwgU3RlcGhlbiwNCiAgICA+IEkgdGhp bmsgdGhlIHBhdGNoIG9yaWdpbmFsbHkgY2FtZSBmcm9tIERvbmFsZCBMZWUgKEkgYWRkZWQgaGlt IHRvICJUbyIpLg0KICAgID4NCiAgICA+IElNTyBEb25hb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