Michael Speer
2009-May-19 16:20 UTC
[crossbow-discuss] Ignoring return values from driver''s enable and disable poll routines
All, After looking through mac layer source, is there a reason that the mac layer ignores return values from the driver''s enable poll and disable poll routine. This is potentially a bug considering there are possible failures that occur in enabling and disabling polling. Regards, Michael
Nicolas Droux
2009-May-19 18:12 UTC
[crossbow-discuss] Ignoring return values from driver''s enable and disable poll routines
On May 19, 2009, at 10:20 AM, Michael Speer wrote:> All, > > After looking through mac layer source, is there a reason > that the mac layer ignores return values from the driver''s > enable poll and disable poll routine. This is potentially > a bug considering there are possible failures that occur > in enabling and disabling polling.I agree that if we allow the driver to fail the operation but always ignore that return value then we need to make this more consistent. However I''m concerned about the type of failures that can cause this to occur and the impact on the schedule of traffic for the corresponding device. Can you tell more about the conditions that can cause these operations to fail in the case of nxge? Such an operation should not fail unless there''s a hardware problem, and in that case the proper notifications should be sent up via FMA. Thanks, Nicolas.> > > Regards, > Michael > > _______________________________________________ > crossbow-discuss mailing list > crossbow-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/crossbow-discuss-- Nicolas Droux - Solaris Kernel Networking - Sun Microsystems, Inc. nicolas.droux at sun.com - http://blogs.sun.com/droux