[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20091001.222715.166183229.davem@davemloft.net>
Date: Thu, 01 Oct 2009 22:27:15 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: rdreier@...co.com
Cc: yevgenyp@...lanox.co.il, netdev@...r.kernel.org
Subject: Re: [PATCH 1/7] mlx4: Added interrupts test support
From: Roland Dreier <rdreier@...co.com>
Date: Thu, 01 Oct 2009 20:32:08 -0700
> This feels like a pretty risky thing to do while the device might be
> handling all sorts of other traffic at the same time. Are you sure
> there are no races you expose here? Have you actually seen cases where
> the interrupt test during initialization works but then this test
> catches a problem? (My experience has been that if any MSI-X interrupts
> work from a device, then they'll all work)
I would suggest only allowing the test while the interface is down.
That way the test has exclusive control of the IRQ.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists