diff options
author | Sathya Perla <sathya.perla@emulex.com> | 2013-08-27 16:57:32 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-27 15:57:04 -0400 |
commit | 92bf14abf7a064936b5e6baab30661da86a86e52 (patch) | |
tree | d8268f13c45c47725994a1eeaa8ab94563101322 /security | |
parent | be2net: Fixup profile management routines (diff) | |
download | linux-dev-92bf14abf7a064936b5e6baab30661da86a86e52.tar.xz linux-dev-92bf14abf7a064936b5e6baab30661da86a86e52.zip |
be2net: refactor be_get_resources() code
1) use be_resources{} struct to query/store HW resource limits
2) The HW queue/resource limits for BE2/BE3 chips are mostly called out
in driver as constants. Code to handle this is scattered across various
places in be_setup(). Consolidate this code into BEx_get_resources().
For Lancer-R, Skyhawk-R, these limits are queried from FW.
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions