linux_dsm_epyc7002/drivers/infiniband/hw/ehca
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
..
ehca_av.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ehca_classes_pSeries.h IB/ehca: Remove superfluous bitmasks from QP control block 2009-06-03 13:25:42 -07:00
ehca_classes.h IB/ehca: Rework destroy_eq() 2009-12-09 10:11:04 -08:00
ehca_cq.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ehca_eq.c IB/ehca: Rework destroy_eq() 2009-12-09 10:11:04 -08:00
ehca_hca.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ehca_irq.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ehca_irq.h
ehca_iverbs.h IB/ehca: Generate flush status CQ entries 2008-09-20 20:05:21 -07:00
ehca_main.c IB/core: Allow device-specific per-port sysfs files 2010-05-21 10:34:44 -07:00
ehca_mcast.c IB/ehca: Fix printk format warnings from u64 type change 2009-01-16 14:55:28 -08:00
ehca_mrmw.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ehca_mrmw.h IB/ehca: Tolerate dynamic memory operations before driver load 2009-06-22 22:18:51 -07:00
ehca_pd.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ehca_qes.h tree-wide: Assorted spelling fixes 2010-02-09 11:13:56 +01:00
ehca_qp.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ehca_reqs.c tree-wide: Assorted spelling fixes 2010-02-09 11:13:56 +01:00
ehca_sqp.c IB/ehca: Require in_wc in process_mad() 2010-02-19 11:13:39 -08:00
ehca_tools.h IB/ehca: Fix printk format warnings from u64 type change 2009-01-16 14:55:28 -08:00
ehca_uverbs.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
hcp_if.c IB/ehca: Remove unnecessary memory operations for userspace queue pairs 2009-05-13 16:52:43 -07:00
hcp_if.h IB/ehca: Remove unnecessary memory operations for userspace queue pairs 2009-05-13 16:52:43 -07:00
hcp_phyp.c IB/ehca: Remove unnecessary memory operations for userspace queue pairs 2009-05-13 16:52:43 -07:00
hcp_phyp.h IB/ehca: Remove unnecessary memory operations for userspace queue pairs 2009-05-13 16:52:43 -07:00
hipz_fns_core.h
hipz_fns.h
hipz_hw.h IB/ehca: Serialize HCA-related hCalls if necessary 2007-12-12 14:09:43 -08:00
ipz_pt_fn.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ipz_pt_fn.h
Kconfig
Makefile