Re: hard_start_xmit conext

2006-08-16 Thread Herbert Xu
On Wed, Aug 16, 2006 at 01:48:56AM -0700, Ben Greear wrote: > > >>softirq > > It can be process too...doesn't pktgen call it directly? Only with BH disabled. -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herb

Re: hard_start_xmit conext

2006-08-16 Thread Ben Greear
Jeff Garzik wrote: Herbert Xu wrote: kiran kandi <[EMAIL PROTECTED]> wrote: In what context hard_start_xmit function is called. Is it called in soft irq or a processes context. softirq It can be process too...doesn't pktgen call it directly? Ben - To unsubscribe from this list: send

Re: hard_start_xmit conext

2006-08-16 Thread Jeff Garzik
Herbert Xu wrote: kiran kandi <[EMAIL PROTECTED]> wrote: In what context hard_start_xmit function is called. Is it called in soft irq or a processes context. softirq Also can you call kfree_skb in soft irq context. Yes. Don't do it in hard irq context though. FWIW there is also Docum

Re: hard_start_xmit conext

2006-08-15 Thread Herbert Xu
kiran kandi <[EMAIL PROTECTED]> wrote: > > In what context hard_start_xmit function is called. Is it called in soft > irq or a processes context. softirq > Also can you call kfree_skb in soft irq context. Yes. Don't do it in hard irq context though. Cheers, -- Visit Openswan at http://ww

hard_start_xmit conext

2006-08-15 Thread kiran kandi
Hi all, In what context hard_start_xmit function is called. Is it called in soft irq or a processes context. Also can you call kfree_skb in soft irq context. -- Thanks kiran _ On the road to retirement? Check out MSN Life Eve