Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4199478pxf; Tue, 6 Apr 2021 10:11:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzg5et4DlD8Uetdbd7XYrFgkai0/zpqsCXGg9dUXPumz0+hXdU4rkkzyWeNBMaKM06Xv9k+ X-Received: by 2002:a6b:b251:: with SMTP id b78mr24200136iof.95.1617729066245; Tue, 06 Apr 2021 10:11:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617729066; cv=none; d=google.com; s=arc-20160816; b=SM8Ih0r5Cfx8HuU4XyzlC1YaOg3lELQi3WpaoiQ1uhs8cWVFRO9eLMXpLnQyhg4fZa gPdasq2M9V7og/0463WnHpFypCgy7JOXPvnKsfTb06Se2yjsYLNnqtCsdaMohs9+AOGz 6JqRWYhgUo5TEFSl2Xq1QeUfWpE11aTlgOYlmxSTwokgSJALb4QZeC3whXGpIC70I/6e WSnMbveRK5jVy/kBTKVCebqF1OlZCHxXggL+/MtHZIN1iVct2aU8JIqo0f8z7HXYGCOn a1BqdGeY+gswJ6rss313rq9rNdVF279+v6tgH2qPM9Ftdmvaqs7ZPsOlbifdJVsBJTMA BVCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=vtNwM1rA68clHYE0MqBQMT9gXhg2rbJJ0BkVPQykNg4=; b=Xag6BB/i2BOzuDTXNWWhj2RrT4wNuUMq9B9VsNw8znadk66yZ841er0wjYCtFyNE5g wLIMThhI+Ao8ite7eKkP2/g9sJNK0YK+7QpowR2pGdfbKhuq6a7/RpbThhciK0lZB4b9 BW2zF7GQQgp+KHGevGAE3572Wqc0DWtFdic1O/LHQrDLC3t6mtjTLt8w387AcvVBwsM7 JxEe+csF0WJ8fr4c0WnZrdXuqc7sbKYyYxr2v4yW3TizQTZCSDQRXZihHg/ElZYTSXQ2 pqouV/XfU7aIfnIFYThOu4+ea4X1DH6Y95PyAkkA2y0moY41vevnaxDm6w+b/PtxJsIg H9Mg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v12si19491241jas.56.2021.04.06.10.10.53; Tue, 06 Apr 2021 10:11:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244386AbhDFIgz (ORCPT + 99 others); Tue, 6 Apr 2021 04:36:55 -0400 Received: from frasgout.his.huawei.com ([185.176.79.56]:2762 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234953AbhDFIgx (ORCPT ); Tue, 6 Apr 2021 04:36:53 -0400 Received: from fraeml706-chm.china.huawei.com (unknown [172.18.147.226]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4FF13007C3z687ZC; Tue, 6 Apr 2021 16:31:40 +0800 (CST) Received: from lhreml707-chm.china.huawei.com (10.201.108.56) by fraeml706-chm.china.huawei.com (10.206.15.55) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2106.2; Tue, 6 Apr 2021 10:36:44 +0200 Received: from lhreml703-chm.china.huawei.com (10.201.108.52) by lhreml707-chm.china.huawei.com (10.201.108.56) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2106.2; Tue, 6 Apr 2021 09:36:43 +0100 Received: from lhreml703-chm.china.huawei.com ([10.201.68.198]) by lhreml703-chm.china.huawei.com ([10.201.68.198]) with mapi id 15.01.2106.013; Tue, 6 Apr 2021 09:36:43 +0100 From: Salil Mehta To: "davem@davemloft.net" , "kuba@kernel.org" CC: "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Linuxarm , "linuxarm@openeuler.org" Subject: RE: [Linuxarm] Re: [PATCH net] net: hns3: Limiting the scope of vector_ring_chain variable Thread-Topic: [Linuxarm] Re: [PATCH net] net: hns3: Limiting the scope of vector_ring_chain variable Thread-Index: AQHXKkE/K8at3CzCL0GXC2nZ4TjLkKqma5uAgAC7QdA= Date: Tue, 6 Apr 2021 08:36:43 +0000 Message-ID: <50c5a2d96e174e76afa4eada669c7b26@huawei.com> References: <20210405172825.28380-1-salil.mehta@huawei.com> <161766060973.24414.1256394756703505340.git-patchwork-notify@kernel.org> In-Reply-To: <161766060973.24414.1256394756703505340.git-patchwork-notify@kernel.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.47.71.1] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgRGF2ZSwNCkhvcGUgSSBhbSBub3QgbWlzc2luZyBzb21ldGhpbmcgYW5kIG5vdCBzdXJlIGhv dyB0aGlzIHBhdGNod29yayBib3Qgd29ya3MsDQp0aGUgcGF0Y2ggd2FzIHNlbnQgZm9yIC1uZXQg cmVwbyAoaS5lLiBidWcgZml4ZXMgYnJhbmNoKSBidXQgaXQgZ290IGFwcGxpZWQNCnRvIHRoZSAt bmV0LW5leHQgcmVwby4NCg0KPiBTdWJqZWN0OiB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