]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS: IB: scale rds_ib_allocation based on fragment size
authorSantosh Shilimkar <santosh.shilimkar@oracle.com>
Wed, 4 Nov 2015 21:42:39 +0000 (13:42 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 14 Apr 2016 00:58:18 +0000 (17:58 -0700)
commitd99f4d2c122cb3c576f107a7cf3ab7fc229e45d0
treec8900c6af96f1052d0c2ae77f12e57f2dad5cd07
parent0f0f08915fde3f2bb6c5e79f93c0d37d087451d2
RDS: IB: scale rds_ib_allocation based on fragment size

The 'rds_ib_sysctl_max_recv_allocation' allocation is used to manage
and allocate the size of IB receive queue entry (RQE) for each IB
connection. However, it relies on the hardcoded RDS_FRAG_SIZE.

Lets make it scalable based on supported fragment sizes for different
IB connection. Each connection can allocate different RQE size
depending on the per connection fragment_size.

Orabug: 21894138
Reviewed-by: Wei Lin Guay <wei.lin.guay@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
net/rds/ib.h
net/rds/ib_recv.c