IB/ipath: Set CPU affinity early
authorBryan O'Sullivan <bos@pathscale.com>
Thu, 28 Sep 2006 16:00:21 +0000 (09:00 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 28 Sep 2006 18:17:07 +0000 (11:17 -0700)
commitc97d27d8a992cf6cefee945489d5f93fca160aa2
tree6d788ad830d2437c217a3000d681d9422a7dfc3d
parent1a4e74a08788db913486cb9a3dc30984c55e9897
IB/ipath: Set CPU affinity early

This change moves around port assignment so that it happens before any
memory is allocated.  This allows memory to be allocated on an appropriate
CPU, which improves performance for users of /dev/ipath.

Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_common.h
drivers/infiniband/hw/ipath/ipath_file_ops.c