linux/drivers/infiniband/hw
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
..
amso1100 IB/mad: Add support for additional MAD info to/from drivers 2015-06-12 14:49:17 -04:00
cxgb3 IB/mad: Add support for additional MAD info to/from drivers 2015-06-12 14:49:17 -04:00
cxgb4 IB/mad: Add support for additional MAD info to/from drivers 2015-06-12 14:49:17 -04:00
ehca IB/mad: Add support for additional MAD info to/from drivers 2015-06-12 14:49:17 -04:00
ipath IB/mad: Add support for additional MAD info to/from drivers 2015-06-12 14:49:17 -04:00
mlx4 IB/mad: Add support for additional MAD info to/from drivers 2015-06-12 14:49:17 -04:00
mlx5 IB/mad: Add support for additional MAD info to/from drivers 2015-06-12 14:49:17 -04:00
mthca IB/mad: Add support for additional MAD info to/from drivers 2015-06-12 14:49:17 -04:00
nes IB/mad: Add support for additional MAD info to/from drivers 2015-06-12 14:49:17 -04:00
ocrdma IB/mad: Add support for additional MAD info to/from drivers 2015-06-12 14:49:17 -04:00
qib IB/mad: Add support for additional MAD info to/from drivers 2015-06-12 14:49:17 -04:00
usnic IB/core: Pass hardware specific data in query_device 2015-06-12 14:49:10 -04:00
Makefile IB: Allow build of hw/ and ulp/ subdirectories independently 2014-06-02 14:51:12 -07:00