From owner-freebsd-net@freebsd.org Sun Mar 12 01:32:41 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 95F10D06233 for ; Sun, 12 Mar 2017 01:32:41 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Received: from mail-oi0-x236.google.com (mail-oi0-x236.google.com [IPv6:2607:f8b0:4003:c06::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 63DBA1A8D for ; Sun, 12 Mar 2017 01:32:41 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Received: by mail-oi0-x236.google.com with SMTP id 126so65820354oig.3 for ; Sat, 11 Mar 2017 17:32:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kev009.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=6LLkYyNTpUYkN3t/nrDFcQbr2qYh9AIGLoqKfp5G/q4=; b=Y/jq24xBMhwBs7A0ppas+c2hbGv2yxAZGJ0IYr2jnx46T2dndhfp4ySVs16XFUVUat +RqyjRoU5DH1xrDeJ37k/R6p0bf0RUxVLQCqiyCJxv6zmIdxSIupQhapPig/kNmkdtn1 auQJd4qb1LDQAC2K9WvHvpOrNC6PKGTy8zCqU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=6LLkYyNTpUYkN3t/nrDFcQbr2qYh9AIGLoqKfp5G/q4=; b=UmXt9RxRQuGuncB/9LEoVVDmXJZo0CxV3mp2tTJ1+oN7p2va9Z0Z0DsTTdKlb8dF3F yePQU03X5+xtCOHoRFw9gyv2BTr3ki0j1tJh7MFXsUzAbNr8h/M2outFNCxEZpx2DYfw qFH/kjnVUnlhYNAJQanQnDS2DDn88nfpTGb416Qcm5ghk0BD9mW9PFXQg9iRYH6tsFob Y4MSajogIy3umt/auZadMljj6LykoUuZsVk9c/TStoFFu3kVciOHEQVUqcntS2gQeGoc dRBAD5FIK4Bp2hvRq9IHYFZQ0tRy9myzuh+e/oQkEzM3coyKqManyf1nSVYxsUVN2/r8 IDlg== X-Gm-Message-State: AMke39k7JQX3qZrbXGzus85TNwGJhAtsOSehosTASCDxo71grg9JbQW+VrrK9aRySi5qEqkfAk8ikJHBUTLarA== X-Received: by 10.202.244.82 with SMTP id s79mr12688305oih.184.1489282360629; Sat, 11 Mar 2017 17:32:40 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.23.208 with HTTP; Sat, 11 Mar 2017 17:32:40 -0800 (PST) In-Reply-To: References: <1946092.tUUkk3b7I7@energia> <4257854.XfJjHtrk4r@energia> From: Kevin Bowling Date: Sat, 11 Mar 2017 18:32:40 -0700 Message-ID: Subject: Re: Why is MSI-X support disabled on bce(4)? To: Sepherosa Ziehau Cc: Kajetan Staszkiewicz , "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Mar 2017 01:32:41 -0000 I think this would be a good candidate for iflib and can provide some assistance from Matt and Sean if someone wants to try or we might get to it eventually. Check out man 9 iflibdd. We had a lot of stability and ordering issues adding multiqueue to FBSD em(4) similar to what Sephe did in DFBSD's emx(4) that went away after using iflib queue management routines. On Sat, Mar 11, 2017 at 6:12 PM, Sepherosa Ziehau wrote: > On Tue, Mar 7, 2017 at 11:10 PM, Kajetan Staszkiewicz > wrote: > > Dnia poniedzia=C5=82ek, 6 marca 2017 16:06:03 CET Sepherosa Ziehau pisz= e: > >> On Thu, Mar 2, 2017 at 10:02 PM, Kajetan Staszkiewicz > >> > >> wrote: > >> > To whom it might concern: > >> > > >> > Well, at least it does concern me. Why is support for multiple > interrupts > >> > and queues not enabled on bce(4)? > >> > > >> > Whole block of code is surrounded with #ifdef 0 ... #endif > >> > > >> > https://github.com/freebsd/freebsd/blob/master/sys/dev/ > bce/if_bce.c#L1108 > >> > >> It involves much more work than the commented out MSI-X allocation, li= ke > >> this: > >> https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ > b42386ee03a4e688c8 > >> 64ba8d7094064c63d93dce?hp=3Dbe5708901d52be5534d5075eec706f5570b6a0f3 > > > > That is sad news. Should I assume that porting this driver from > DragonflyBSD > > to FreeBSD would be impossible? > > I believe its doable, since before the MSI-X work, the code base is almos= t > same. > > > > > > > -- > > | pozdrawiam / greetings | powered by Debian, FreeBSD and CentOS | > > | Kajetan Staszkiewicz | jabber,email: vegeta()tuxpowered net | > > | Vegeta | www: http://vegeta.tuxpowered.net | > > `------------------------^---------------------------------------' > > > > -- > Tomorrow Will Never Die > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"