diff options
| author | Bart Van Assche <bvanassche@acm.org> | 2019-09-30 16:16:59 -0700 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-10-04 15:35:06 -0300 |
| commit | bf583470617e31c836afc4fa2039dabc43350533 (patch) | |
| tree | de3b2a9f63c44221a19e26fb6c36dc6620761827 /tools/lib/python/kdoc/python_version.py | |
| parent | 14673778d06ee551a55695947548b52d503e7273 (diff) | |
| download | linux-bf583470617e31c836afc4fa2039dabc43350533.tar.gz linux-bf583470617e31c836afc4fa2039dabc43350533.zip | |
RDMA/srp: Honor the max_send_sge device attribute
Instead of assuming that max_send_sge >= 3, restrict the number of scatter
gather elements to what is supported by the RDMA adapter.
Link: https://lore.kernel.org/r/20190930231707.48259-8-bvanassche@acm.org
Cc: Honggang LI <honli@redhat.com>
Cc: Laurence Oberman <loberman@redhat.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
