diff options
author | Ivan Vecera <ivecera@redhat.com> | 2012-10-01 01:56:55 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-10-01 16:43:17 -0400 |
commit | 2f6a02604e962295569749913081365ec9ec1372 (patch) | |
tree | 199ae83acd27e6f007f7230644d3b6b0b3556bd7 /drivers/net/ethernet/davicom | |
parent | f4b549a5ac818722fc13d789584f41f4e00d78b5 (diff) | |
download | linux-stable-2f6a02604e962295569749913081365ec9ec1372.tar.gz linux-stable-2f6a02604e962295569749913081365ec9ec1372.tar.bz2 linux-stable-2f6a02604e962295569749913081365ec9ec1372.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/davicom')
0 files changed, 0 insertions, 0 deletions