Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1874848yba; Thu, 25 Apr 2019 07:08:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqylTUxtTCXWn/mFh2JLmTku0wC0LEeTKjeZaBAuaE0NESsWoPsoCqL6AH1wJMEBJUfca9nV X-Received: by 2002:a17:902:ac1:: with SMTP id 59mr39499901plp.294.1556201301358; Thu, 25 Apr 2019 07:08:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556201301; cv=none; d=google.com; s=arc-20160816; b=ZXdIvs77j8j7h8CUiuLxq5k92aq2a8VHgvMooyCS5FczCwF0Io0DW1o6bdzGGFGDC+ 5KWhdF/z+pyZVp37PrCcIh5AL1m2xS3XEpPx7cGsUdJYPWZB5WyhHRxGwo/ouYYjMwh7 nRPLgNjW9fivPq2g4ARe8SKj3vTFvvoXFMXoZfM1pBwYw0PJVG2hP7DjGSFQKpjTuMK4 dlhvqvnbK9Ow5P4LcRFqpyGIP6jGWI8ap+VwM3xqceQRTXzD+oVwsmFh+TfbbOeDoZaB eN1HoBQ2pJrz/bfU6wi0CxxBs4S5JvyhCL8ZIi++xD8ARAhhnTJTTuPGPQV7kpeMYSz6 FAzQ== 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=5uCEpdfV0WprBZOS6VNyobn2VMLKXNFew4RdC6WbUzc=; b=TWY0+0kA+UcX9oghaNnowIJgs5LAQCCjSFI/73IDAXDXe9UkG10fEZB3d2cj/6B2x8 QBCabThqiw6dN88Dhy0D9Eq9keXw6rEhqCNlc/kOyRWp2P4VY2s34UXvpyEXsFG71DW8 xcHb8e8UQ8g+vpmMLqtSirN38UpzB/WrNkSvsEBmeu6nC4JCLTLzkCwhwRhthu3FGB+i 8p5V7NZb0P7KxgxU8XbB/llJPH6JAxiuUgzh0FrzJknEi25hm9BUdci2y1EnF6BJ00gQ MUb+IixVv84UDAwlL5dRHk+kz9nMgF3FmXw13Ltu2ALuSDA0IUpDpkULiBd3bMYFOd9d YwsQ== 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 q127si11162407pgq.91.2019.04.25.07.08.05; Thu, 25 Apr 2019 07:08:21 -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 S1731371AbfDYMoO (ORCPT + 99 others); Thu, 25 Apr 2019 08:44:14 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:40708 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731331AbfDYMoM (ORCPT ); Thu, 25 Apr 2019 08:44:12 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 2ED60CD98E484F0AA5ED; Thu, 25 Apr 2019 20:44:09 +0800 (CST) Received: from localhost.localdomain (10.67.212.132) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.439.0; Thu, 25 Apr 2019 20:44:02 +0800 From: Huazhong Tan To: CC: , , , , , , Huazhong Tan Subject: [PATCH V3 net-next 00/11] code optimizations & bugfixes for HNS3 driver Date: Thu, 25 Apr 2019 20:42:44 +0800 Message-ID: <1556196175-65389-1-git-send-email-tanhuazhong@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.212.132] 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 includes code optimizations and bugfixes for the HNS3 ethernet controller driver. [patch 1/11 - 3/11] fixes some bugs about the IO path [patch 4/11 - 6/11] includes some optimization and bugfixes about mailbox handling [patch 7/11 - 11/11] adds misc code optimizations and bugfixes. Change log: V2->V3: fixes comments from Neil Horman, removes [patch 8/12] V1->V2: adds modification on [patch 8/12] Huazhong Tan (6): net: hns3: stop sending keep alive msg when VF command queue needs reinit net: hns3: use atomic_t replace u32 for arq's count net: hns3: use a reserved byte to identify need_resp flag net: hns3: not reset TQP in the DOWN while VF resetting net: hns3: fix pause configure fail problem net: hns3: prevent double free in hns3_put_ring_config() Weihang Li (1): net: hns3: remove reset after command send failed Yunsheng Lin (3): net: hns3: fix data race between ring->next_to_clean net: hns3: fix for TX clean num when cleaning TX BD net: hns3: handle the BD info on the last BD of the packet liuzhongzhu (1): net: hns3: extend the loopback state acquisition time drivers/net/ethernet/hisilicon/hns3/hclge_mbx.h | 7 ++- drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 65 +++++++++++++--------- drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 7 ++- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c | 10 ---- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 4 +- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c | 7 +-- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c | 5 +- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c | 2 +- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 8 ++- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c | 9 ++- 10 files changed, 69 insertions(+), 55 deletions(-) -- 2.7.4