Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759333AbcDEPc4 (ORCPT ); Tue, 5 Apr 2016 11:32:56 -0400 Received: from mail-yw0-f196.google.com ([209.85.161.196]:36384 "EHLO mail-yw0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758960AbcDEPcy (ORCPT ); Tue, 5 Apr 2016 11:32:54 -0400 Date: Tue, 5 Apr 2016 18:32:03 +0300 From: Leon Romanovsky To: oulijun Cc: dledford@redhat.com, sean.hefty@intel.com, hal.rosenstock@gmail.com, davem@davemloft.net, jeffrey.t.kirsher@intel.com, jiri@mellanox.com, ogerlitz@mellanox.com, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, gongyangming@huawei.com, xiaokun@huawei.com, tangchaofei@huawei.com, haifeng.wei@huawei.com, yisen.zhuang@huawei.com, yankejian@huawei.com, lisheng011@huawei.com, charles.chenxin@huawei.com, linuxarm@huawei.com Subject: Re: [RESEND PATCH V4 2/3] IB/hns: Add HiSilicon RoCE driver support Message-ID: <20160405153203.GJ5264@leon.nu> Reply-To: leon@leon.nu References: <1459502492-19891-1-git-send-email-oulijun@huawei.com> <1459502492-19891-3-git-send-email-oulijun@huawei.com> <20160402015830.GD8565@leon.nu> <57036A25.9000106@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <57036A25.9000106@huawei.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1397 Lines: 37 On Tue, Apr 05, 2016 at 03:32:53PM +0800, oulijun wrote: > >> .../infiniband/hw/hisilicon/hns/hns_roce_v1_hw.c | 2832 ++++++++++++++++++++ > >> .../infiniband/hw/hisilicon/hns/hns_roce_v1_hw.h | 985 +++++++ > > ^^^^^^ > > Do you support v1 of RoCE or v1 of your HW? > > > Here, v1 stands for hw, that is, we support v1 of our hw. So you should write hns_roce_hw_v1 and not hns_roce_v1_hw > >> 23 files changed, 10429 insertions(+) > > > > Please appreciate the effort needed to review such large patch and > > invest time and effort to divide this to number of small easy review patches. > > > Surely, i have pay attention to the patch, but i consider that it is not better to > split the patch into small patch. because it will the base function of RoCE. > For your advice, i will make further efforts to taking a discussion how to reslove the question. Faisal Latif's submission [1] can help you to get inspiration. Also please DON'T submit your patches till you get rid of unrelated functions/macros/defines and DMA operations for register access. [1] https://lwn.net/Articles/668721/ > > thanks > Lijun Ou > > . > > > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-rdma" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html