From patchwork Thu Jun 28 04:12:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "lipeng (Y)" X-Patchwork-Id: 935914 Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) 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 41GQZJ5fDdz9ryk for ; Thu, 28 Jun 2018 13:42:00 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753314AbeF1DlT (ORCPT ); Wed, 27 Jun 2018 23:41:19 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:8743 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753194AbeF1DlO (ORCPT ); Wed, 27 Jun 2018 23:41:14 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 6F850A8BA4930; Thu, 28 Jun 2018 11:40:58 +0800 (CST) Received: from linux-ioko.site (10.71.200.31) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.382.0; Thu, 28 Jun 2018 11:40:51 +0800 From: Peng Li To: CC: , , , , , Subject: [PATCH net-next 00/11] net: hns3: a few code improvements Date: Thu, 28 Jun 2018 12:12:18 +0800 Message-ID: <1530159149-122284-1-git-send-email-lipeng321@huawei.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [10.71.200.31] X-CFilter-Loop: Reflected Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This patchset fixes a few code stylistic issues from concentrated review, no functional changes introduced. Huazhong Tan (2): net: hns3: remove back in struct hclge_hw net: hns3: use lower_32_bits and upper_32_bits Peng Li (9): net: hns3: remove hclge_get_vector_index from hclge_bind_ring_with_vector net: hns3: rename the interface for init_client_instance and uninit_client_instance net: hns3: add vector status check before free vector net: hns3: add l4_type check for both ipv4 and ipv6 net: hns3: add unlikely for error check net: hns3: remove unused head file in hnae3.c net: hns3: extraction an interface for state init|uninit net: hns3: print the ret value in error information net: hns3: remove the Redundant put_vector in hns3_client_uninit drivers/net/ethernet/hisilicon/hns3/hnae3.c | 18 ++++--- drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 18 +++---- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c | 12 ++--- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 49 +++++++++++------ .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 1 - .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 61 ++++++++++------------ 6 files changed, 85 insertions(+), 74 deletions(-)