From: Erez Shitrit Date: Tue, 8 Jul 2014 09:45:11 +0000 (+0300) Subject: IB/ipoib: Use P_Key change event instead of P_Key polling mechanism X-Git-Tag: omap-for-v3.17/fixes-against-rc2~62^2^3~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db84f88037592f069f5c1fc7f6b00ae6f5eb2e84;p=pandora-kernel.git IB/ipoib: Use P_Key change event instead of P_Key polling mechanism The current code use a dedicated polling logic to determine when the P_Key assigned to the ipoib device is present in HCA port table and act accordingly. Move to use the code which acts upon getting PKEY_CHANGE event to handle this task and remove the P_Key polling logic/thread as they add extra complexity which isn't needed. Signed-off-by: Erez Shitrit Signed-off-by: Or Gerlitz Acked-by: Alex Estrin Signed-off-by: Roland Dreier --- Reading git-diff-tree failed