From patchwork Fri May 22 02:49:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tanhuazhong X-Patchwork-Id: 1295882 Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; 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 [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 49Src45nCQz9sT1 for ; Fri, 22 May 2020 12:51:48 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727881AbgEVCvi (ORCPT ); Thu, 21 May 2020 22:51:38 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:4885 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727080AbgEVCvO (ORCPT ); Thu, 21 May 2020 22:51:14 -0400 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id A8D2C669D7020FC37829; Fri, 22 May 2020 10:51:11 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.487.0; Fri, 22 May 2020 10:51:01 +0800 From: Huazhong Tan To: CC: , , , , , , Huazhong Tan Subject: [PATCH net-next 0/5] net: hns3: misc updates for -next Date: Fri, 22 May 2020 10:49:41 +0800 Message-ID: <1590115786-9940-1-git-send-email-tanhuazhong@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This patchset includes some misc updates for the HNS3 ethernet driver. #1 adds support for dump VF's mapping of ring and vector, this is needed by the hns3 DPDK VF PMD driver. #2 adds a resetting check in hclgevf_init_nic_client_instance(). #3 adds a preparatory work for RMDA VF's driver. #4 removes some unnecessary operations in app loopback. #5 adds an error log for debugging. Guangbin Huang (2): net: hns3: add support for VF to query ring and vector mapping net: hns3: add a resetting check in hclgevf_init_nic_client_instance() Huazhong Tan (1): net: hns3: add a print for initializing CMDQ when reset pending Yufeng Mo (2): net: hns3: change the order of reinitializing RoCE and NIC client during reset net: hns3: remove unnecessary MAC enable in app loopback drivers/net/ethernet/hisilicon/hns3/hclge_mbx.h | 1 + .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c | 3 + .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 11 +-- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c | 91 ++++++++++++++++++++++ .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 9 +++ 5 files changed, 108 insertions(+), 7 deletions(-)