linux/drivers/infiniband/hw/ocrdma
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
..
Kconfig RDMA/ocrdma: Add dependency on INET 2014-01-19 15:16:23 -08:00
Makefile RDMA/ocrdma: Query controller information 2014-04-03 08:30:05 -07:00
ocrdma_abi.h RDMA/ocrdma: Code clean-up 2014-04-03 08:30:06 -07:00
ocrdma_ah.c IB/mad: Add support for additional MAD info to/from drivers 2015-06-12 14:49:17 -04:00
ocrdma_ah.h IB/mad: Add support for additional MAD info to/from drivers 2015-06-12 14:49:17 -04:00
ocrdma_hw.c RDMA/ocrdma: remove reference of ocrdma_dev out of ocrdma_qp structure 2015-02-18 08:31:04 -08:00
ocrdma_hw.h RDMA/ocrdma: Move PD resource management to driver. 2015-02-18 08:30:59 -08:00
ocrdma_main.c IB/core: Add ability for drivers to report an alternate MAD size. 2015-06-12 14:49:17 -04:00
ocrdma_sli.h RDMA/ocrdma: set vlan present bit for user AH 2015-02-18 08:31:05 -08:00
ocrdma_stats.c RDMA/ocrdma: Debugfs enhancments for ocrdma driver 2015-02-18 08:31:02 -08:00
ocrdma_stats.h RDMA/ocrdma: Debugfs enhancments for ocrdma driver 2015-02-18 08:31:02 -08:00
ocrdma_verbs.c IB/core: Pass hardware specific data in query_device 2015-06-12 14:49:10 -04:00
ocrdma_verbs.h IB/core: Pass hardware specific data in query_device 2015-06-12 14:49:10 -04:00
ocrdma.h RDMA/ocrdma: Update the ocrdma module version string 2015-02-18 08:31:05 -08:00