Re: netdevice queueing / sendmsg issue?

2007-08-03 Thread Krzysztof Halasa
David Miller [EMAIL PROTECTED] writes: Software interrupts might be getting lost, dev_kfree_skb_irq() has to queue the kfree_skb() to soft IRQ. Therefore, dev_kfree_skb_irq() will only work properly from hardware interrupt context, where we will return and thus run the scheduled software

Re: netdevice queueing / sendmsg issue?

2007-07-29 Thread Krzysztof Halasa
David Miller [EMAIL PROTECTED] writes: Software interrupts might be getting lost, dev_kfree_skb_irq() has to queue the kfree_skb() to soft IRQ. Therefore, dev_kfree_skb_irq() will only work properly from hardware interrupt context, where we will return and thus run the scheduled software

netdevice queueing / sendmsg issue?

2007-07-28 Thread Krzysztof Halasa
Hi, I have noticed an unexpected behaviour of a userland program sending packets with AF_PACKET through a network device driver. The problem is that the userland program waits on sock_wait_for_wmem() for a long time even if the transmitter is ready and all skb packets have been transmitted and