From owner-freebsd-net@FreeBSD.ORG Fri Aug 3 16:19:43 2012 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 29DF5106566B for ; Fri, 3 Aug 2012 16:19:43 +0000 (UTC) (envelope-from vijju.singh@gmail.com) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id DD30F8FC0A for ; Fri, 3 Aug 2012 16:19:42 +0000 (UTC) Received: by ggnk4 with SMTP id k4so1244988ggn.13 for ; Fri, 03 Aug 2012 09:19:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=vh8LMVnd5Pvh3hOac4CkeHY8GqJnO1NMtSmUQL4L+So=; b=dHWqQFJoaM9CJztW4hDFrpBfY1RmXUqiEU1nzuLAUhwk2Viu3H8lpPBxQKtvmdYWC7 A94tX7I6Fy1GwFwzx5nMTPu9BIV15ln8xtKIGpFn2NnuqM29CWbl+2mee4xdDpeBlImp siJ6ow4me2aGJJO2LPBLat5DjBY6HoJn48cA0I6xDFduWBk+WLvzjp8oRO1zrpe+tY0/ f6X51atYMRPW8+iGUEIwpYGPRfNN2vpVlmFyQaUFvtpUQvVBKp/CGAXpWOe82E5Nagt7 of/YIz6au3LqeCyQ8lWDTFrqZ59RTEliNKyQGy9qDHVlJRpP9hmfQySHnSpNa+7PpmIR +PVA== MIME-Version: 1.0 Received: by 10.66.74.100 with SMTP id s4mr289550pav.27.1344010781900; Fri, 03 Aug 2012 09:19:41 -0700 (PDT) Received: by 10.142.173.15 with HTTP; Fri, 3 Aug 2012 09:19:41 -0700 (PDT) Date: Fri, 3 Aug 2012 09:19:41 -0700 Message-ID: From: Vijay Singh To: net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: question in ixgbe_legacy_irq X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 03 Aug 2012 16:19:43 -0000 Folks, the ixgbe_legacy_irq() interrupt handler kicks the taskqueue if there is more rx or tx. 1440 if (more_rx || more_tx) 1441 taskqueue_enqueue(que->tq, &que->que_task); But then it enables interrupts unconditionally: 1454 1455 ixgbe_enable_intr(adapter); Is this correct? -vijay