]> www.infradead.org Git - users/jedix/linux-maple.git/commit
IB/ipoib: Scatter-Gather support in connected mode
authorYuval Shaia <yuval.shaia@oracle.com>
Wed, 29 Apr 2015 07:16:41 +0000 (00:16 -0700)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Wed, 8 Jul 2015 01:11:02 +0000 (18:11 -0700)
commitad2c4579f64d686f256c5a48fe60a921bcab6fc2
tree1f5ce5d662b1351a140bd49883e18d69eac17c1e
parent7e762be5f798bd38c7685adbed2fded754cc672a
IB/ipoib: Scatter-Gather support in connected mode

By default, IPoIB-CM driver uses 64k MTU. Larger MTU gives better performance.
This MTU plus overhead puts the memory allocation for IP based packets at 32
4k pages (order 5), which have to be contiguous.
When the system memory under pressure, it was observed that allocating 128k
contiguous physical memory is difficult and causes serious errors (such as
system becomes unusable).
This enhancement resolve the issue by removing the physically contiguous memory
requirement using Scatter/Gather feature that exists in Linux stack.

With this fix Scatter-Gather will be supported also in connected mode
This change also revert the change made in commit e112373
("IPoIB/cm: Reduce connected mode TX object size)".

Orabug: 20422840

Reviewed-by: John Sobecki <john.sobecki@oracle.com>
Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
drivers/infiniband/ulp/ipoib/ipoib.h
drivers/infiniband/ulp/ipoib/ipoib_cm.c
drivers/infiniband/ulp/ipoib/ipoib_ib.c
drivers/infiniband/ulp/ipoib/ipoib_main.c