Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1483797ybz; Sat, 25 Apr 2020 20:47:03 -0700 (PDT) X-Google-Smtp-Source: APiQypJOOFI2o0Tsok388cLTZBGV7GiNxCxODsAO/9QLrUPs6QchtzPxRsD8tD84v0VnlDQFcXab X-Received: by 2002:a17:906:2d4a:: with SMTP id e10mr14420361eji.222.1587872823530; Sat, 25 Apr 2020 20:47:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587872823; cv=none; d=google.com; s=arc-20160816; b=fcC7EFgLYarqn/DtMij+AEz7i4ktgx0TSHz+YbEPXG2nU4AVg/Nukm6Jmr832TCb1g kpTSdZor0oMLyv6SPbYrZ9LU2Y5p+t2IRsGdgmSxT5ZaTBJX6doGI5s45a8CR3c+qX05 H2BT81dSQ1r3J9ob0rYFKh3kccEXR6D5uNTa/DSgwij1bXTogml4GCj9p+sQbTLVXu0v Vtnl/UmhavX86U23Jfz76j4HL7hcjj2WmOQiDlUGXqORwwED/nMYW4lRs/EFFH1ArOha aqXjXCn0mOR015lRNClJixkVU7eL+NZrTqJPs4R8ysRtm2iQ2lUDJH8D5k7knKrYXW2R 72fA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=qSo2+XGQqe5bDTQTqCq4ILXNMJ8uQtOtayEq++mhs6g=; b=no0mXxqI7id+QT54SXReXbWWazI9WE8MgXKdEZAav4JoELVKzr5Z23ZqVqXOUJ6zyv Uji4u4LTSwsouTRdq9dwWX6nel7b8MAMHrWrfnsH1gypgH+5mqE8aIrTOwlJAcig3YiC 2fEQSGqi87Fo4BSxzwu+DKOQ4yuTIiF0TQ6+JABkKUwHcniHYDON/9MZemW6wC0w4+yG r5rskIgOa/xz05RI9DOBxt0R7YFb4YVoB45w3Lx2wnQxWS7gOkAGpogdvbTNB9Hf+s+O HRrcux64/yyXQCijr5pY7FiDopi3nONBOnkQzDhIgncIMWipX2SU6gRRx2Tu6oOslRfW +3zQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mh26si5809042ejb.177.2020.04.25.20.46.40; Sat, 25 Apr 2020 20:47:03 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726196AbgDZDo2 (ORCPT + 99 others); Sat, 25 Apr 2020 23:44:28 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:3297 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726100AbgDZDo2 (ORCPT ); Sat, 25 Apr 2020 23:44:28 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 8532E37D87923294FFF5; Sun, 26 Apr 2020 11:44:24 +0800 (CST) Received: from [127.0.0.1] (10.74.149.191) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.487.0; Sun, 26 Apr 2020 11:44:18 +0800 Subject: Re: [PATCH V2 net-next 0/9] net: hns3: refactor for MAC table To: CC: , , , , , References: <1587867228-9955-1-git-send-email-tanhuazhong@huawei.com> From: tanhuazhong Message-ID: Date: Sun, 26 Apr 2020 11:44:18 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <1587867228-9955-1-git-send-email-tanhuazhong@huawei.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.74.149.191] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, david. This V2 only adds patch #9 in V1. Since V1 has applied, could you pick patch #9 from V2, or i just resend patch #9? Thanks:) On 2020/4/26 10:13, Huazhong Tan wrote: > This patchset refactors the MAC table management, configure > the MAC address asynchronously, instead of synchronously. > Base on this change, it also refines the handle of promisc > mode and filter table entries restoring after reset. > > change logs: > V2: add patch #9 to remove an unnecessary NULL check suggested > by Jakub Kicinski. > > Huazhong Tan (1): > net: hns3: remove an unnecessary check in hclge_set_umv_space() > > Jian Shen (8): > net: hns3: refine for unicast MAC VLAN space management > net: hns3: remove unnecessary parameter 'is_alloc' in > hclge_set_umv_space() > net: hns3: replace num_req_vfs with num_alloc_vport in > hclge_reset_umv_space() > net: hns3: refactor the MAC address configure > net: hns3: add support for dumping UC and MC MAC list > net: hns3: refactor the promisc mode setting > net: hns3: use mutex vport_lock instead of mutex umv_lock > net: hns3: optimize the filter table entries handling when resetting > > drivers/net/ethernet/hisilicon/hns3/hclge_mbx.h | 5 + > drivers/net/ethernet/hisilicon/hns3/hnae3.h | 8 +- > drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c | 2 + > drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 152 +--- > drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 10 +- > drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 2 +- > .../ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c | 51 ++ > .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 868 ++++++++++++++++----- > .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 33 +- > .../net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c | 70 +- > .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 368 ++++++++- > .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h | 26 + > 12 files changed, 1166 insertions(+), 429 deletions(-) >