Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3618767pxk; Mon, 7 Sep 2020 20:06:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4a8mlM6c8Nu55xfShHswWUnnWNYFEt4fS5U/7H/gN8UlqiKSxv06lig+fmWJAm474Tm+z X-Received: by 2002:a05:6402:114d:: with SMTP id g13mr24254488edw.157.1599534417792; Mon, 07 Sep 2020 20:06:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599534417; cv=none; d=google.com; s=arc-20160816; b=YOxEshuZC6xXsHN9aN2Wjif3QEUihMz1lfttcv5dbdeaFRDiwI4R0WnUtuFyXkYgBG ejg7TFD6xbGJrd6KksXUfM0RhLZy/5VjVMWO57D1RME1BVZ5aIWE+EmHMRpf+9tGNg2a L3BBpjJIHHtOaeyZZK7mjWUFWafMHVrEpLRZ94PwyTbFKikvEBsQmT7VBbGJ+ALSElZ+ yuu+IFBWIJyeJr0y2yXE/3FGE0GV3CuaNKAIAu/GPKNBYTJCx3AxgJ0S2sXzzY7oxIlJ hWmq3DhSwLgkXWE+JVOX6eXNeY3e4MndLUtTMKBikzTvgML1gYERYhNjK4ItJ+5C073P HK+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=4p1GvfvOC++s27lRvUL1+ZyCqB8ygMwOCWC9vpxwU0U=; b=rIVjIOjiWbYHqNWO9LbdUDYiJI/JhdzyadN95n0PcC3qAZWAKBSAdsRvRwz1+2DnFM 9jntXmvxLA9Vu9Q2cv/5OgttpEAfGuTgs5jkTe/2SIlgHkLtkGvCtreD0zc8RJAuWnXV MQ5eJFMEp4TmM7dvucxN36YGUzQH3ShmqfUZvChuQgOl8aZkFJet3LLXy9oaqovIgxPZ 5OJhxvh4JHQ7XwcmpXs5cnTT0u6yEzhgqcvyfbNY4a+TsiOMH1PWywTBuXpD6oDjCXkT ju8ZyXw+c6QIt9fsk7aKiWPQNPvhE408PwhEiAwheNCxt1oQsc/KWUOTTJ9SdctoauD8 E8AA== 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 v10si10442849edy.425.2020.09.07.20.06.36; Mon, 07 Sep 2020 20:06:57 -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 S1728775AbgIHDDP (ORCPT + 99 others); Mon, 7 Sep 2020 23:03:15 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:11252 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728372AbgIHDCa (ORCPT ); Mon, 7 Sep 2020 23:02:30 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 9E815FCC73654E726394; Tue, 8 Sep 2020 11:02:27 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.487.0; Tue, 8 Sep 2020 11:02:18 +0800 From: Huazhong Tan To: CC: , , , , , , Huazhong Tan Subject: [PATCH net-next 0/7] net: hns3: misc updates Date: Tue, 8 Sep 2020 10:59:47 +0800 Message-ID: <1599533994-32744-1-git-send-email-tanhuazhong@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There are some misc updates for the HNS3 ethernet driver. #1 narrows two local variable range in hclgevf_reset_prepare_wait(). #2 adds reset failure check in periodic service task. #3~#7 adds some cleanups. Guangbin Huang (2): net: hns3: skip periodic service task if reset failed net: hns3: fix a typo in struct hclge_mac Guojia Liao (1): net: hns3: remove some unused function hns3_update_promisc_mode() Huazhong Tan (4): net: hns3: narrow two local variable range in hclgevf_reset_prepare_wait() net: hns3: remove unused field 'io_base' in struct hns3_enet_ring net: hns3: remove unused field 'tc_num_last_time' in struct hclge_dev net: hns3: remove some unused macros related to queue drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 16 ---------------- drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 7 ------- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 3 +++ drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 3 +-- .../net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 15 +++++++++------ 5 files changed, 13 insertions(+), 31 deletions(-) -- 2.7.4