commit | 86f0e67a21508b3e6020d53ef92a73081ed7eae1 | [log] [tgz] |
---|---|---|
author | Ira Weiny <ira.weiny@intel.com> | Sat Jun 06 14:38:26 2015 -0400 |
committer | Doug Ledford <dledford@redhat.com> | Fri Jun 12 14:49:16 2015 -0400 |
tree | 6741fabfc028ae7a10fb9bf52534751e0d7e100d | |
parent | 92f1505604be05a01851203a5759ad9ed33c8d91 [diff] |
IB/mad: Create a generic helper for DR SMP Recv processing IB and OPA SMPs share the same processing algorithm but have different header formats and permissive LID detection. Add a helper function which is generic to processing DR SMP Recv messages which can be used by both IB and OPA SMP code. Use this function in the current IB function smi_handle_dr_smp_recv. Signed-off-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>