projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i40e: Fix waiting for queues of all VSIs to be disabled
[linux-2.6-microblaze.git]
/
drivers
/
net
/
ethernet
/
intel
/
i40e
/
i40e_main.c
diff --git
a/drivers/net/ethernet/intel/i40e/i40e_main.c
b/drivers/net/ethernet/intel/i40e/i40e_main.c
index
6e7fd47
..
7a416e9
100644
(file)
--- a/
drivers/net/ethernet/intel/i40e/i40e_main.c
+++ b/
drivers/net/ethernet/intel/i40e/i40e_main.c
@@
-5360,7
+5360,7
@@
static int i40e_pf_wait_queues_disabled(struct i40e_pf *pf)
{
int v, ret = 0;
- for (v = 0; v < pf->
hw.func_caps.num_vsis
; v++) {
+ for (v = 0; v < pf->
num_alloc_vsi
; v++) {
if (pf->vsi[v]) {
ret = i40e_vsi_wait_queues_disabled(pf->vsi[v]);
if (ret)