Re: [PATCH 2/2] IB/mad: Use IDR for agent IDs
From: Matthew Wilcox
Date: Sun Jun 10 2018 - 06:43:22 EST
On Sun, Jun 10, 2018 at 09:30:28AM +0300, Leon Romanovsky wrote:
> 1. IBTA spec doesn't talk at all about the size of TransactionID, more
> on that in section "220.127.116.11 TRANSACTION ID USAGE", the specification
> says: "The contents of the TransactionID (TID) field are implementation-
> dependent. So let's don't call it mlx4 bug.
I was loosely paraphrasing the original bug report; suggested rewording
of the comments gratefully accepted.
> 2. The current implementation means that in mlx5-only network we will
> still have upto (1 << 24) TIDs. I don't know if it is really important,
> but worth to mention.
Actually, the TIDs will be up to 2^56. We're limited to 2^24 clients,
each of which can send up to 2^32 messages.