be2net: fix vfs enumeration
authorIvan Vecera <ivecera@redhat.com>
Tue, 25 Sep 2012 02:50:42 +0000 (02:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Sep 2012 22:14:15 +0000 (18:14 -0400)
commit51af6d7c1f31e0f3d42c87d53657ec7acb6e3462
treea143827ed140890d0bfa8a4fbe0b7217640bf6d2
parenteccc1bb8d4b4cf68d3c9becb083fa94ada7d495c
be2net: fix vfs enumeration

Current VFs enumeration algorithm used in be_find_vfs does not take domain
number into the match. The match found in igb/ixgbe is more elegant and
safe.

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c