summaryrefslogtreecommitdiff
path: root/include/linux/netpoll.h
AgeCommit message (Collapse)Author
2005-03-22[NETPOLL]: Do not use __smp_processor_id().David S. Miller
It is not necessarily available in all configurations. Signed-off-by: David S. Miller <davem@davemloft.net>
2005-03-22[NETPOLL]: Add optional dropping and queueing supportMatt Mackall
This adds a callback for packets we can't deliver immediately and a helper function for clients to queue such packets to the device post-interrupt. Netconsole is modified to use the queueing function for best-effort delivery. Signed-off-by: Matt Mackall <mpm@selenic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2005-03-22[NETPOLL]: Fix ->poll() lockingMatt Mackall
Introduce a per-client poll lock and flag. The lock assures we never have more than one caller in dev->poll(). The flag provides recursion avoidance on UP where the lock disappears. Signed-off-by: Matt Mackall <mpm@selenic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2005-03-22[NETPOLL]: Add netpoll pointer to net_deviceMatt Mackall
Add struct netpoll pointer to struct netdevice Move netpoll rx flags to netpoll struct Stop traversing rx_list and get np pointer from skb->dev->np Remove now unneeded rx_list Signed-off-by: Matt Mackall <mpm@selenic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2005-03-22[NETPOLL]: Filter inlinesMatt Mackall
Add netpoll rx helpers Move skb_free for rx into __netpoll_rx Signed-off-by: Matt Mackall <mpm@selenic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2005-01-09[NET]: misc cleanupsAdrian Bunk
The patch below contains the following cleanups: - make needlessly global code static - remove the following unused global functions: - datagram.c: skb_copy_datagram - iovec.c: memcpy_tokerneliovec - remove the following unneeded EXPORT_SYMBOL's: - datagram.c: skb_copy_datagram - dev.c: ing_filter - iovec.c: memcpy_tokerneliovec - netpoll.c: netpoll_send_skb - rtnetlink.c: rtnetlink_dump_ifinfo - sock.c: sock_alloc_send_pskb Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: David S. Miller <davem@davemloft.net>
2004-03-15Remove bogus linux/irq.h include that fails build on ARM.Linus Torvalds
Verified to not break anything on x86 either.
2004-01-10[NET] add netpoll APIMatt Mackall