• Andy Grover's avatar
    RDS: rewrite rds_ib_xmit · da5a06ce
    Andy Grover authored
    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: default avatarAndy Grover <andy.grover@oracle.com>
    da5a06ce
ib_send.c 27.8 KB