commit | 29869eafa6d757edbec17a9a7add1e34b968ae2c | [log] [tgz] |
---|---|---|
author | Ira Weiny <ira.weiny@intel.com> | Sat Jun 06 14:38:27 2015 -0400 |
committer | Doug Ledford <dledford@redhat.com> | Fri Jun 12 14:49:16 2015 -0400 |
tree | f9c6a9b60c697d12748d7cdd69bed5d2e8305575 | |
parent | 86f0e67a21508b3e6020d53ef92a73081ed7eae1 [diff] |
IB/mad: Create a generic helper for DR forwarding checks 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 the DR forwarding checks which can be used by both IB and OPA SMP code. Use this function in the current IB function smi_check_forward_dr_smp. Signed-off-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>