From patchwork Sat Apr 1 11:03:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Salil Mehta X-Patchwork-Id: 96540 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp1115065qgd; Sat, 1 Apr 2017 04:05:06 -0700 (PDT) X-Received: by 10.84.178.101 with SMTP id y92mr8632082plb.171.1491044706679; Sat, 01 Apr 2017 04:05:06 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s26si7892132pfk.332.2017.04.01.04.05.06; Sat, 01 Apr 2017 04:05:06 -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; 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 S1752045AbdDALFF (ORCPT + 21 others); Sat, 1 Apr 2017 07:05:05 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:4895 "EHLO dggrg02-dlp.huawei.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751562AbdDALFD (ORCPT ); Sat, 1 Apr 2017 07:05:03 -0400 Received: from 172.30.72.55 (EHLO DGGEML403-HUB.china.huawei.com) ([172.30.72.55]) by dggrg02-dlp.huawei.com (MOS 4.4.6-GA FastPath queued) with ESMTP id AKY13218; Sat, 01 Apr 2017 19:04:58 +0800 (CST) Received: from S00293818-DELL1.china.huawei.com (10.203.181.152) by DGGEML403-HUB.china.huawei.com (10.3.17.33) with Microsoft SMTP Server id 14.3.301.0; Sat, 1 Apr 2017 19:04:48 +0800 From: Salil Mehta To: CC: , , , , , Subject: [PATCH V4 net-next 00/18] net: hns: Misc. HNS Bug Fixes & Code Improvements Date: Sat, 1 Apr 2017 12:03:30 +0100 Message-ID: <20170401110348.15908-1-salil.mehta@huawei.com> X-Mailer: git-send-email 2.8.3 MIME-Version: 1.0 X-Originating-IP: [10.203.181.152] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020204.58DF895B.0032, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 417c15fd6f8a2feee1c6200a07aaf8d0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set introduces various HNS bug fixes, optimizations and code improvements. Daode Huang (1): net: hns: bug fix of ethtool show the speed Kejian Yan (7): net: hns: Remove the redundant adding and deleting mac function net: hns: Remove redundant mac_get_id() net: hns: Remove redundant mac table operations net: hns: Clean redundant code from hns_mdio.c file net: hns: Optimise the code in hns_mdio_wait_ready() net: hns: Simplify the exception sequence in hns_ppe_init() net: hns: Adjust the SBM module buffer threshold Salil Mehta (1): net: hns: Some checkpatch.pl script & warning fixes lipeng (9): net: hns: Fix the implementation of irq affinity function net: hns: Modify GMAC init TX threshold value net: hns: Optimize the code for GMAC pad and crc Config net: hns: Remove redundant memset during buffer release net: hns: Optimize hns_nic_common_poll for better performance net: hns: Fix to adjust buf_size of ring according to mtu net: hns: Replace netif_tx_lock to ring spin lock net: hns: Correct HNS RSS key set function net: hns: Avoid Hip06 chip TX packet line bug drivers/net/ethernet/hisilicon/hns/hnae.c | 7 +- drivers/net/ethernet/hisilicon/hns/hnae.h | 47 ++- drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 127 +++++-- drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c | 61 ++-- drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c | 41 +-- drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h | 5 +- drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c | 249 +------------ drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h | 14 +- drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c | 17 +- drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c | 143 ++++++-- drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.h | 26 +- drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h | 6 +- .../net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c | 13 - drivers/net/ethernet/hisilicon/hns/hns_enet.c | 400 ++++++++++++++++----- drivers/net/ethernet/hisilicon/hns/hns_enet.h | 3 +- drivers/net/ethernet/hisilicon/hns/hns_ethtool.c | 34 +- drivers/net/ethernet/hisilicon/hns_mdio.c | 20 +- 17 files changed, 653 insertions(+), 560 deletions(-) -- 2.7.4