RDS: make m_rdma_op a member of rds_message
This eliminates a separate memory alloc, although
it is now necessary to add an "r_active" flag, since
it is no longer to use the m_rdma_op pointer as an
indicator of if an rdma op is present.
rdma SGs allocated from rm sg pool.
rds_rm_size also gets bigger. It's a little inefficient to
run through CMSGs twice, but it makes later steps a lot smoother.
Signed-off-by:
Andy Grover <andy.grover@oracle.com>
Showing
- net/rds/ib_send.c 10 additions, 10 deletionsnet/rds/ib_send.c
- net/rds/iw_send.c 8 additions, 8 deletionsnet/rds/iw_send.c
- net/rds/message.c 6 additions, 3 deletionsnet/rds/message.c
- net/rds/rdma.c 60 additions, 53 deletionsnet/rds/rdma.c
- net/rds/rds.h 1 addition, 1 deletionnet/rds/rds.h
- net/rds/send.c 44 additions, 15 deletionsnet/rds/send.c
Loading
Please register or sign in to comment