IB: Move struct port_info from ipath to <rdma/ib_smi.h>
authorLeonid Arsh <leonida@voltaire.com>
Sun, 18 Jun 2006 03:37:36 +0000 (20:37 -0700)
committerRoland Dreier <rolandd@cisco.com>
Sun, 18 Jun 2006 03:37:36 +0000 (20:37 -0700)
commitda2ab62ab5e430e6ffafc2d0e6046dcd2780f570
tree8628b70e91c193cd2ed90dca062974dc90fe16d7
parent508e434123b136c96d1bf989e8d4ab0c8d7498b1
IB: Move struct port_info from ipath to <rdma/ib_smi.h>

Move ipath's struct port_info into <rdma/ib_smi.h>, so that it can be
used by mthca to implement client reregister support.

Remove the __attribute__((packed)) because all the members of the struct
are naturally aligned anyway.

Signed-off-by: Leonid Arsh <leonida@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_mad.c
include/rdma/ib_smi.h