Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3292038ybg; Sun, 20 Oct 2019 10:39:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqwfSCJ0CF91rv5NIS/C1gM2l6uQLdNodbl8SYNRbEqmuCvZiXGc7u3tmeoQRc3wbjl+Ca+b X-Received: by 2002:a05:6402:13d6:: with SMTP id a22mr20905641edx.165.1571593152080; Sun, 20 Oct 2019 10:39:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571593152; cv=none; d=google.com; s=arc-20160816; b=Oj4C9TE0Az6w3e+bdP5YInFZFhesibZjAQteClhO2zKgho6BD+e7ltU3H+EnouQBbl +USMLa9E1VOhY5FZhRp0Z+556aFNjmt5TvKCsM+3kPf/M8ipXt/5G0Kb8nRMzvKE32+X 1yd/uBEdACElHY6uC8w83jzKszXJPNWLI4LcJV0J6CcGJOiQ1cicQN5/NyrBGvYhKUl/ Bm17bwuZUlJqE34XapY2LeEebxRTZQx7OG2CrlGjczOhvBLvu1u4/yaL27cbcRfQQ5g1 QTzgXJmbiDDw16A3KtsP8hbxQNvQDpQXaAD588v5TU+p3tA0T7QXfg8IpIrPa8AvI3+7 AFqA== 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:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=vmU9pgUKQcEuMSYv/BBcahpMF4UtOam9a0i9ZLAtxwE=; b=iOyqRV5ZJrkNnQbOUUPpFtA6GO2mvu7VX4RfNZ9lbdrzewZv4hn2jyy14l64Z/kwo9 UEDT2WCTgBQn1+aZrwm+FUKyFG0hMHoPf2tPV2mi6c2Qm/TO/W/asxL9FG7D95w2Yi4C fzL9zvL0SSTWuFw+QGrE9S3YfuQhpFmEdindKi86vTr0ZxUfLGpaW2gfr3RIjc832qG9 +MQm1J1kitFImeFyym6tvM3DrEkCLbhaabGaVKKzYzAxjnprr4PbtHJrh1ZEKumUrH0F mUYJSR3SvJ6oXmkVNA3zZUx55RxWbw+NahUdDQrNjFj+4dWKSE25g6ZMuERfDs7Bqeyx RNKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=qKEkBRN+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h50si8326051ede.423.2019.10.20.10.38.45; Sun, 20 Oct 2019 10:39:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=qKEkBRN+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726706AbfJTRhf (ORCPT + 99 others); Sun, 20 Oct 2019 13:37:35 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:43030 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726556AbfJTRhf (ORCPT ); Sun, 20 Oct 2019 13:37:35 -0400 Received: by mail-pf1-f195.google.com with SMTP id a2so6836345pfo.10 for ; Sun, 20 Oct 2019 10:37:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=vmU9pgUKQcEuMSYv/BBcahpMF4UtOam9a0i9ZLAtxwE=; b=qKEkBRN+OgbmOLStSpTKuai/Xfu9qXtg1CINfl5SyuNp17UtrCIRg4cYlTHvTP7jvi iySsIaj77Mkq5ikwpFE1Xm/HeB9gXw7gMQ9+8+PbXbc8crqm0BUMsyzxHH8y43gvMhWM ZPqaZTwEpYG8bwy6YiqNQc1EtjsPyI3fSxBuepTvDf3qjb3uJLon9kJhgE/dinrNL/1d KZru/zmy2IyvTIGkhnRqVhuRfzge3ksp3hSNQjh9rO7kaCgQf1K9d8g2B0hgk4eiYUK6 2caH3dikfd1EuVemAEzIBBhrl8BglKur+OZCB/z0GRnm39nGICVdA73ecO+5tC5KLM6h coHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=vmU9pgUKQcEuMSYv/BBcahpMF4UtOam9a0i9ZLAtxwE=; b=hi170lBAhusHMVVEhaGNS9dqp1b9PTzKV1Sf789lr5t8plfOVNt0mtyOupd/d4/NJL N085VvE550KusB29Sa/qj8S/fsOBFd6S0aV12TiFkPYujFTYPz3k+GS2lWGxhXdpIL+K fX1RHsa5bBNpl1nQqBL3vj5jZz4E8fOqymR3nzOQeyGnAui7XxaAzjOgLAAB22dkb6By s54b8egwkaYYxjUytm0pw0Qe5pbftrnKgnQABoP/zVsYK313TtywWMu7FEt3/JSZNlrM AzlOdGsuZBRp1m434j753SRwcN46E3HmmPEwke2aWuyTRAn2QWcUlByZ81Pky9refMXa PN2g== X-Gm-Message-State: APjAAAUFxZWdl2UiAIoh8R0c3PVw+n3DN12vyAqA75h19HpCT4sKjuBa MzJ0T7Lsf0cRsOkJQs1Sws9v5Q== X-Received: by 2002:a63:4622:: with SMTP id t34mr21669219pga.0.1571593052820; Sun, 20 Oct 2019 10:37:32 -0700 (PDT) Received: from cakuba.netronome.com (c-73-202-202-92.hsd1.ca.comcast.net. [73.202.202.92]) by smtp.gmail.com with ESMTPSA id e192sm13018937pfh.83.2019.10.20.10.37.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2019 10:37:32 -0700 (PDT) Date: Sun, 20 Oct 2019 10:37:29 -0700 From: Jakub Kicinski To: Huazhong Tan Cc: , , , , , Subject: Re: [PATCH net-next 0/8] net: hns3: add some cleanups & optimizations Message-ID: <20191020103729.0aebf696@cakuba.netronome.com> In-Reply-To: <1571472236-17401-1-git-send-email-tanhuazhong@huawei.com> References: <1571472236-17401-1-git-send-email-tanhuazhong@huawei.com> Organization: Netronome Systems, Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 19 Oct 2019 16:03:48 +0800, Huazhong Tan wrote: > This patchset includes some cleanups and optimizations for the HNS3 > ethernet driver. > > [patch 1/8] removes unused and unnecessary structures. > > [patch 2/8] uses a ETH_ALEN u8 array to replace two mac_addr_* > field in struct hclge_mac_mgr_tbl_entry_cmd. > > [patch 3/8] optimizes the barrier used in the IO path. > > [patch 4/8] introduces macro ring_to_netdev() to get netdevive > from struct hns3_enet_ring variable. > > [patch 5/8] makes struct hns3_enet_ring to be cacheline aligned > > [patch 6/8] adds a minor cleanup for hns3_handle_rx_bd(). > > [patch 7/8] removes linear data allocating for fraglist SKB. > > [patch 8/8] clears hardware error when resetting. > > --- > note: > In previous patchset, there are some bugfixes which needs below > new feature, which is only in 'net-next' but not in 'net' now: > net: hns3: support tx-scatter-gather-fraglist feature > net: hns3: add support for spoof check setting > > So, these bugfixes will be upstreamed when the patch needed is > on 'net' tree. Thanks! Looks good to me now.