On 10/24/09 02:39, Reang Su wrote: > > Ok, Is there any other way from driver writer's perspective to disable it? > > What will happen if I only use mac_rx() instead of mac_rx_ring() ? > Please shed some light on its difference?
You can use max_rx() instead of mac_rx_ring(), but also be sure *not* to report to the mac layer about the rings capab [via mc_getcapab()]. There are still a lot of drivers in the ON gate that use mac_rx() over mac_rx_ring(). Just look for the symbol in the cross reference. HTH, Pavan > > Thanks a lot. > > ~Reang. > On Fri, Oct 23, 2009 at 10:34 PM, Sunay Tripathi <Sunay.Tripathi at sun.com > <mailto:Sunay.Tripathi at sun.com>> wrote: > > It depends on the NIC. If you are using anything other than nxge, just > create a VNIC (don't plumb it) and polling on primary NIC will get > disabled. This is a bug that is being fixed but right now the > easiest way. > > Cheers, > Sunay > > Reang Su wrote: > > I'm trying to check performance with and without dynamic > poll(legacy) feature in OpenSolaris. > > Can anybody know what could be the easiest way ? > > regards, > ~Surjit. > > On Fri, Oct 23, 2009 at 8:01 PM, Gireesh Nagabhushana > <dngireesh at gmail.com <mailto:dngireesh at gmail.com> > <mailto:dngireesh at gmail.com <mailto:dngireesh at gmail.com>>> > wrote: > > Why do you want to disable it? > > -- Gireesh > > > On Fri, 2009-10-23 at 18:00 +0530, Reang Su wrote: > > Hi, > > > > Anybody has tried disabling MAC_CAPAB_RINGS feature. > > Is this a must feature to have in our driver for > OpenSolaris stack to > > work? Or we can still live without this ? > > > > regards, > > ~Reang. > > _______________________________________________ > > driver-discuss mailing list > > driver-discuss at opensolaris.org > <mailto:driver-discuss at opensolaris.org> > <mailto:driver-discuss at opensolaris.org > <mailto:driver-discuss at opensolaris.org>> > > > http://mail.opensolaris.org/mailman/listinfo/driver-discuss > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > crossbow-discuss mailing list > crossbow-discuss at opensolaris.org > <mailto:crossbow-discuss at opensolaris.org> > http://mail.opensolaris.org/mailman/listinfo/crossbow-discuss > > > > -- > Sunay Tripathi > Distinguished Engineer > Solaris Core Operating System > Sun MicroSystems Inc. > > Solaris Networking: > http://www.opensolaris.org/os/community/networking > Project Crossbow: http://www.opensolaris.org/os/project/crossbow > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > driver-discuss mailing list > driver-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/driver-discuss
