diff options
author | Shannon Nelson <shannon.nelson@oracle.com> | 2017-10-10 14:56:58 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2017-10-31 10:39:22 -0700 |
commit | 3e6b1cf7613393a7c8648133daf0e853c4e05220 (patch) | |
tree | 829f4921babf5262846b806c1161e42c4b0c350e /fs/lockd/procfs.h | |
parent | 254d152a216750f508442cc3e502130e5f539ab4 (diff) |
i40e: only redistribute MSI-X vectors when needed
Whether or not there are vectors_left, we only need to redistribute
our vectors if we didn't get as many as we requested. With the current
check, the code will try to redistribute even if we did in fact get all
the vectors we requested - this can happen when we have more CPUs than
we do vectors. This restores an earlier check to be sure we only
redistribute if we didn't get the full count we requested.
Fixes: 4ce20abc645f (i40e: fix MSI-X vector redistribution if hw limit is reached)
Signed-off-by: Shannon Nelson <shannon.nelson@oracle.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'fs/lockd/procfs.h')
0 files changed, 0 insertions, 0 deletions