git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d94bd26
)
IB/mad cleanup: Generalize processing of MAD data
author
Ira Weiny
<ira.weiny@intel.com>
Sat, 6 Jun 2015 18:38:23 +0000
(14:38 -0400)
committer
Doug Ledford
<dledford@redhat.com>
Fri, 12 Jun 2015 18:49:16 +0000
(14:49 -0400)
ib_find_send_mad only needs access to the MAD header not the full IB MAD.
Change the local variable to ib_mad_hdr and change the corresponding cast.
This allows for clean usage of this function with both IB and OPA MADs because
OPA MADs carry the same header as IB MADs.
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/mad.c
patch
|
blob
|
history
diff --cc
drivers/infiniband/core/mad.c
Simple merge