From owner-freebsd-net@freebsd.org Sun Mar 12 01:12:06 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 DE971CF932F for ; Sun, 12 Mar 2017 01:12:06 +0000 (UTC) (envelope-from sepherosa@gmail.com) Received: from mail-ua0-x22d.google.com (mail-ua0-x22d.google.com [IPv6:2607:f8b0:400c:c08::22d]) (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 9DE591BA2 for ; Sun, 12 Mar 2017 01:12:06 +0000 (UTC) (envelope-from sepherosa@gmail.com) Received: by mail-ua0-x22d.google.com with SMTP id f54so132986939uaa.1 for ; Sat, 11 Mar 2017 17:12:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=7qaDBfMR3ILxi6n9Wky5mZ789WvLiBlSP6d7/YF9tHg=; b=oBb3plcNNQMANzG7ilXkTSD/N0w95KdTi0mxPFCWUZYCAyRCvZo/g6ARLcFwWGn7pP V7gYNp/yQL/IBt31T+UUC/PqXJgvyU1o9evYbHxD2nNzCxagnC6TwAxTXL0013040iT0 S1PlVlglSaKxvip2vQMVSpnbe1D407Rkab7Kr/P6R395C4wCZVhoFVetd92WioK0yYxR l5+jnKjbkVqK4HzgJ/4Wyps8g4gbxvun2daTiRHONp2b6FN8vUbClbsAG4HSrrckXDD9 VH/FefsnhCK80XtLZFWdB5cYxmoVIuOXmXpdyzYrGTmJUZZ7VUrhR2meFKn56h+oLKAK bFrA== 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:content-transfer-encoding; bh=7qaDBfMR3ILxi6n9Wky5mZ789WvLiBlSP6d7/YF9tHg=; b=LqKyg3eKBmCMUwFTjmsD1QU7vCeYE9PbHE+MveyvZqKQufcZ/S2bx9qbjT4emAwA6A iGlRXyf+/TftqkdRhc4EwJ7XSoR1Rp2T+wDMnmf0qt0ZYrttg2ECAxHp04JRjEdaCpkN Ru3nTowbiya3vraLttnTjQr+0Fh2stij3KxxRoLuEda6G7Y+nb5/daMSp9cirg7z2sxx vCXJ415u6VO6RJYPiQM/q8RSDwZ049yWnvucuUCmVeY2xkTzLGnrOZUPbf7YFh3avA8i s1LmYK+ahb/pG4n6UMvn0+B/Da8ao5yIvPx9OrCQvoYhxEUm3Wfeqsu3l8+B5Z0hd4Ch 2H9w== X-Gm-Message-State: AMke39kPL+AxJIf8Qsjhjf5azRmLDJm4Il19l285bruCiComIKstTp3FrH6zCEDVfo7O4UBeJZzbuwXPC+1TQQ== X-Received: by 10.159.32.78 with SMTP id 72mr11332279uam.59.1489281125562; Sat, 11 Mar 2017 17:12:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.176.66.193 with HTTP; Sat, 11 Mar 2017 17:12:05 -0800 (PST) In-Reply-To: <4257854.XfJjHtrk4r@energia> References: <1946092.tUUkk3b7I7@energia> <4257854.XfJjHtrk4r@energia> From: Sepherosa Ziehau Date: Sun, 12 Mar 2017 09:12:05 +0800 Message-ID: Subject: Re: Why is MSI-X support disabled on bce(4)? To: Kajetan Staszkiewicz Cc: "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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:12:07 -0000 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 pisze: >> 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 interru= pts >> > 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#L1= 108 >> >> It involves much more work than the commented out MSI-X allocation, like >> this: >> https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b42386ee03a4e68= 8c8 >> 64ba8d7094064c63d93dce?hp=3Dbe5708901d52be5534d5075eec706f5570b6a0f3 > > That is sad news. Should I assume that porting this driver from Dragonfly= BSD > to FreeBSD would be impossible? I believe its doable, since before the MSI-X work, the code base is almost = same. > > > -- > | pozdrawiam / greetings | powered by Debian, FreeBSD and CentOS | > | Kajetan Staszkiewicz | jabber,email: vegeta()tuxpowered net | > | Vegeta | www: http://vegeta.tuxpowered.net | > `------------------------^---------------------------------------' --=20 Tomorrow Will Never Die