Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753782AbdLIARa (ORCPT ); Fri, 8 Dec 2017 19:17:30 -0500 Received: from mail-wr0-f194.google.com ([209.85.128.194]:40436 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753504AbdLIAR0 (ORCPT ); Fri, 8 Dec 2017 19:17:26 -0500 X-Google-Smtp-Source: AGs4zMaKC7mI8tWu//03MRTo7Ltyyc0hT9gqNHVRKpHS3l6dqF9xunM6HhneoLLx+bUcmp4b5xSkYlHSA1Z11CPbPB8= MIME-Version: 1.0 In-Reply-To: <20171208211702.20104-3-salil.mehta@huawei.com> References: <20171208211702.20104-1-salil.mehta@huawei.com> <20171208211702.20104-3-salil.mehta@huawei.com> From: Philippe Ombredanne Date: Sat, 9 Dec 2017 01:16:44 +0100 Message-ID: Subject: Re: [PATCH V2 net-next 2/8] net: hns3: Add mailbox support to VF driver To: Salil Mehta Cc: "David S. Miller" , yisen.zhuang@huawei.com, lipeng321@huawei.com, mehta.salil.lnk@gmail.com, netdev@vger.kernel.org, LKML , linux-rdma@vger.kernel.org, linuxarm@huawei.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1148 Lines: 34 Sali, On Fri, Dec 8, 2017 at 10:16 PM, Salil Mehta wrote: > This patch adds the support of the mailbox to the VF driver. The > mailbox shall be used as an interface to communicate with the > PF driver for various purposes like {set|get} MAC related > operations, reset, link status etc. The mailbox supports both > synchronous and asynchronous command send to PF driver. > > Signed-off-by: Salil Mehta > Signed-off-by: lipeng [...] > --- /dev/null > +++ b/drivers/net/ethernet/hisilicon/hns3/hclge_mbx.h > @@ -0,0 +1,94 @@ > +/* > + * Copyright (c) 2016-2017 Hisilicon Limited. > + * > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License as published by > + * the Free Software Foundation; either version 2 of the License, or > + * (at your option) any later version. > + */ Why not use the new SPDX ids? e.g. > +/* SPDX-License-Identifier: GPL-2.0+ */ > +/* Copyright (c) 2016-2017 Hisilicon Limited. */ See Linus posts and Thomas doc patches for details. -- Cordially Philippe Ombredanne