From owner-freebsd-net@FreeBSD.ORG Mon Jan 28 06:40:01 2013 Return-Path: Delivered-To: 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 24D94F0E for ; Mon, 28 Jan 2013 06:40:01 +0000 (UTC) (envelope-from vijju.singh@gmail.com) Received: from mail-ea0-f179.google.com (mail-ea0-f179.google.com [209.85.215.179]) by mx1.freebsd.org (Postfix) with ESMTP id B9C7FC26 for ; Mon, 28 Jan 2013 06:40:00 +0000 (UTC) Received: by mail-ea0-f179.google.com with SMTP id d12so977916eaa.10 for ; Sun, 27 Jan 2013 22:39:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=B1cCkKu23zkJPj3s4Wm30Ip50pF4/A8/XtdVS5EOyFo=; b=UszN9pETnSbaI1/mclHLoxiavii/rFVwJ1nPnX3R+/wJh8wbqVH1NBTVd1sOCmYOnV 6MaFrihfPCshDsHF1OBuZcR3osZWSuQUzfN15aLkFhNex2ca6SBO33NahetJHmRMwEnN SY5Jg4v6BkCijBve1ETtiTBDeRLkTjcg8W2oaCapTz2qBqsNLu5Xh77zeoiSSv9N4r5Q boUGM6ykSv/nw/cD4vzA2lKd7RHgtP697u9RjMgOY8D1m1JnEnlMRpbdsyFBJFcYo9Tr i9g5X6cs39FYAMZ6Ajt4k0yFzeH+4yu+MSxRYt3CbmKCW2iA+VU6OTmk7xtjGOpK4bzx 2uUA== MIME-Version: 1.0 X-Received: by 10.14.173.196 with SMTP id v44mr44217748eel.29.1359355193480; Sun, 27 Jan 2013 22:39:53 -0800 (PST) Received: by 10.223.161.80 with HTTP; Sun, 27 Jan 2013 22:39:53 -0800 (PST) Date: Sun, 27 Jan 2013 22:39:53 -0800 Message-ID: Subject: ixgbe & msi/x From: Vijay Singh To: net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 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: Mon, 28 Jan 2013 06:40:01 -0000 I am investigating an issue where the ixgbe (82599) device is hung and I think I have traced it to the driver not getting interrupts. I have MSI/X enabled, with 2 rx/tx queues. I am trying to understand this bit of code in the MSI/X setup: if (ixgbe_enable_msix) { ixgbe_configure_ivars(adapter); /* Set up auto-mask */ <<== THIS BIT if (hw->mac.type == ixgbe_mac_82598EB) IXGBE_WRITE_REG(hw, IXGBE_EIAM, IXGBE_EICS_RTX_QUEUE); else { IXGBE_WRITE_REG(hw, IXGBE_EIAM_EX(0), 0xFFFFFFFF); IXGBE_WRITE_REG(hw, IXGBE_EIAM_EX(1), 0xFFFFFFFF); } } Does this mean that ixgbe_disable_queue() is not needed in the msi/x interrupt handler - ixgbe_msix_que()? -vijay