linux/include/rdma
Ralph Campbell 9a6edb60ec IB/core: Allow device-specific per-port sysfs files
Add a new parameter to ib_register_device() so that low-level device
drivers can pass in a pointer to a callback function that will be
called for each port that is registered in sysfs.  This allows
low-level device drivers to create files in

    /sys/class/infiniband/<hca>/ports/<N>/

without having to poke through the internals of the RDMA sysfs handling.

There is no need for an unregister function since the kobject
reference will go to zero when ib_unregister_device() is called.

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2010-05-21 10:34:44 -07:00
..
ib_addr.h RDMA/cm: fix loopback address support 2009-11-19 13:26:06 -08:00
ib_cache.h RDMA: Improve include file coding style 2008-07-14 23:48:44 -07:00
ib_cm.h trivial: fix typo "to to" in multiple files 2009-09-21 15:14:55 +02:00
ib_fmr_pool.h RDMA: Improve include file coding style 2008-07-14 23:48:44 -07:00
ib_mad.h Merge branches 'cxgb3', 'endian', 'ipath', 'ipoib', 'iser', 'mad', 'misc', 'mlx4', 'mthca', 'nes' and 'sysfs' into for-next 2009-03-24 20:44:41 -07:00
ib_marshall.h
ib_pack.h IB/core: Fix and clean up ib_ud_header_init() 2010-02-24 14:54:10 -08:00
ib_sa.h RDMA/ucma: Add option to manually set IB path 2009-11-16 09:30:33 -08:00
ib_smi.h IB: Remove __constant_{endian} uses 2009-01-17 17:11:57 -08:00
ib_umem.h
ib_user_cm.h RDMA: Improve include file coding style 2008-07-14 23:48:44 -07:00
ib_user_mad.h RDMA: Improve include file coding style 2008-07-14 23:48:44 -07:00
ib_user_sa.h RDMA/ucma: Add option to manually set IB path 2009-11-16 09:30:33 -08:00
ib_user_verbs.h RDMA/core: Add memory management extensions support 2008-07-14 23:48:45 -07:00
ib_verbs.h IB/core: Allow device-specific per-port sysfs files 2010-05-21 10:34:44 -07:00
iw_cm.h RDMA: Improve include file coding style 2008-07-14 23:48:44 -07:00
Kbuild
rdma_cm_ib.h
rdma_cm.h RDMA/cm: Remove unused definition of RDMA_PS_SCTP 2010-02-11 15:40:25 -08:00
rdma_user_cm.h RDMA/ucma: Add option to manually set IB path 2009-11-16 09:30:33 -08:00