]> git.baikalelectronics.ru Git - kernel.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)
commit56d2f83f6f0f7da541b1373a0653ac43d09620b3
treefef68cae6cc0894247aeb6384708d58eb2c5fd8b
parent4f38c0d1a84e42d7001aa378a9cba35b729fe0e5
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