commit | 85a87c90ee90217da1b05a77bbb47ebe31a2f124 | [log] [tgz] |
---|---|---|
author | Henry Orosco <henry.orosco@intel.com> | Wed Nov 09 21:30:28 2016 -0600 |
committer | Doug Ledford <dledford@redhat.com> | Mon Dec 05 16:09:35 2016 -0500 |
tree | bae620dd58d1f85d924cd4c64cca04e0d3188453 | |
parent | e7f9774af591d346990f1d6dfca0ee9caeb52756 [diff] |
i40iw: Query device accounts for internal rsrc Some resources are consumed internally and not available to the user. After hw is initialized, figure out how many resources are consumed and subtract those numbers from the initial max device capability in i40iw_query_device(). Signed-off-by: Henry Orosco <henry.orosco@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>