summaryrefslogtreecommitdiffstats
path: root/sys/dev/e1000
diff options
context:
space:
mode:
authorjfv <jfv@FreeBSD.org>2010-08-19 17:00:33 +0000
committerjfv <jfv@FreeBSD.org>2010-08-19 17:00:33 +0000
commit053ba6dde7f8a7cf613fdf514fc7244daa3e8f01 (patch)
treeac01fd27a3efd71b1369cab4f981de5f5d551666 /sys/dev/e1000
parentd02cab25565d9a15e5b1e673f257dd3334ac8132 (diff)
downloadFreeBSD-src-053ba6dde7f8a7cf613fdf514fc7244daa3e8f01.zip
FreeBSD-src-053ba6dde7f8a7cf613fdf514fc7244daa3e8f01.tar.gz
Eliminate the ambiguous queue setting logic for
the VF, it made it possible to have 2 queues which we don't want, the HOST is unable to handle it.
Diffstat (limited to 'sys/dev/e1000')
-rw-r--r--sys/dev/e1000/if_igb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/e1000/if_igb.c b/sys/dev/e1000/if_igb.c
index c908517..412ea9e 100644
--- a/sys/dev/e1000/if_igb.c
+++ b/sys/dev/e1000/if_igb.c
@@ -2473,8 +2473,8 @@ igb_setup_msix(struct adapter *adapter)
if ((adapter->hw.mac.type == e1000_82575) && (queues > 4))
queues = 4;
- /* Limit the VF adapter to one queues */
- if ((adapter->hw.mac.type == e1000_vfadapt) && (queues > 2))
+ /* Limit the VF adapter to one queue */
+ if (adapter->hw.mac.type == e1000_vfadapt)
queues = 1;
/*
OpenPOWER on IntegriCloud