From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753903AbdHWKrG (ORCPT ); Wed, 23 Aug 2017 06:47:06 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:4550 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753777AbdHWKqy (ORCPT ); Wed, 23 Aug 2017 06:46:54 -0400 Subject: Re: [PATCH V8 net-next 00/22] Huawei HiNIC Ethernet Driver To: Arnd Bergmann CC: David Miller , Linux Kernel Mailing List , Networking , , , , References: From: Aviad Krawczyk Message-ID: Date: Wed, 23 Aug 2017 13:46:24 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.206.50.78] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090203.599D5D16.001F,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 440723717ed38ff18bfe3289a7f67923 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, > It's clear that ... Sorry, but there are wrong assumptions here. Thanks, Aviad On 8/23/2017 1:37 PM, Arnd Bergmann wrote: > On Wed, Aug 23, 2017 at 11:31 AM, Aviad Krawczyk > wrote: >> Hi Arnd, >> >> This is Huawei's PCIE HiNIC card. >> >> I am not familiar with the HiSilicon product and I don't see how >> Huawei's PCIE HiNIC card is connected to the HiSilicon drivers on Linux Tree. >> >> I don't see how it can be shared: different product and different code. > > Sharing code was just a wild thought of mine, as I said I had not looked at > whether there is anything that can be shared. > > However, simply moving drivers/net/ethernet/huawei/hinic to > drivers/net/ethernet/hisilicon/hinic/ still seems to be the right thing and > is a trivial patch. > > It's clear that hinic is made by HiSilicon and that hns/hns3 are used > exclusively in Huawei, and maintained by Huawei developers, so it's > probably just a matter of time before the IP block from the SoC makes > it into a future PCI device or vice versa. Merging the two directories > now makes this easier to handle in the future and (slightly) reduces > the clutter in the top-level drivers/net/ethernet/Kconfig file. > > Arnd > > . >