commit | 81be8f0ab47db1171dac0eb8b062291603b57dd4 | [log] [tgz] |
---|---|---|
author | Ajit Khaparde <ajit.khaparde@emulex.com> | Wed Apr 06 18:08:17 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 07 15:04:45 2011 -0700 |
tree | 91dbff61d5dda0a8be1c775cadddd15aea4c398c | |
parent | b0060586d23968d66325d775651d92ee830c032f [diff] |
be2net: fix to get max VFs supported from adapter The user supplied num_vfs value need not be compared against a static BE_MAX_VF, but can be checked against the actual VFs that the device can support. Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>