From owner-svn-src-all@FreeBSD.ORG Thu Aug 19 17:00:33 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7FD110656A9; Thu, 19 Aug 2010 17:00:33 +0000 (UTC) (envelope-from jfv@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C7C608FC1B; Thu, 19 Aug 2010 17:00:33 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o7JH0XuD010586; Thu, 19 Aug 2010 17:00:33 GMT (envelope-from jfv@svn.freebsd.org) Received: (from jfv@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o7JH0XEp010584; Thu, 19 Aug 2010 17:00:33 GMT (envelope-from jfv@svn.freebsd.org) Message-Id: <201008191700.o7JH0XEp010584@svn.freebsd.org> From: Jack F Vogel Date: Thu, 19 Aug 2010 17:00:33 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r211516 - head/sys/dev/e1000 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2010 17:00:34 -0000 Author: jfv Date: Thu Aug 19 17:00:33 2010 New Revision: 211516 URL: http://svn.freebsd.org/changeset/base/211516 Log: 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. Modified: head/sys/dev/e1000/if_igb.c Modified: head/sys/dev/e1000/if_igb.c ============================================================================== --- head/sys/dev/e1000/if_igb.c Thu Aug 19 16:41:27 2010 (r211515) +++ head/sys/dev/e1000/if_igb.c Thu Aug 19 17:00:33 2010 (r211516) @@ -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; /*