linux_dsm_epyc7002/drivers/infiniband/hw/amso1100
Ira Weiny 4cd7c9479a IB/mad: Add support for additional MAD info to/from drivers
In order to support alternate sized MADs (and variable sized MADs on OPA
devices) add in/out MAD size parameters to the process_mad core call.

In addition, add an out_mad_pkey_index to communicate the pkey index the driver
wishes the MAD stack to use when sending OPA MAD responses.

The out MAD size and the out MAD PKey index are required by the MAD
stack to generate responses on OPA devices.

Furthermore, the in and out MAD parameters are made generic by specifying them
as ib_mad_hdr rather than ib_mad.

Drivers are modified as needed and are protected by BUG_ON flags if the MAD
sizes passed to them is incorrect.

Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-06-12 14:49:17 -04:00
..
c2_ae.c IB: Remove unnecessary semicolons 2013-10-14 10:10:00 -07:00
c2_ae.h
c2_alloc.c RDMA/amso1100: Use the dma state API instead of pci equivalents 2010-04-21 15:23:10 -07:00
c2_cm.c RDMA/cma: Add IPv6 support for iWARP 2013-08-12 12:32:31 -07:00
c2_cq.c RDMA/amso1100: Check for integer overflow in c2_alloc_cq_buf() 2014-08-12 22:00:03 -07:00
c2_intr.c RDMA/amso1100: Add check if cache memory was allocated before freeing it 2014-01-22 23:03:59 -08:00
c2_mm.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
c2_mq.c RDMA/amso1100: Start of endianness annotation 2008-04-16 21:01:08 -07:00
c2_mq.h RDMA/amso1100: Use the dma state API instead of pci equivalents 2010-04-21 15:23:10 -07:00
c2_pd.c Drivers: infinband: remove __dev* attributes. 2013-01-03 15:57:15 -08:00
c2_provider.c IB/mad: Add support for additional MAD info to/from drivers 2015-06-12 14:49:17 -04:00
c2_provider.h RDMA/amso1100: Use the dma state API instead of pci equivalents 2010-04-21 15:23:10 -07:00
c2_qp.c drivers/infiniband/hw/amso1100: convert to using idr_alloc_cyclic 2013-04-29 18:28:41 -07:00
c2_rnic.c RDMA/amso1100: Fix error return code 2014-02-12 11:11:46 -08:00
c2_status.h
c2_user.h
c2_vq.c RDMA/amso1100: Fix compile warnings 2011-01-28 15:40:25 -08:00
c2_vq.h
c2_wr.h Fix common misspellings 2011-03-31 11:26:23 -03:00
c2.c infiniband: use pci_zalloc_consistent 2014-08-08 15:57:28 -07:00
c2.h drivers/infiniband/hw/amso1100: convert to using idr_alloc_cyclic 2013-04-29 18:28:41 -07:00
Kbuild IB: Replace EXTRA_CFLAGS with ccflags-y 2010-10-23 13:45:03 -07:00
Kconfig IB: Use menuconfig for InfiniBand menu 2007-07-09 20:12:26 -07:00