Re: completion_queue, output_queue - what are they for

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



completion_queue: List of skbuffs that were tried to be freed in IRQ
                  context. skbuff's cannot be safely freed in IRQ context.
	          they are queued here and later freed from net_tx_action, 
		  at safe time. Ref: dev_kfree_skb_any
output_queue:    List of all devices that need to transmit at least one 
		 packet. Ref: netif_schedule


net_rx_action/net_tx_action are called whenever their corresponding 
softirq handlers run. These softirqs are scheduled everytime a packet is 
received on a CPU or is to be sent out from a CPU. If scheduled by 
netif_rx_schedule/netif_schedule these are called when the next interrupt 
handler runs.

tomar

On Tue, 19 Aug 2003, Adam Flizikowski wrote:

> Hello,
> 
> while analysing networking code i found softnet_data[].completion_queue
> and
> softnet_data[].output_queue variables.
> 
> Could someone please explain what are they for?
> 
> Another question is: when are net_rx_action net_tx_action called?
> 
> thanks in advance
> 
> regards
> 
> adam
> 
> -
> : send the line "unsubscribe linux-net" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux