Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2013 22:39:53 -0800
From:      Vijay Singh <vijju.singh@gmail.com>
To:        net@freebsd.org
Subject:   ixgbe & msi/x
Message-ID:  <CALCNsJRdwKKB5DwRAFmenXkY8u8bmBh7QTjyrjqf_Q1HDw%2B3QQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALCNsJRdwKKB5DwRAFmenXkY8u8bmBh7QTjyrjqf_Q1HDw%2B3QQ>