From owner-freebsd-arch@FreeBSD.ORG Sun May 26 06:28:05 2013 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 743FF574 for ; Sun, 26 May 2013 06:28:05 +0000 (UTC) (envelope-from oritm@mellanox.com) Received: from eu1sys200aog117.obsmtp.com (eu1sys200aog117.obsmtp.com [207.126.144.143]) by mx1.freebsd.org (Postfix) with ESMTP id AFEB2B26 for ; Sun, 26 May 2013 06:28:04 +0000 (UTC) Received: from MTLCAS01.mtl.com ([193.47.165.155]) (using TLSv1) by eu1sys200aob117.postini.com ([207.126.147.11]) with SMTP ID DSNKUaGragymYWo7gwMxC6TfhAmn7xwr1WWx@postini.com; Sun, 26 May 2013 06:28:04 UTC Received: from MTLDAG01.mtl.com ([10.0.8.75]) by MTLCAS01.mtl.com ([10.0.8.71]) with mapi id 14.03.0123.003; Sun, 26 May 2013 09:16:40 +0300 From: Orit Moskovich To: "freebsd-arch@freebsd.org" Subject: interrupt threads Thread-Topic: interrupt threads Thread-Index: Ac5Z2FnlXAgbpu0zQAuGggTwM4HYdA== Date: Sun, 26 May 2013 06:16:39 +0000 Message-ID: <981733489AB3BD4DB24B48340F53E0A55B0D53AD@MTLDAG01.mtl.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.13.1] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 May 2013 06:28:05 -0000 Hi, I'm trying to understand the difference between using taskqueues defined by= ithreads (taskqueue_swi, taskqueue_swi_giant, taskqueue_fast) to defer an = interrupt's work, and defining an interrupt handler to give as ithread para= meter to bus_setup_intr. Is there a difference in the priority? Which of the methods is preferable w= hen writing a network device and performance is important? Thanks, Orit Moskovich