]> bbs.cooldavid.org Git - net-next-2.6.git/commit
RDS: rewrite rds_ib_xmit
authorAndy Grover <andy.grover@oracle.com>
Thu, 14 Jan 2010 20:18:11 +0000 (12:18 -0800)
committerAndy Grover <andy.grover@oracle.com>
Thu, 9 Sep 2010 01:11:51 +0000 (18:11 -0700)
commitda5a06cef5724737af4315715632f0a07dd5e116
treefef68cae6cc0894247aeb6384708d58eb2c5fd8b
parent919ced4ce7d6ac62dd5be62d8993fe22a527d53a
RDS: rewrite rds_ib_xmit

Now that the header always goes first, it is possible to
simplify rds_ib_xmit. Instead of having a path to handle 0-byte
dgrams and another path to handle >0, these can both be handled
in one path. This lets us eliminate xmit_populate_wr().

Rename sent to bytes_sent, to differentiate better from other
variable named "send".

Signed-off-by: Andy Grover <andy.grover@oracle.com>
net/rds/ib_send.c