]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS: IB: make fragment size (RDS_FRAG_SIZE) dynamic
authorSantosh Shilimkar <santosh.shilimkar@oracle.com>
Wed, 21 Oct 2015 23:47:28 +0000 (16:47 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 14 Apr 2016 00:58:07 +0000 (17:58 -0700)
commit0f0f08915fde3f2bb6c5e79f93c0d37d087451d2
tree24cb57663ee47f73284c2bacf6f31a0f9e55bc3a
parent20175bfd104b74d7986219404816208dbd838ea9
RDS: IB: make fragment size (RDS_FRAG_SIZE) dynamic

IB fabric is capable of fragment 4GB of data payload into
send_first, send_middle and send_last. Nevertheless,
RDS fragments each payload into PAGE_SIZE, which is usually
4KB. This patch makes the RDS_FRAG_SIZE for RDS IB transport
dynamic.

In the preperation for subsequent patch(es), this patch
adds per connection peer negotiation to determine the
supported fragment size for IB transport.

Orabug: 21894138
Reviewed-by: Wei Lin Guay <wei.lin.guay@oracle.com>
Signed-off-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
net/rds/ib_send.c