From: Matan Barak Date: Thu, 31 Jul 2014 08:01:29 +0000 (+0300) Subject: mlx4_core: Add helper functions to support MR re-registration X-Git-Tag: omap-for-v3.17/fixes-against-rc2~62^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e630664c8383f300c4146d7613d61e5a8eb1f8e3;p=pandora-kernel.git mlx4_core: Add helper functions to support MR re-registration Add few helper functions to support a mechanism of getting an MPT, modifying it and updating the HCA with the modified object. The code takes 2 paths, one for directly changing the MPT (and sometimes its related MTTs) and another one which queries the MPT and updates the HCA via fw command SW2HW_MPT. The first path is used in native mode; the second path is slower and is used only in SRIOV. Signed-off-by: Jack Morgenstein Signed-off-by: Matan Barak Signed-off-by: Or Gerlitz Signed-off-by: Roland Dreier --- Reading git-diff-tree failed