From patchwork Fri Mar 6 02:57:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tanhuazhong X-Patchwork-Id: 1250001 Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=huawei.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 48YXPM0Krlz9sRY for ; Fri, 6 Mar 2020 13:58:31 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727269AbgCFC63 (ORCPT ); Thu, 5 Mar 2020 21:58:29 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:38194 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726565AbgCFC6B (ORCPT ); Thu, 5 Mar 2020 21:58:01 -0500 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 50BE53FB20E2953A6B1C; Fri, 6 Mar 2020 10:57:58 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.439.0; Fri, 6 Mar 2020 10:57:47 +0800 From: Huazhong Tan To: CC: , , , , , , Huazhong Tan Subject: [PATCH net-next 0/9] net: hns3: misc updates for -net-next Date: Fri, 6 Mar 2020 10:57:09 +0800 Message-ID: <1583463438-60953-1-git-send-email-tanhuazhong@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This series includes some misc updates for the HNS3 ethernet driver. [patch 1] fixes some mixed type operation warning. [patch 2] renames a macro to make it more readable. [patch 3 & 4] removes some unnecessary code. [patch 5] adds check before assert VF reset to prevent some unsuitable error log. [patch 6 - 9] some modifications related to printing. Guojia Liao (2): net: hns3: fix some mixed type assignment net: hns3: delete some reduandant code Huazhong Tan (2): net: hns3: print out status register when VF receives unknown source interrupt net: hns3: synchronize some print relating to reset issue Yonglong Liu (1): net: hns3: add a check before PF inform VF to reset Yufeng Mo (4): net: hns3: rename macro HCLGE_MAX_NCL_CONFIG_LENGTH net: hns3: remove an unnecessary resetting check in hclge_handle_hw_ras_error() net: hns3: print out command code when dump fails in debugfs net: hns3: delete unnecessary logs after kzalloc fails drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 4 +- .../ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c | 94 ++++++++++++---------- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c | 3 - .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 27 ++++--- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 5 +- 5 files changed, 74 insertions(+), 59 deletions(-)