IB/mad: Add partial Intel OPA MAD support
authorIra Weiny <ira.weiny@intel.com>
Sat, 6 Jun 2015 18:38:33 +0000 (14:38 -0400)
committerDoug Ledford <dledford@redhat.com>
Fri, 12 Jun 2015 18:49:17 +0000 (14:49 -0400)
commit548ead17442f13bdaa679e222ee2fd186e32301d
tree87d897e6c158bc60d49e84912a25d676100430b5
parent65995fee842fd9f1427b62be24053846d9c32102
IB/mad: Add partial Intel OPA MAD support

This patch is the first of 3 which adds processing of OPA MADs

1) Add Intel Omni-Path Architecture defines
2) Increase max management version to accommodate OPA
3) update ib_create_send_mad
If the device supports OPA MADs and the MAD being sent is the OPA base
version alter the MAD size and sg lengths as appropriate

Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/mad.c
drivers/infiniband/core/mad_priv.h
drivers/infiniband/core/mad_rmpp.c
include/rdma/ib_mad.h