]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/rds: reduce memory footprint during ib_post_recv in IB transport
authorWei Lin Guay <wei.lin.guay@oracle.com>
Thu, 6 Jul 2017 08:12:48 +0000 (10:12 +0200)
committerDhaval Giani <dhaval.giani@oracle.com>
Wed, 15 Nov 2017 06:18:11 +0000 (01:18 -0500)
commit5f58d7e81c2ffdb40465bd71fd8cf73503b1ad75
tree520c1c77246dce1aea7c4e9f8c71ced0fbbca286
parentb01fd9019bc43a3e5ca01059f27811540960a5c7
net/rds: reduce memory footprint during ib_post_recv in IB transport

The RDS IB large fragment size feature requires order 2 memory allocations
and it introduces memory pressure in the allocation system. Thus, this
patch implements large fragment size support in ib_post_recv with N sge. As
of today, RDS has an assumption that each IB received work request has only
two SGEs. This patch removes this assumption and uses various SGE to
support large fragment size.

Orabug: 26770234

Signed-off-by: Wei Lin Guay <wei.lin.guay@oracle.com>
Reviewed-by: HÃ¥kon Bugge <haakon.bugge@oracle.com>
Tested-by: Shih-Yu Huang <shih-yu.huang@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
net/rds/ib.c
net/rds/ib.h
net/rds/ib_cm.c
net/rds/ib_recv.c