Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2361795ybb; Sat, 21 Mar 2020 20:24:19 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv6DlUZsxoze0/40+D8GFebzOywK4vnubPDz73F8/vYqK4hnM2udvLKPKSnYq+Ys90/BFHF X-Received: by 2002:a9d:6142:: with SMTP id c2mr13605762otk.92.1584847459010; Sat, 21 Mar 2020 20:24:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584847459; cv=none; d=google.com; s=arc-20160816; b=Hih5Vi36eB8aMulfi+K7eMwub0lC8cL+ZDuTBxepqsHsrcwksnQj0Nlq4Ao8bcKX7Y LLA9OgTgvvjAbfekEv7zY37tSoa8Fz05p5hqxU3fqhhzlSOrx72KX9zwt3IgxlFXXmQv zYy2cdCSAKL6RYhyG1PN8hNSa9fnFInlRlW2fhBHdpNdsT0lXyBgKQRtcKAvG9X06/Yj ArX6bdiNr7vafK80pqUezwfifQ6EXZvX5WCk0M6p9BwQ/g/fitS2VlwlkxDWCFho6006 fPBgsxPoiIiavBlZqWoe+7eY/lNhL4pZ0SUflbXIZzeD6ZsnQVuQWJY107nwQIxysQqW FHQQ== 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:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=7ylCK/HMHT+EwncyoA4fk51HdWhR+dR1UBP3fZramTk=; b=tk5f7Le4GHj+/hlZHMT3IU6zgTC8aKfjrlkNSCB5Yxfx0EyxeQu0W9YRt+AHgtZbwi OAaXyXALVIXIJnCbCQxR9YI/Imr24wiS2/y3mVZ/EqZaIGxRfkYGGujYoFC7uqrDdwYI 8Yg7ALIi2vGfKvWUK0PyzEzM/EqwxKrCIpGoWacvkO4TBKOLQJXE7NC/306ldABSR5hG zUWybTLjrDehuXFeBKrL++sRsbutiJ+xR0FURa5OrPgVRrI/dTPSadt7jzlb45UOmZ4k PdY59boSrHZkivj/nCgDNA+d4lRF7MqwBy8l2HedRljeYgVJMBygJ1C67QSs7mKlsQ3/ 0/5Q== 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 v10si5304837oth.136.2020.03.21.20.24.07; Sat, 21 Mar 2020 20:24:18 -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 S1728111AbgCVDWm (ORCPT + 99 others); Sat, 21 Mar 2020 23:22:42 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:34490 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727296AbgCVDWm (ORCPT ); Sat, 21 Mar 2020 23:22:42 -0400 Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 3C1BC15AC42AD; Sat, 21 Mar 2020 20:22:41 -0700 (PDT) Date: Sat, 21 Mar 2020 20:22:40 -0700 (PDT) Message-Id: <20200321.202240.842595752556222392.davem@davemloft.net> To: tanhuazhong@huawei.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, salil.mehta@huawei.com, yisen.zhuang@huawei.com, linuxarm@huawei.com, kuba@kernel.org Subject: Re: [PATCH net-next 0/3] net: hns3: add three optimizations for mailbox handling From: David Miller In-Reply-To: <1584503827-12025-1-git-send-email-tanhuazhong@huawei.com> References: <1584503827-12025-1-git-send-email-tanhuazhong@huawei.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sat, 21 Mar 2020 20:22:41 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Huazhong Tan Date: Wed, 18 Mar 2020 11:57:04 +0800 > This patchset includes three code optimizations for mailbox handling. > > [patch 1] adds a response code conversion. > [patch 2] refactors some structure definitions about PF and > VF mailbox. > [patch 3] refactors the condition whether PF responds VF's mailbox. Series applied, thanks.