RE: Query max_inline_data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Wenda,

Unfortunately you cannot query for the max inline size. A rough estimation for Mellanox HCAs would be around 900 bytes maximum (it depends on the transport service and other parameters) but you should be prepared that create QP will fail if you request an inline value that the hardware cannot support.

As for KLMs, it's a new sophisticated way of creating memory regions. You should have some information in the release notes of MLNX OFED or if you can obtain the Programmers Reference Manual you will find more information on the underlying hardware capabilities.

-----Original Message-----
From: linux-rdma-owner@xxxxxxxxxxxxxxx [mailto:linux-rdma-owner@xxxxxxxxxxxxxxx] On Behalf Of Wenda Ni
Sent: Thursday, April 07, 2016 10:27 AM
To: linux-rdma@xxxxxxxxxxxxxxx
Subject: Query max_inline_data

Hi experts,

Is there a way to query the size of a max_inline_data?
Dotan's blog says
How can I know what is the maximum message size that can be sent inline in a QP?
You can't know this information. This information is unavailable. You find this information by trial and error.
http://www.rdmamojo.com/2012/12/21/ibv_create_qp/#How_can_I_know_what_is_the_maximum_message_size_that_can_be_sent_inline_in_a_QP

I am curious whether this statement is still valid nowadays with the latest development and proprietary OFED.

When doing ibv_devinfo -vvv on ConnectX-4 with MLNX_OFED_LINUX-3.2-2.0.0.0, we observe

max_send_wqe_inline_klms:    20

That seems relevant to inline_data, but does not seem to be exactly we are looking for. Also, what does klms mean? It seems to be a instance of struct mlx5_klm, when searched online.


Thank you for sharing your knowledge.


Cheers,

Wenda Ni, Ph.D.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at  http://vger.kernel.org/majordomo-info.html
��.n��������+%������w��{.n�����{���fk��ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux