RDS: Pass rds_conn_path to rds_send_xmit()
Pass a struct rds_conn_path to rds_send_xmit so that MP capable transports can transmit packets on something other than c_path[0]. The eventual goal for MP capable transports is to hash the rds socket to a path based on the bound local address/port, and use this path as the argument to rds_send_xmit() Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
780a6d9e16
commit
1f9ecd7eac
@@ -177,7 +177,7 @@ void rds_send_worker(struct work_struct *work)
|
||||
|
||||
if (rds_conn_path_state(cp) == RDS_CONN_UP) {
|
||||
clear_bit(RDS_LL_SEND_FULL, &cp->cp_flags);
|
||||
ret = rds_send_xmit(cp->cp_conn);
|
||||
ret = rds_send_xmit(cp);
|
||||
cond_resched();
|
||||
rdsdebug("conn %p ret %d\n", cp->cp_conn, ret);
|
||||
switch (ret) {
|
||||
|
Reference in New Issue
Block a user