]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS: Track transports via an array, not a list
authorAndy Grover <andy.grover@oracle.com>
Wed, 12 Aug 2009 19:42:09 +0000 (12:42 -0700)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 7 Jul 2015 23:41:18 +0000 (16:41 -0700)
commitfc77d7e9a46aa5667154ab71b0938824eafd434d
tree8f2722193a3f23a8833ce788f3606d0f01e0b96b
parent5799936d59e8e7a89931a27a21be9f085c373852
RDS: Track transports via an array, not a list

Now that transports can be loaded in arbitrary order,
it is important for rds_trans_get_preferred() to look
for them in a particular order, instead of walking the list
until it finds a transport that works for a given address.
Now, each transport registers for a specific transport slot,
and these are ordered so that preferred transports come first,
and then if they are not loaded, other transports are queried.

Signed-off-by: Andy Grover <andy.grover@oracle.com>
net/rds/ib.c
net/rds/iw.c
net/rds/rds.h
net/rds/tcp.c
net/rds/transport.c