linux_dsm_epyc7002/drivers/infiniband/hw/nes
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/nes: Update copyright and branding string 2009-12-09 15:21:56 -08:00
Makefile RDMA/nes: Support for Packed And Unaligned fpdus 2011-10-10 10:54:47 -07:00
nes_cm.c RDMA/nes: Enable the use of the tos field in the nes driver 2015-06-02 09:22:31 -04:00
nes_cm.h RDMA/nes: Enable the use of the tos field in the nes driver 2015-06-02 09:22:31 -04:00
nes_context.h RDMA/nes: Copyright update 2012-01-30 16:18:07 -08:00
nes_hw.c infiniband: use pci_zalloc_consistent 2014-08-08 15:57:28 -07:00
nes_hw.h RDMA/nes: Copyright update 2012-01-30 16:18:07 -08:00
nes_mgt.c RDMA/nes: Use WARN() 2012-11-22 00:49:15 -08:00
nes_mgt.h RDMA/nes: Copyright update 2012-01-30 16:18:07 -08:00
nes_nic.c net: rename vlan_tx_* helpers since "tx" is misleading there 2015-01-13 17:51:08 -05:00
nes_user.h RDMA/nes: Fix for passing a valid QP pointer to the user space library 2014-03-17 10:04:16 -07:00
nes_utils.c RDMA/nes: Print hardware resource type 2012-09-30 20:34:55 -07:00
nes_verbs.c IB/mad: Add support for additional MAD info to/from drivers 2015-06-12 14:49:17 -04:00
nes_verbs.h RDMA/nes: Fix for passing a valid QP pointer to the user space library 2014-03-17 10:04:16 -07:00
nes.c RDMA/nes: Report the actual address of the remote connecting peer 2015-05-05 09:18:01 -04:00
nes.h RDMA/nes: Add support for iWARP Port Mapper user space service 2014-06-10 10:12:06 -07:00