From patchwork Fri Sep 21 15:41:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Salil Mehta X-Patchwork-Id: 147287 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp970643ljw; Fri, 21 Sep 2018 08:42:55 -0700 (PDT) X-Google-Smtp-Source: ANB0VdafsEMPcFRM79J8rLxCnkLjpIrH3cbf/+6+NUaM7eOMGo3hQOWIz9d1Rz0Manaa7ga9Y1qF X-Received: by 2002:a62:c406:: with SMTP id y6-v6mr47289285pff.161.1537544574969; Fri, 21 Sep 2018 08:42:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537544574; cv=none; d=google.com; s=arc-20160816; b=enUG37mzg1pOZafac1PVRu1La1Zvh8sV+pFjsHIf3ou3wZ/rwaQQp/xQPH2K6H++xJ +dyeQu4jv6TtOPtWEk/JiavwEd1TcSbp9hNreinLlHMi1qxOISx0g7n0TX9NP32f5Nnj sJ/EiyINaiPRMFPOzX4g3OMdwIVfhUiMdzV97zQsUN+hgaUmkXcUNDC8F/ExhBmjQYsy J82Zex9cX45IkoYxcoUqEWiktgJJ2hsLKYECOsY2iVGj4UQMFfpijLKvKz5Da6kLROQX +bY+9Gy0QSI3V+fo6yY++fYxRwBL1wSsLbU9YZFzjg4Knz8YVNNtCbLDDDd37E71omJS QQyw== 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; bh=x6VRqMaSgPWO9SgP2KXftzPBgp+Jja44MUmK39dy9fc=; b=pBCJJDKePEtxoXlG3Fyl5+u2JUDi/n7CFeLz/LoWiiJPxkcv6joipf9FCxvuR88tV4 5uK/gZj45dBg0vIWuXMVbozz8W5cquR1bPU4+eoCDgWL5U19HDKv2XECzZV+wMr22rJ+ MLtNvqhB1ef4F8GBKWJzDOa7ZNkwTJKiWTSFj6oYfnpKZVa+p/Y3ePjh4GZPCEbji3wa ThA0qpW9WqP5m7oWQntW/fBxgXn60n563f1CPZqmvI+wK59gOH4Nta+5tAS+3OT30qnR IRiGsMULC0PL100g1mmPvE6pR/kxKQukeazBewRXQxWcP7H1fiVJE7Kxl9nSSWaG6kzU Y0jA== 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 g38-v6si2393882pgm.193.2018.09.21.08.42.54; Fri, 21 Sep 2018 08:42: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 S2390405AbeIUVcS (ORCPT + 32 others); Fri, 21 Sep 2018 17:32:18 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:47104 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2389547AbeIUVcR (ORCPT ); Fri, 21 Sep 2018 17:32:17 -0400 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 115F03CE649C3; Fri, 21 Sep 2018 23:42:48 +0800 (CST) Received: from S00293818-DELL1.china.huawei.com (10.202.226.54) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.399.0; Fri, 21 Sep 2018 23:42:39 +0800 From: Salil Mehta To: CC: , , , , , , Subject: [PATCH net-next 00/12] Bug fixes, snall modifications & cleanup for HNS3 driver Date: Fri, 21 Sep 2018 16:41:36 +0100 Message-ID: <20180921154148.26756-1-salil.mehta@huawei.com> X-Mailer: git-send-email 2.8.3 MIME-Version: 1.0 X-Originating-IP: [10.202.226.54] 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 presents some bug fixes, small modifications and cleanups to the HNS3 VF and PF driver. Fuyun Liang (1): net: hns3: Fix speed/duplex information loss problem when executing ethtool ethx cmd of VF Jian Shen (9): net: hns3: Fix ets validate issue net: hns3: Unify the type convert for desc.data net: hns3: Adjust prefix of tx/rx statistic names net: hns3: Fix tqp array traversal condition for vf net: hns3: Unify the prefix of vf functions net: hns3: Add handle for default case net: hns3: Add nic state check before calling netif_tx_wake_queue net: hns3: Add unlikely for dma_mapping_error check net: hns3: Remove print messages for error packet Peng Li (2): net: hns3: Add get_media_type ops support for VF net: hns3: Remove redundant hclge_get_port_type() drivers/net/ethernet/hisilicon/hns3/hnae3.h | 2 +- drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 13 ++-- drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 83 +++++++++++++--------- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c | 6 +- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 36 +++------- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c | 6 +- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c | 8 +-- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 72 +++++++++++-------- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h | 1 + 9 files changed, 120 insertions(+), 107 deletions(-) -- 2.7.4