From: Ido Shamay Date: Thu, 2 Apr 2015 13:31:07 +0000 (+0300) Subject: net/mlx4_en: Change loopback only upon feature change X-Git-Tag: omap-for-v4.1/fixes-rc1~141^2~83^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=241a08c3a767ca2f6ab1c99c4db4c3ff867de8aa;p=pandora-kernel.git net/mlx4_en: Change loopback only upon feature change Currently any change of netdev features results in a call to mlx4_en_update_loopback_state(). Those calls are unnecessary, and should be called only upon loopback feature change. Also moved some of the logic into mlx4_en_update_loopback_state(). Signed-off-by: Ido Shamay Signed-off-by: Or Gerlitz Signed-off-by: David S. Miller --- Reading git-diff-tree failed