From: Ira Weiny Date: Sat, 6 Jun 2015 18:38:27 +0000 (-0400) Subject: IB/mad: Create a generic helper for DR forwarding checks X-Git-Tag: omap-for-v4.2/fixes-rc1^2~152^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29869eafa6d757edbec17a9a7add1e34b968ae2c;p=pandora-kernel.git 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 Signed-off-by: Doug Ledford --- Reading git-diff-tree failed