diff options
author | Roland Dreier <rolandd@cisco.com> | 2006-01-09 18:29:53 -0500 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-01-09 18:29:53 -0500 |
commit | 87635b71b544563f29050a9cecaa12b5d2a3e34a (patch) | |
tree | 5be700dae4582d73fdd31b8db0480eaddd04881c /drivers/infiniband/core/sysfs.c | |
parent | 105e50a5e8f184af31daffce4d7bfd7771fe213f (diff) |
IB/mthca: Factor common MAD initialization code
Factor out common code for initializing MAD packets, which is shared
by many query routines in mthca_provider.c, into init_query_mad().
add/remove: 1/0 grow/shrink: 0/4 up/down: 16/-44 (-28)
function old new delta
init_query_mad - 16 +16
mthca_query_port 521 518 -3
mthca_query_pkey 301 294 -7
mthca_query_device 648 641 -7
mthca_query_gid 453 426 -27
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/core/sysfs.c')
0 files changed, 0 insertions, 0 deletions