mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
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>
This commit is contained in:
parent
919ced4ce7
commit
da5a06cef5
1 changed files with 45 additions and 78 deletions
Loading…
Add table
Add a link
Reference in a new issue