Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp920428yba; Wed, 24 Apr 2019 11:47:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqyV6BXN0JSdK3DOzuuymPCBGlmtQTCElENjnXzrd+zjE0WJGHsI8XHLuUsVkp3XBIHrxm1V X-Received: by 2002:a63:da51:: with SMTP id l17mr8801332pgj.115.1556131673186; Wed, 24 Apr 2019 11:47:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556131673; cv=none; d=google.com; s=arc-20160816; b=DP90x2FNfPzVGw/2Nt3VucHSknFsNxEMVkNUY6uLHtVnHLVn80T1WX4E+SFWBFyNn1 RZa6JszvDrMw2AKAcKs+nl7QWFtOHxyTUGbrEgvhUoK+lsNm9n1I/SPirTVG306r6mzE tvNai8gN8/w0EDG2H7Kju0ljPm5tnozaX1oDr2Y129rk753u0x3B1JPMXEl1+BemQF8m ntLxNBwjOWMSacZT0n+VqTxiH4tiSuq4N+6UKtKemTxxiIHTLylvC8D1SDGW6cIGQWci e3RAjGWTMH8TtOPOuRF3ju9pm4QTybzwIG7YaFLiFihy/zsBQNrua8uHyV51U5CR7yVT dinQ== 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=TKIij+GODU1sbxQueR1oyI0L5yQBmmqUALWc/0GL798=; b=unzmbVsiWhwTkfW2JQEu6uz/UFzu8xGsN3EH0Exz/Dx6kdlJA8LDyyx4ehvvgAnj/Z FiHZf78bFgl09qE9ePTz6UBR/cQ+BmTvJSPTGc19cNkrwr+3GJmVHarPn56yjJhTZH/y Yjw0gx2W6sDQfYiwka+scegV+eS31Bc7tn2YR8J1TC/cgtuM9hgQjyLP/rL/nbd5IU1v cGO1LcUPBIhXINRO6a3il1j1cz8YP3dWDmcpVStyjohs722toj5fzI7I8mwnMDgaXo+u gtjHltRmK6qA8X3CaQRzCQ3h4l6r2mQox8sPwYjKApxNYIS3ZsVAIC5ezf0i1otCuPYa 0fAg== 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 e36si3404329pgb.286.2019.04.24.11.47.37; Wed, 24 Apr 2019 11:47:53 -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 S1727772AbfDXLGu (ORCPT + 99 others); Wed, 24 Apr 2019 07:06:50 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:41834 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726074AbfDXLGu (ORCPT ); Wed, 24 Apr 2019 07:06:50 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 2C3F2B0484622EEEA8B9; Wed, 24 Apr 2019 19:06:47 +0800 (CST) Received: from localhost.localdomain (10.67.212.132) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.439.0; Wed, 24 Apr 2019 19:06:40 +0800 From: Huazhong Tan To: CC: , , , , , , Huazhong Tan Subject: [PATCH V2 net-next 00/12] code optimizations & bugfixes for HNS3 driver Date: Wed, 24 Apr 2019 19:05:19 +0800 Message-ID: <1556103931-64031-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/12 - 3/12] fixes some bugs about the IO path [patch 4/12 - 6/12] includes some optimization and bugfixes about mailbox message handling [patch 7/12 - 12/12] adds misc code optimizations and bugfixes. Change log: V1->V2: adds modification on [patch 8/12] Huazhong Tan (7): 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: stop schedule reset service while unloading driver 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 | 8 ++- .../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 | 12 ++-- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h | 1 + .../ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c | 9 ++- 11 files changed, 76 insertions(+), 57 deletions(-) -- 2.7.4