Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1458315ybh; Fri, 13 Mar 2020 01:26:49 -0700 (PDT) X-Google-Smtp-Source: ADFU+vukcze1Cn5X9MqC8qnkWIhsJwp1SZ76yWTuipAq7LehC0JI0ByUdutB9MPJF8bb5t3IJ7nr X-Received: by 2002:a9d:7756:: with SMTP id t22mr9441546otl.272.1584088009238; Fri, 13 Mar 2020 01:26:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584088009; cv=none; d=google.com; s=arc-20160816; b=kIyEATHl8sXrnfy95YjNoXFqQbVoLZLgGLavXkx5TRg4vLk0FkWhNFiBFRzN8myBGG JfnYMyvymmoifaULutNK3a+dMuea+koDTWkWzUITfjWJgvMMc5IVohovh2lvfPXxVDj2 wQzSjozd62Kq6B4guC7dznzZT0Uq6WGAR7isCovbXojsyy1sL57iGyvsqiGgeXTankwW 8ixBX3G4tlpzI+uU+NYlx/EyTqNdZcZFe9QSM9fNc7nwgxqCn5Tw618ewCykT6cNp4db vT8l3ADBUpH1InFggjJN4Gvhx6VseVUbscijgseY8E72AlVT0FvNLAelik5UM24Bofje lpXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=06jklSnh++Z+/B8APyZZcnnMID7HWj0hg/6R+IPXJvs=; b=HH6FRBGbyF42Ut5GIPhn6wwmSliFQrE7VMe9dpnfvp56THtahHJDzlVux7WHCQqvzl 27UVJykCOnqolZD9JzJStvV/bSUYng/xTGGexdAaRzFAuTqYv6xqUa+JMDvNRFerr+sH psBYdRbPsun2KCayOwY7v6Dtakdegs+0C5bQr/3MPhoyF3xyLEZw2gcqj5svnTbCzlB6 wKf8MNLOu6+gQ25IoiV5nNRECotiq/aay2KIoGzq4ai54HO3AsEd5j+A2ufZRhHXIgWx x5VGEt2NHzaStNhH1cg65FPLoeabXlPGWRhkjlGcC0aLLQIxTjH3RzgMYFZncqtOcQel 8j5A== 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 h11si4320442oti.74.2020.03.13.01.26.36; Fri, 13 Mar 2020 01:26:49 -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 S1726526AbgCMI0D (ORCPT + 99 others); Fri, 13 Mar 2020 04:26:03 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:40022 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726406AbgCMI0D (ORCPT ); Fri, 13 Mar 2020 04:26:03 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 31DAA4712341C184D5EE; Fri, 13 Mar 2020 16:25:53 +0800 (CST) Received: from [127.0.0.1] (10.74.149.191) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.487.0; Fri, 13 Mar 2020 16:25:46 +0800 Subject: Re: [PATCH net-next 0/2] net: hns3: add two optimizations for mailbox handling To: CC: , , , , , References: <1584087823-61800-1-git-send-email-tanhuazhong@huawei.com> From: tanhuazhong Message-ID: Date: Fri, 13 Mar 2020 16:25:45 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <1584087823-61800-1-git-send-email-tanhuazhong@huawei.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.74.149.191] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Sorry, please ignore this patchset, will resend it later :) On 2020/3/13 16:23, Huazhong Tan wrote: > This patchset includes two code optimizations for mailbox handling. > > Jian Shen (1): > net: hns3: add a conversion for mailbox's response code > > Yufeng Mo (1): > net: hns3: optimize the message response between pf and vf > > drivers/net/ethernet/hisilicon/hns3/hclge_mbx.h | 54 ++- > .../net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c | 386 ++++++++++----------- > .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 306 ++++++++-------- > .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h | 4 +- > .../ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c | 50 +-- > 5 files changed, 414 insertions(+), 386 deletions(-) >