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 <harish.chegondi@xxxxxxxxx> > Signed-off-by: Sebastian Sanchez <sebastian.sanchez@xxxxxxxxx> > Signed-off-by: Ira Weiny <ira.weiny@xxxxxxxxx> > --- Ira, Is this sizeof(u32) really necessary? It is always the same 4 bytes in all architectures.
Attachment:
signature.asc
Description: Digital signature