Thread (1 message) 1 message, 1 author, 2016-07-28

Re: [PATCH] IB/hfi1: Allow for non-double word multiple message sizes for user SDMA

From: Leon Romanovsky <hidden>
Date: 2016-07-28 07:58:40

On Wed, Jul 27, 2016 at 09:08:42PM -0400, ira.weiny wrote:
The driver pads non-double word multiple message sizes but it doesn't
account for this padding when the packet length is calculated. Also, the
data length is miscalculated for message sizes less than 4 bytes due to
the bit representation in LRH. And there's a check for non-double word
multiple message sizes that prevents these messages from being sent.
This patch fixes length miscalculations and enables the functionality to
send non-double word multiple message sizes.

Reviewed-by: Harish Chegondi <redacted>
Signed-off-by: Sebastian Sanchez <redacted>
Signed-off-by: Ira Weiny <redacted>
---
Ira,
Is this sizeof(u32) really necessary? It is always the same 4 bytes in
all architectures.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help