commit | 2f6a02604e962295569749913081365ec9ec1372 | [log] [tgz] |
---|---|---|
author | Ivan Vecera <ivecera@redhat.com> | Mon Oct 01 01:56:55 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Oct 01 16:43:17 2012 -0400 |
tree | 199ae83acd27e6f007f7230644d3b6b0b3556bd7 | |
parent | f4b549a5ac818722fc13d789584f41f4e00d78b5 [diff] |
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. This 2nd version uses pci_physfn instead of checking dev->physfn directly. Signed-off-by: Ivan Vecera <ivecera@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>