From: Vasundhara Volam Date: Thu, 17 Jul 2014 10:50:31 +0000 (+0530) Subject: be2net: use adapter->flags to track SRIOV state X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~131^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f174c7ec10d99e62f7722d0608b2a881ef091d21;p=pandora-kernel.git be2net: use adapter->flags to track SRIOV state The driver so far used adapter->num_vfs value to check if SR-IOV is enabled or not. But, the patch bec84e6("create optimal number of queues on SR-IOV config") changed this logic. The adapter->num_vfs value is validated and set much before SR-IOV is enabled. So, we now use an explicit flag to track SR-IOV enabled state. Signed-off-by: Vasundhara Volam Signed-off-by: Sathya Perla Signed-off-by: David S. Miller --- Reading git-diff-tree failed