]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS/IB: Handle connections using RDS 3.0 wire protocol
authorAndy Grover <andy.grover@oracle.com>
Thu, 7 May 2009 20:48:35 +0000 (13:48 -0700)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 7 Jul 2015 23:41:15 +0000 (16:41 -0700)
commit5f9d871b8d859632990d1ef7249959e7434d7dcd
treef9286dd0f7f5c5ae545abf05968e36af40af2327
parente95b0e60741d9d3ab22a40bd63cffc2ff81842de
RDS/IB: Handle connections using RDS 3.0 wire protocol

The big differences between RDS 3.0 and 3.1 are protocol-level
flow control, and with 3.1 the header is in front of the data. The header
always ends up in the header buffer, and the data goes in the data page.

In 3.0 our "header" is a trailer, and will end up either in the data
page, the header buffer, or split across the two. Since 3.1 is backwards-
compatible with 3.0, we need to continue to support these cases. This
patch does that -- if using RDS 3.0 wire protocol, it will copy the header
from wherever it ended up into the header buffer.

Signed-off-by: Andy Grover <andy.grover@oracle.com>
net/rds/ib.h
net/rds/ib_cm.c
net/rds/ib_recv.c