[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5767BBDF.6010309@huawei.com>
Date: Mon, 20 Jun 2016 17:48:15 +0800
From: "Wei Hu (Xavier)" <xavier.huwei@...wei.com>
To: <leon@...nel.org>
CC: Lijun Ou <oulijun@...wei.com>, <dledford@...hat.com>,
<sean.hefty@...el.com>, <hal.rosenstock@...il.com>,
<davem@...emloft.net>, <jeffrey.t.kirsher@...el.com>,
<jiri@...lanox.com>, <ogerlitz@...lanox.com>,
<linux-rdma@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<netdev@...r.kernel.org>, <gongyangming@...wei.com>,
<xiaokun@...wei.com>, <tangchaofei@...wei.com>,
<haifeng.wei@...wei.com>, <yisen.zhuang@...wei.com>,
<yankejian@...wei.com>, <charles.chenxin@...wei.com>,
<linuxarm@...wei.com>
Subject: Re: [PATCH v10 08/22] IB/hns: Add icm support
On 2016/6/20 17:27, Leon Romanovsky wrote:
> On Mon, Jun 20, 2016 at 03:49:24PM +0800, Wei Hu (Xavier) wrote:
>>
>> On 2016/6/20 14:06, Leon Romanovsky wrote:
>>> On Mon, Jun 20, 2016 at 12:37:40PM +0800, Wei Hu (Xavier) wrote:
>>>> On 2016/6/17 17:58, Leon Romanovsky wrote:
>>>>> On Thu, Jun 16, 2016 at 10:35:16PM +0800, Lijun Ou wrote:
>>>>>> This patch mainly added icm support for RoCE. It initializes icm
>>>>>> which managers the relative memory blocks for RoCE. The data
>>>>>> structures of RoCE will be located in it. For example, CQ table,
>>>>>> QP table and MTPT table so on.
>>>>>>
>>>>>> Signed-off-by: Wei Hu <xavier.huwei@...wei.com>
>>>>>> Signed-off-by: Nenglong Zhao <zhaonenglong@...ilicon.com>
>>>>>> Signed-off-by: Lijun Ou <oulijun@...wei.com>
>>>>>> ---
>>>>> <...>
>>>>>
>>>>>> +
>>> Another question which you didn't answer [1].
>>>
>>> "I wonder if you have the same needs for ICM as it is in mlx4 device.
>>> Do you have firmware?"
>>>
>>> [1] http://marc.info/?l=linux-rdma&m=146545553104913&w=2
>> Hi, Leon
>> Now we haven't firmware.
>> But hardware still need memory for QPC\CQC\MTPT\mtt etc.
> ICM stands for InfiniHost (Interconnect) Context Memory is a specific
> memory place to share between host <-> FW and host <-> HW if HW is
> aware of specific structures.
>
> I assume that in your case, it is enough to allocate memory region and
> supply it to HW. Am I right?
For Our hardware,
1. ICM has a memory management method, It's very good for
QPC\CQC\MTPT\mtt etc. we need it.
2. The meomry for QPC\CQC\MTPT\mtt only used for RoCE hardware and
driver, we don't want use MR.
3. Now we haven't firmware, maybe we need it next version.
Thanks
Wei Hu.
>> Thanks
>> Wei Hu
>>>> Regards
>>>> Wei Hu
>>>>
>>
Powered by blists - more mailing lists