]> git.baikalelectronics.ru Git - kernel.git/commit
IB/ipoib: Report SG feature regardless of HW UD CSUM capability
authorYuval Shaia <yuval.shaia@oracle.com>
Wed, 20 Jul 2016 08:30:06 +0000 (01:30 -0700)
committerDoug Ledford <dledford@redhat.com>
Thu, 4 Aug 2016 01:03:32 +0000 (21:03 -0400)
commitb5f3452f93f0776c34b7b0c17f263ccbdc73a524
treee6b0ceec8fb7b2e435ac2af33c4760841f59f406
parent0557bc808d29df97a9816d03ecc126d468c909db
IB/ipoib: Report SG feature regardless of HW UD CSUM capability

Decouple SG support from HW ability to do UD checksum.
This coupling is for historical reasons and removed with 'commit
7ce938c3de6b ("net: Kill link between CSUM and SG features.")'

During driver load it is assumed that device does not supports SG. The
final decision is taken after creating UD QP based on device capability.

Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/ipoib/ipoib_main.c
drivers/infiniband/ulp/ipoib/ipoib_verbs.c