if_start running deferred for Giant

2007-12-30 Thread Tofig Suleymanov
Hello list, I am writing a driver for Kyocera USB modem for FreeBSD and there are a few questions that I am not able to solve alone. I would be grateful if someone could point me into the right direction.Here is the first one: Inside the USB_ATTACH() function I initialise the ifnet(9) structu

Re: if_start running deferred for Giant

2007-12-30 Thread Robert Watson
On Sun, 30 Dec 2007, Tofig Suleymanov wrote: I am writing a driver for Kyocera USB modem for FreeBSD and there are a few questions that I am not able to solve alone. I would be grateful if someone could point me into the right direction.Here is the first one: Inside the USB_ATTACH() function

Re: Routing SMP benefit

2007-12-30 Thread Robert Watson
On Fri, 28 Dec 2007, Tiffany Snyder wrote: What piqued my attention was the note that our forwarding performance doesn't scale with multiple CPUs. Which means there's a lot of work to be done :-) Have we taken a look at OpenSolaris' Surya (http://www.opensolaris.org/os/community/networ

Re: if_start running deferred for Giant

2007-12-30 Thread Tofig Suleymanov
Robert Watson wrote: On Sun, 30 Dec 2007, Tofig Suleymanov wrote: I am writing a driver for Kyocera USB modem for FreeBSD and there are a few questions that I am not able to solve alone. I would be grateful if someone could point me into the right direction.Here is the first one: Inside th

Re: if_start running deferred for Giant

2007-12-30 Thread Robert Watson
On Mon, 31 Dec 2007, Tofig Suleymanov wrote: xx kernel: ib0: if_start running deferred for Giant I am not sure what does this exactly mean. Any help would be appreciated. This occurs when a network device driver has declared itself IFF_NEEDSGIANT -- that is, has declared that it requir

Re: if_start running deferred for Giant

2007-12-30 Thread Tofig Suleymanov
On 12/31/07, Robert Watson <[EMAIL PROTECTED]> wrote: > > On Mon, 31 Dec 2007, Tofig Suleymanov wrote: > > >>> xx kernel: ib0: if_start running deferred for Giant > >>> > >>> I am not sure what does this exactly mean. > >>> > >>> Any help would be appreciated. > >> > >> This occurs when a netwo