All of lore.kernel.org
 help / color / mirror / Atom feed
* [Patch 5/5] Network Drop Monitor: Adding Build changes to enable drop monitor
@ 2009-03-03 17:05 Neil Horman
  2009-03-11 19:53 ` Neil Horman
  0 siblings, 1 reply; 4+ messages in thread
From: Neil Horman @ 2009-03-03 17:05 UTC (permalink / raw)
  To: netdev; +Cc: nhorman, davem, kuznet, pekkas, jmorris, yoshfuji, kaber


Network Drop Monitor: Adding Build changes to enable drop monitor
Signed-off-by: Neil Horman <nhorman@tuxdriver.com>


 include/linux/Kbuild |    1 +
 net/Kconfig          |   11 +++++++++++
 net/core/Makefile    |    2 ++
 3 files changed, 14 insertions(+)

diff --git a/include/linux/Kbuild b/include/linux/Kbuild
index 106c3ba..e9581fd 100644
--- a/include/linux/Kbuild
+++ b/include/linux/Kbuild
@@ -115,6 +115,7 @@ header-y += mqueue.h
 header-y += mtio.h
 header-y += ncp_no.h
 header-y += neighbour.h
+header-y += net_dropmon.h
 header-y += netfilter_arp.h
 header-y += netrom.h
 header-y += nfs2.h
diff --git a/net/Kconfig b/net/Kconfig
index 6b39ede..5301174 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -222,6 +222,17 @@ config NET_TCPPROBE
 	To compile this code as a module, choose M here: the
 	module will be called tcp_probe.
 
+config NET_DROP_MONITOR
+	boolean "Network packet drop alerting service"
+	depends on INET && EXPERIMENTAL && TRACEPOINTS
+	---help---
+	This feature provides an alerting service to userspace in the 
+	event that packets are discarded in the network stack.  Alerts
+	are broadcast via netlink socket to any listening user space 
+	process.  If you don't need network drop alerts, or if you are ok
+	just checking the various proc files and other utilities for
+	drop statistics, say N here.
+
 endmenu
 
 endmenu
diff --git a/net/core/Makefile b/net/core/Makefile
index 9187054..796f46e 100644
--- a/net/core/Makefile
+++ b/net/core/Makefile
@@ -18,3 +18,5 @@ obj-$(CONFIG_NETPOLL) += netpoll.o
 obj-$(CONFIG_NET_DMA) += user_dma.o
 obj-$(CONFIG_FIB_RULES) += fib_rules.o
 obj-$(CONFIG_TRACEPOINTS) += net-traces.o
+obj-$(CONFIG_NET_DROP_MONITOR) += drop_monitor.o
+

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [Patch 5/5] Network Drop Monitor: Adding Build changes to enable drop monitor
  2009-03-03 17:05 [Patch 5/5] Network Drop Monitor: Adding Build changes to enable drop monitor Neil Horman
@ 2009-03-11 19:53 ` Neil Horman
  2009-03-13 19:10   ` David Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Neil Horman @ 2009-03-11 19:53 UTC (permalink / raw)
  To: netdev; +Cc: davem, kuznet, pekkas, jmorris, yoshfuji, kaber

On Tue, Mar 03, 2009 at 12:05:57PM -0500, Neil Horman wrote:
> 
> 

As requested, respin to latest net-next tree


Modification notes:
None, simple respin

Neil


Network Drop Monitor: Adding Build changes to enable drop monitor

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>


 include/linux/Kbuild |    1 +
 net/Kconfig          |   11 +++++++++++
 net/core/Makefile    |    1 +
 3 files changed, 13 insertions(+)


diff --git a/include/linux/Kbuild b/include/linux/Kbuild
index 106c3ba..e9581fd 100644
--- a/include/linux/Kbuild
+++ b/include/linux/Kbuild
@@ -115,6 +115,7 @@ header-y += mqueue.h
 header-y += mtio.h
 header-y += ncp_no.h
 header-y += neighbour.h
+header-y += net_dropmon.h
 header-y += netfilter_arp.h
 header-y += netrom.h
 header-y += nfs2.h
diff --git a/net/Kconfig b/net/Kconfig
index 6b39ede..5301174 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -222,6 +222,17 @@ config NET_TCPPROBE
 	To compile this code as a module, choose M here: the
 	module will be called tcp_probe.
 
+config NET_DROP_MONITOR
+	boolean "Network packet drop alerting service"
+	depends on INET && EXPERIMENTAL && TRACEPOINTS
+	---help---
+	This feature provides an alerting service to userspace in the 
+	event that packets are discarded in the network stack.  Alerts
+	are broadcast via netlink socket to any listening user space 
+	process.  If you don't need network drop alerts, or if you are ok
+	just checking the various proc files and other utilities for
+	drop statistics, say N here.
+
 endmenu
 
 endmenu
diff --git a/net/core/Makefile b/net/core/Makefile
index d47092b..796f46e 100644
--- a/net/core/Makefile
+++ b/net/core/Makefile
@@ -18,4 +18,5 @@ obj-$(CONFIG_NETPOLL) += netpoll.o
 obj-$(CONFIG_NET_DMA) += user_dma.o
 obj-$(CONFIG_FIB_RULES) += fib_rules.o
 obj-$(CONFIG_TRACEPOINTS) += net-traces.o
+obj-$(CONFIG_NET_DROP_MONITOR) += drop_monitor.o
 

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [Patch 5/5] Network Drop Monitor: Adding Build changes to enable drop monitor
  2009-03-11 19:53 ` Neil Horman
@ 2009-03-13 19:10   ` David Miller
  2009-03-13 23:43     ` Neil Horman
  0 siblings, 1 reply; 4+ messages in thread
From: David Miller @ 2009-03-13 19:10 UTC (permalink / raw)
  To: nhorman; +Cc: netdev, kuznet, pekkas, jmorris, yoshfuji, kaber

From: Neil Horman <nhorman@tuxdriver.com>
Date: Wed, 11 Mar 2009 15:53:16 -0400

> Signed-off-by: Neil Horman <nhorman@tuxdriver.com>

Applied.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Patch 5/5] Network Drop Monitor: Adding Build changes to enable drop monitor
  2009-03-13 19:10   ` David Miller
@ 2009-03-13 23:43     ` Neil Horman
  0 siblings, 0 replies; 4+ messages in thread
From: Neil Horman @ 2009-03-13 23:43 UTC (permalink / raw)
  To: David Miller, g; +Cc: netdev, kuznet, pekkas, jmorris, yoshfuji, kaber

On Fri, Mar 13, 2009 at 12:10:50PM -0700, David Miller wrote:
> From: Neil Horman <nhorman@tuxdriver.com>
> Date: Wed, 11 Mar 2009 15:53:16 -0400
> 
> > Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
> 
> Applied.
Thanks a bunch Dave!
Neil

> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-03-13 23:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-03 17:05 [Patch 5/5] Network Drop Monitor: Adding Build changes to enable drop monitor Neil Horman
2009-03-11 19:53 ` Neil Horman
2009-03-13 19:10   ` David Miller
2009-03-13 23:43     ` Neil Horman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.