From owner-freebsd-net@FreeBSD.ORG Fri Mar 29 12:52:58 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 07B6BF84 for ; Fri, 29 Mar 2013 12:52:58 +0000 (UTC) (envelope-from barney_cordoba@yahoo.com) Received: from nm35-vm6.bullet.mail.ne1.yahoo.com (nm35-vm6.bullet.mail.ne1.yahoo.com [98.138.229.102]) by mx1.freebsd.org (Postfix) with ESMTP id BCEDD142 for ; Fri, 29 Mar 2013 12:52:56 +0000 (UTC) Received: from [98.138.90.51] by nm35.bullet.mail.ne1.yahoo.com with NNFMP; 29 Mar 2013 12:51:12 -0000 Received: from [98.138.88.235] by tm4.bullet.mail.ne1.yahoo.com with NNFMP; 29 Mar 2013 12:51:12 -0000 Received: from [127.0.0.1] by omp1035.mail.ne1.yahoo.com with NNFMP; 29 Mar 2013 12:51:12 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 205908.68888.bm@omp1035.mail.ne1.yahoo.com Received: (qmail 48589 invoked by uid 60001); 29 Mar 2013 12:51:12 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1364561471; bh=pK1yhNbCBIC6lP7s/vhwct29x4Lv4/f3dckXxE2KUTs=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=IkM/QVWdgabzS+msIKFIHMe2nGibeBYMKRa/4PU3WgnYYT+nPLDyn9FjpjfdgCa++wtdesEpFlEtCYSGExee/xMpbedcrwqoR16RfDWxZ4i+w7Pbz8TxQFpcZhYcM3GnUtZseE1qHJAtApMY13napHSxO8GXDmUOxBE8FxgCUTc= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=ngb1YkS7mZh2ZmH5VtZ6XTdkxXEAfraZOQDzAYEsxlb08yuW/11EAbVZ4ZgyO21tzrc2b87QlDFnG+MXRxqn0O6lx/EtlPuQ9T9MvLF5a3VqWDrQi/LAaRL+9CYSVDEX7lvZhobLRyrpk/WaDv3pSUjN+bbL1jjnw7PtPVAHgbY=; X-YMail-OSG: nX323PgVM1nYSJXZ.xZUhraWoVm79uhVloneHAnanwMwreW 8rz5oD7Mlxzv26Lj.wX6KJczy1HpTgVpkgPhSf2rpTvWt_sPymn9WOmCp7AP RlFMruFxLV01RhmzVE97JMYpFt8S_cFQaefQODJt8tqLAXqJf9yTBd1_zhc8 5Fy3Q12pxPr7A4m8H2ysV5F8U.TTIC28AcDznSmPIE41y4ertiAJlRD1emVR m0HyTVJ0_CfurO.8DG6uaFWyvyBZcd9JIo0_OwD_RE872arHoeWsHr1WWwf8 8YwJU.Wm4n9XGd6axsEs3PT1S1SeQZ4_SnbyQZ4tZjEtcuaO5Rd0bnEnSgfC EcSs5uEiq3bSiBQW1dtH1pL4mLRsDslcXuU76Dk7Jzhmh_N2nwScytNoZj0M ManOtL0RWorLgjn8Kn6KW9Ro4xBYld3ZTOQzYEdjn2DMHVLSXx8Vxzq6SkyY 9OV_6XzhPFVQGR3QHyuU.i.0Rf16rRw0.phSrE2CACPFnyrXYzyy2juXfDIx 11A7uQ1yB7n898lgGCkRzKVZVNyW.xQ-- Received: from [98.203.118.124] by web121602.mail.ne1.yahoo.com via HTTP; Fri, 29 Mar 2013 05:51:11 PDT X-Rocket-MIMEInfo: 002.001, CgotLS0gT24gVGh1LCAzLzI4LzEzLCBOaWNrIFJvZ2VycyA8bmNyb2dlcnNAZ21haWwuY29tPiB3cm90ZToKCj4gRnJvbTogTmljayBSb2dlcnMgPG5jcm9nZXJzQGdtYWlsLmNvbT4KPiBTdWJqZWN0OiBSZTogaWdiIGFuZCBBTFRRIGluIDkuMS1yYzMKPiBUbzogIkphY2sgVm9nZWwiIDxqZnZvZ2VsQGdtYWlsLmNvbT4KPiBDYzogIkJhcm5leSBDb3Jkb2JhIiA8YmFybmV5X2NvcmRvYmFAeWFob28uY29tPiwgIkNsZW1lbnQgSGVybWFubiAobm9kZW5zKSIgPG5vZGVuczIwOTlAZ21haWwuY29tPiwgImZyZWUBMAEBAQE- X-Mailer: YahooMailClassic/15.1.7 YahooMailWebService/0.8.139.530 Message-ID: <1364561471.47223.YahooMailClassic@web121602.mail.ne1.yahoo.com> Date: Fri, 29 Mar 2013 05:51:11 -0700 (PDT) From: Barney Cordoba Subject: Re: igb and ALTQ in 9.1-rc3 To: Jack Vogel , Nick Rogers In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "freebsd-net@freebsd.org" , "Clement Hermann \(nodens\)" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Mar 2013 12:52:58 -0000 --- On Thu, 3/28/13, Nick Rogers wrote: > From: Nick Rogers > Subject: Re: igb and ALTQ in 9.1-rc3 > To: "Jack Vogel" > Cc: "Barney Cordoba" , "Clement Hermann (nodens)" , "freebsd-net@freebsd.org" > Date: Thursday, March 28, 2013, 9:29 PM > On Thu, Mar 28, 2013 at 4:16 PM, Jack > Vogel > wrote: > > Have been kept fairly busy with other matters, one > thing I could do short > > term is > > change the defines in igb the way I did in the em > driver so you could still > > define > > the older if_start entry. Right now those are based on > OS version and so you > > will > > automatically get if_transmit, but I could change it to > be IGB_LEGACY_TX or > > so, > > and that could be defined in the Makefile. > > > > Would this help? > > I'm currently using ALTQ successfully with the em driver, so > if igb > behaved the same with respect to using if_start instead of > if_transmit > when ALTQ is in play, that would be great. I do not > completely > understand the change you propose as I am not very familiar > with the > driver internals. Any kind of patch or extra > Makefile/make.conf > definition that would allow me to build a 9-STABLE kernel > with an igb > driver that works again with ALTQ, ASAP, would be much > appreciated. > > > > > Jack > > > > > > > > On Thu, Mar 28, 2013 at 2:31 PM, Nick Rogers > wrote: > >> > >> On Tue, Dec 11, 2012 at 1:09 AM, Jack Vogel > wrote: > >> > On Mon, Dec 10, 2012 at 11:58 PM, Gleb > Smirnoff > >> > wrote: > >> > > >> >> On Mon, Dec 10, 2012 at 03:31:19PM -0800, > Jack Vogel wrote: > >> >> J> UH, maybe asking the owner of the > driver would help :) > >> >> J> > >> >> J> ... and no, I've never been aware of > doing anything to stop > >> >> supporting > >> >> altq > >> >> J> so you wouldn't see any commits. If > there's something in the altq > >> >> code > >> >> or > >> >> J> support (which I have nothing to do > with) that caused this no-one > >> >> informed > >> >> J> me. > >> >> > >> >> Switching from if_start to if_transmit > effectively disables ALTQ > >> >> support. > >> >> > >> >> AFAIR, there is some magic implemented in > other drivers that makes them > >> >> modern (that means using if_transmit), but > still capable to switch to > >> >> queueing > >> >> mode if SIOCADDALTQ was casted upon them. > >> >> > >> >> > >> > Oh, hmmm, I'll look into the matter after my > vacation. > >> > > >> > Jack > >> > >> Has there been any progress on resolving this > issue? I recently ran > >> into this problem upgrading my servers from 8.3 to > 9.1-RELEASE and am > >> wondering what the latest recommendation is. I've > used ALTQ and igb > >> successfully for years and it is unfortunate it no > longer works. > >> Appreciate any advice. > >> Do yourself a favor and either get a cheap dual port 82571 card or 2 cards and disable the IGB ports. The igb driver is defective, and until they back out the new, untested multi-queue stuff you're just neutering your system trying to use it. Frankly this project made a huge mistake by moving forward with multi queue just for the sake of saying that you support it; without having any credible plan for implementing it. That nonsense that Bill Macy did should have been tarballed up and deposited in the trash folder. The biggest mess in programming history. That being said, the solution is not to hack the igb driver; its to make ALTQ if_transmit compatible, which shouldn't be all that difficult. BC