From patchwork Thu Mar 30 15:30:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Salil Mehta X-Patchwork-Id: 96300 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp294347qgd; Thu, 30 Mar 2017 08:32:36 -0700 (PDT) X-Received: by 10.99.115.16 with SMTP id o16mr345608pgc.4.1490887956586; Thu, 30 Mar 2017 08:32:36 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r10si2476178pfb.84.2017.03.30.08.32.36; Thu, 30 Mar 2017 08:32:36 -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 S934635AbdC3Pce (ORCPT + 20 others); Thu, 30 Mar 2017 11:32:34 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:4828 "EHLO dggrg01-dlp.huawei.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S933959AbdC3Pcb (ORCPT ); Thu, 30 Mar 2017 11:32:31 -0400 Received: from 172.30.72.55 (EHLO DGGEML402-HUB.china.huawei.com) ([172.30.72.55]) by dggrg01-dlp.huawei.com (MOS 4.4.6-GA FastPath queued) with ESMTP id ALT84635; Thu, 30 Mar 2017 23:32:20 +0800 (CST) Received: from S00293818-DELL1.china.huawei.com (10.203.181.152) by DGGEML402-HUB.china.huawei.com (10.3.17.38) with Microsoft SMTP Server id 14.3.301.0; Thu, 30 Mar 2017 23:32:12 +0800 From: Salil Mehta To: CC: , , , , , Subject: [PATCH net 00/19] net: hns: Misc. HNS Bug Fixes & Code Improvements Date: Thu, 30 Mar 2017 16:30:47 +0100 Message-ID: <20170330153106.14344-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.0A020201.58DD2504.02DE, 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: c42a65d8fc8e79cbc66b0c5a13412a08 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 (10): 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: Change the TX queue selection algorithm 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 | 49 ++- drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 132 ++++-- 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 | 463 +++++++++++++++++---- 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, 723 insertions(+), 560 deletions(-) -- 2.7.4