]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sif: LSO, test/adjust attr in create_qp,test stencil-size in send
authorHans Westgaard Ry <hans.westgaard.ry@oracle.com>
Mon, 13 Jun 2016 11:17:58 +0000 (13:17 +0200)
committerKnut Omang <knut.omang@oracle.com>
Sun, 3 Jul 2016 14:01:46 +0000 (16:01 +0200)
commita8db63e97e4a0019235c901087b5852d06fe2297
tree59aa08be704d2e837796bf4ad063a2425d0075a9
parent43e5e1c8d5f9f9f0bf569bdbd6423e4f4a2c1655
sif: LSO, test/adjust attr in create_qp,test stencil-size in send

We need to test that we can add an sge for the LSO stencil
subtracting 1 from max number of supported sge.  The
attr.max_sge is incremented to get correct allocation of sge
with the extra entry for the LSO stencil.

We assumpe that the size of LSO headers/stencils is <= 64
adjusting max_inlinesize. The actual size is tested when
work-requests are posted.

Signed-off-by: Hans Westgaard Ry <hans.westgaard.ry@oracle.com>
Reviewed-by: Knut Omang <knut.omang@oracle.com>
drivers/infiniband/hw/sif/sif_qp.c
drivers/infiniband/hw/sif/sif_sndrcv.c