mirror of https://gitee.com/openkylin/linux.git
4cd7c9479a
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> |
||
---|---|---|
.. | ||
Kbuild | ||
Kconfig | ||
c2.c | ||
c2.h | ||
c2_ae.c | ||
c2_ae.h | ||
c2_alloc.c | ||
c2_cm.c | ||
c2_cq.c | ||
c2_intr.c | ||
c2_mm.c | ||
c2_mq.c | ||
c2_mq.h | ||
c2_pd.c | ||
c2_provider.c | ||
c2_provider.h | ||
c2_qp.c | ||
c2_rnic.c | ||
c2_status.h | ||
c2_user.h | ||
c2_vq.c | ||
c2_vq.h | ||
c2_wr.h |