summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIra Weiny <ira.weiny@intel.com>2015-06-06 21:38:23 +0300
committerDoug Ledford <dledford@redhat.com>2015-06-12 21:49:16 +0300
commit83a1d2288952db16150a09f3d40284ffc11fc063 (patch)
tree9a2ad749c9cfd476585a5caa9a40034cb3e2855e /tools/perf/scripts/python
parentd94bd2667a78ecbc64296588a8272e97a61dbafd (diff)
downloadlinux-83a1d2288952db16150a09f3d40284ffc11fc063.tar.xz
IB/mad cleanup: Generalize processing of MAD data
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions