Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1405255ybz; Sat, 25 Apr 2020 18:32:49 -0700 (PDT) X-Google-Smtp-Source: APiQypKkpEagc6sP5/SOcxpZX7ECdSgyKAfxBBBXD+HAPA1Vq3tDspsOVp6msDvK1lu/NkUB6SWJ X-Received: by 2002:a17:906:4714:: with SMTP id y20mr14080757ejq.5.1587864769519; Sat, 25 Apr 2020 18:32:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587864769; cv=none; d=google.com; s=arc-20160816; b=sDVgp2rtiWriZYg+greO9o1WpTXX8fdDWE6zrx/iSGddVC+sAMsELWMDOaR/CPVS8Z 1JdegYaInKXuapbzgsZuv9B725RLkDbTjSbokFnCyjF3MXRSbMSi8lcGciTUeT1sWtjJ EwivrkXfToMqKm1KVE2+/Mzca/PTQsS98PJC/mVaHojvKd7ZB8SOVA+ey3b/ydNh1B04 v4F4nBiFkx0N8Z2z8koIQ6jcq6+1HE+SL97w2oK1QthUtIDKBHTaZB5ZZtYmRNeefZAa 84O1qs07N5WLCmJel90I4A4V9GfgCfSp+kizBJODcTWfGD4yzkMArMJFkbyf7+wGfA4d qYQg== 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=LGgrRMZoM3Cd5Ne4KZCUAhD3odoqO0TXH2zs/2MiNiw=; b=c+i8JX6oAh400eK5xYhAOMll18eBSYWt9U+Rt7PLSQ3f/xoo3DATK9rIOKjUCxfW9G zbaxKV2onOZ/yNrRqSgsPddqPDfsht939314MtFQX04VFcYX8SjDGp98cZX5CMiMAo84 w5HkXo1HX4HssT8vhs/y58kACF7VXL+UUvgGuxGisRnNfS2rH8xAomlGXVM6N13RLVu6 iSbNTy04ZRPGB9Dzl6+HFhvlUIYRxdoDmsGS5WGEz1vPw+1hjWjzmB9HTDxfhbC9YgHe G+qJYxorEnyMuGcmD9zqToYxQx+ap17wUAP+4KQ+NUwoaSMzINB3nBX2oeHqzE+yDOdk 0ZOA== 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 j5si6176330ejj.183.2020.04.25.18.32.26; Sat, 25 Apr 2020 18:32:49 -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 S1726295AbgDZB2z (ORCPT + 99 others); Sat, 25 Apr 2020 21:28:55 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:39162 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725931AbgDZB2z (ORCPT ); Sat, 25 Apr 2020 21:28:55 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 4B3DA6AC6244B916A3CC; Sun, 26 Apr 2020 09:28:52 +0800 (CST) Received: from [127.0.0.1] (10.74.149.191) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.487.0; Sun, 26 Apr 2020 09:28:43 +0800 Subject: Re: [PATCH net-next 0/8] net: hns3: refactor for MAC table To: Jakub Kicinski CC: , , , , , References: <1587694993-25183-1-git-send-email-tanhuazhong@huawei.com> <20200424162325.4547ce9c@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> From: tanhuazhong Message-ID: Date: Sun, 26 Apr 2020 09:28:42 +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: <20200424162325.4547ce9c@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.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 On 2020/4/25 7:23, Jakub Kicinski wrote: > On Fri, 24 Apr 2020 10:23:05 +0800 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. > > Looks like in patch 2 you could also remove the check if allocated_size > is NULL if there is only once caller ;) But that's a nit, series seems > okay: > > Acked-by: Jakub Kicinski > Will send a V2 to remove it. Thanks :) > . >