Zach Brown 89bf9d4158 RDS/IB: get the xmit max_sge from the RDS IB device on the connection
rds_ib_xmit_rdma() was calling ib_get_client_data() to get at the rds_ibdevice
just to get the max_sge for the transmit.  This patch instead has it get it
directly off the rds_ibdev which is stored on the connection.

The current code won't free the rds_ibdev until all the IB connections that use
it are freed.  So it's safe to reference the rds_ibdev this way.  In the future
it also makes it easier to support proper reference counting of the rds_ibdev
struct.

As an additional bonus, this gets rid of the performance hit of calling in to
the IB stack to look up the rds_ibdev.  The current implementation in the IB
stack acquires an interrupt blocking spinlock to protect the registration of
client callback data.

Signed-off-by: Zach Brown <zach.brown@oracle.com>
2010-09-08 18:15:16 -07:00
..
2010-08-19 00:14:36 -07:00
2010-08-18 14:26:31 -07:00
2010-09-06 18:48:45 -07:00
2010-09-06 18:48:45 -07:00
2010-09-02 10:12:06 -07:00
2010-06-03 03:21:52 -07:00
2010-05-17 23:23:13 -07:00
2010-09-02 09:19:32 -07:00
2010-09-02 10:04:18 -07:00
2010-08-18 23:35:58 -07:00
2010-04-20 16:37:13 -07:00
2010-08-01 00:32:12 -07:00
2010-08-24 14:48:10 -07:00
2010-09-06 18:48:45 -07:00
2010-09-06 18:48:45 -07:00
2010-08-31 14:20:40 -04:00
2010-05-17 17:39:28 -07:00