From patchwork Fri May 25 18:42:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Salil Mehta X-Patchwork-Id: 136977 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3943208lji; Fri, 25 May 2018 11:44:54 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq8V+wKsSZbaOhF/DwBEhAvbbjosxlCDxr7ZiiK762MA1xjL06Szd9Bo8/n2oa1gYan46rM X-Received: by 2002:a17:902:1081:: with SMTP id c1-v6mr3596014pla.153.1527273894808; Fri, 25 May 2018 11:44:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527273894; cv=none; d=google.com; s=arc-20160816; b=k5HGpCCsax5hvXTXHLC4yk+47g7bl6ixboSuU+CL1M0+pCwaYwuGWZPeVAP7NwOv7v gwRbpj8LIy+P9qOePz0PKSl4T00xeIx6gozirkyrXtCKyS4iH+zupAR4+Xr/KffXSlYP 9pH4RuWRyaLI5FdOLIAazdBgWm3EuOnfeQHGzl8Wb4YHAAopV2DidDohC1LMIfsWKKWD 9/sYYS3ae1KbK2G49OsckTO1TrFNQOac64IU7H/c0Is6Ok36cMjjQuTADMI4eioSqPpl 2FTLTGyOZDcq3h/bvrQ6R/esKozVw1GeM/z5gmOz40J9iR/v+ucjA48CWodhKnY7J3Qc oNEw== 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:arc-authentication-results; bh=ojEkr34iwsPZ5zSOoUM2PBO9Rlop8mjeNBHKjLZxLGk=; b=cgXoXx5BmWKWXpbIIJE0pMFVrc+SxWD6shEQF37K/R/6itkP3AJ7MufFlx6fSr2Gy+ jS75/+6wpGy8bSFP9hjGr1tqxz2cGbsWpjHD+tF8BoexjeW1iWI4Qb/XL+gqitUzOnyR AWyOiFK6lG67ZUy5IQBRfn8ZYOixBN/w1FO+LOZ4pVVMB2rY/9FBI9SibQh6t+TeiUcu pNy8khNeIjrutQrleFf9w9XsRx34N0zZo4RLwHd/WKtvb3IUP51+UTTik7Y7FM92avnn LALS7LTyzO/BY5V21S1bQsTAoi5MNjsGTX/qfTsJQEDlqCZCvj2qNDEU6S/PtXAr5siA mOrA== ARC-Authentication-Results: i=1; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x14-v6si19223838pgq.512.2018.05.25.11.44.54; Fri, 25 May 2018 11:44:54 -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 S967983AbeEYSow (ORCPT + 30 others); Fri, 25 May 2018 14:44:52 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:8140 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S967598AbeEYSoo (ORCPT ); Fri, 25 May 2018 14:44:44 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id CCF55B448E658; Sat, 26 May 2018 02:44:30 +0800 (CST) Received: from S00293818-DELL1.china.huawei.com (10.202.227.234) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.382.0; Sat, 26 May 2018 02:44:22 +0800 From: Salil Mehta To: CC: , , , , , , Subject: [PATCH net-next 00/12] Misc. bug fixes & some minor additions to HNS3 driver Date: Fri, 25 May 2018 19:42:55 +0100 Message-ID: <20180525184307.36288-1-salil.mehta@huawei.com> X-Mailer: git-send-email 2.8.3 MIME-Version: 1.0 X-Originating-IP: [10.202.227.234] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch-set provides some bug fixes figured out during testing and review. It also provides some additions due to running of the existing code on the new revision of the HNS3 hardware. Fuyun Liang (3): net: hns3: Fixes the init of the VALID BD info in the descriptor net: hns3: Removes unnecessary check when clearing TX/RX rings net: hns3: Clear TX/RX rings when stopping port & un-initializing client Jian Shen (2): net: hns3: Remove unused led control code net: hns3: Adds support for led locate command for copper port Lijun Ou (1): net: hns3: Fixes initalization of RoCE handle and makes it conditional Peng Li (5): net: hns3: Updates RX packet info fetch in case of multi BD net: hns3: Add support for tx_accept_tag2 and tx_accept_untag2 config net: hns3: Add STRP_TAGP field support for hardware revision 0x21 net: hns3: Add support to enable TX/RX promisc mode for H/W rev(0x21) net: hns3: Fixes the state to indicate client-type initialization Xi Wang (1): net: hns3: Fix for PF mailbox receving unknown message drivers/net/ethernet/hisilicon/hns3/hnae3.c | 49 +++++- drivers/net/ethernet/hisilicon/hns3/hnae3.h | 4 +- drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 189 +++++++++++++++++---- drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 4 + drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 4 + .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 22 +-- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 179 ++++--------------- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 8 +- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c | 23 ++- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 8 +- 10 files changed, 283 insertions(+), 207 deletions(-) -- 2.7.4