From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <dev-bounces@dpdk.org> Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 773DF42D08; Tue, 20 Jun 2023 15:15:08 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0B6D24068E; Tue, 20 Jun 2023 15:15:08 +0200 (CEST) Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by mails.dpdk.org (Postfix) with ESMTP id 385BC400D6; Tue, 20 Jun 2023 15:15:06 +0200 (CEST) Received: from kwepemi500012.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4Qln8r0TCtzMpQZ; Tue, 20 Jun 2023 21:11:56 +0800 (CST) Received: from [10.78.231.32] (10.78.231.32) by kwepemi500012.china.huawei.com (7.221.188.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 20 Jun 2023 21:15:03 +0800 Message-ID: <5eceb17a-adf4-11e3-4274-0d6e111b091d@huawei.com> Date: Tue, 20 Jun 2023 21:15:02 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.0.3 Subject: Re: [PATCH v3] net/bonding: fix bond startup failure when NUMA is -1 To: =?UTF-8?Q?Niklas_S=c3=b6derlund?= <niklas.soderlund@corigine.com>, Ferruh Yigit <ferruh.yigit@amd.com> CC: Chaoyong He <chaoyong.he@corigine.com>, <dev@dpdk.org>, <oss-drivers@corigine.com>, Zerun Fu <zerun.fu@corigine.com>, <stable@dpdk.org>, Peng Zhang <peng.zhang@corigine.com>, Long Wu <long.wu@corigine.com> References: <20230616071558.1278520-1-chaoyong.he@corigine.com> <20230616072034.1278546-1-chaoyong.he@corigine.com> <da8b5b45-5562-a904-b521-0695b83c2a05@huawei.com> <3237ae77-bd68-cffa-f1f6-537ff871496e@amd.com> <ZJGHibOwuS0Yl45Q@oden.dyn.berto.se> From: "humin (Q)" <humin29@huawei.com> In-Reply-To: <ZJGHibOwuS0Yl45Q@oden.dyn.berto.se> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.78.231.32] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To kwepemi500012.china.huawei.com (7.221.188.12) X-CFilter-Loop: Reflected X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Hi, Niklas, Ferruh, 在 2023/6/20 19:03, Niklas Söderlund 写道: > Hi Connor and Ferruh, > > On 2023-06-19 09:57:17 +0100, Ferruh Yigit wrote: >> On 6/16/2023 1:00 PM, humin (Q) wrote: >>> Hi, >>> >>> 在 2023/6/16 15:20, Chaoyong He 写道: >>>> From: Zerun Fu <zerun.fu@corigine.com> >>>> >>>> After the mainline Linux kernel commit >>>> "fe205d984e7730f4d21f6f8ebc60f0698404ac31" (ACPI: Remove side effect >>>> of partly creating a node in acpi_map_pxm_to_online_node) by >>>> Jonathan Cameron. When the system does not support NUMA architecture, >>>> the "socket_id" is expected to be -1. The valid "socket_id" in >>>> BOND PMD is greater than or equal to zero. So it will cause an error >>>> when DPDK checks the validity of the "socket_id" when starting the >>>> bond. This commit can fix this bug. >>>> >>>> Fixes: f294e04851fd ("net/bonding: fix socket ID check") >>>> Cc: stable@dpdk.org >>>> >>>> Signed-off-by: Zerun Fu <zerun.fu@corigine.com> >>>> Reviewed-by: Peng Zhang <peng.zhang@corigine.com> >>>> Reviewed-by: Chaoyong He <chaoyong.he@corigine.com> >>>> Reviewed-by: Long Wu <long.wu@corigine.com> >>> No need add your colleagues unless they "reviwed-by" through email-list. >>> >> Hi Connor, >> >> This is done time to time, if code is already internally reviewed, send >> review/ack tags within the patch, to reduce noise in the mail list. > This is the reason why patches from us usually have 1 or 2 R-b tags when > we post to the list. We have an internal review and CI pipeline we run > patches thru to reduce the noise at the list and to not waste upstream > review resources. > > We follow the DPDK workflow internally before we submit patches to the > public mailing list. I hope we can continue to do so and add R-b tags, > as they represent real effort by the developers. Actually, this is an interesting story. The reason why I said so is I met same circumstances a few years ago. Then I sent one patch with R-b tags which added internally by my colleagues. Someone from mail-list said this was not right. From then on, every time I send patches, I will delete R-b tags and send to mail-list. > >> It looks like there were additional reviewers of code, which is good, >> but it requires maintainers' (you and Chas) ack to get accepted. >>