]> 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)
commit1822704d48a51c735a908a3916c51b191c299944
treee6b0ceec8fb7b2e435ac2af33c4760841f59f406
parent14d9dca4b06c93e209dad9037ecf24292e374021
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
0568564d1b16 ("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