diff packages/io/eth/current/cdl/eth_drivers.cdl @ 130:eb9fd8c04db3 ecos-sw-2000-10-23

Merge from eCos master repository on 2000-10-23-17:01:37-BST
author jlarmour
date Mon, 23 Oct 2000 17:10:57 +0000
parents 518f42066aba
children 8f2f7615e727
line wrap: on
line diff
--- a/packages/io/eth/current/cdl/eth_drivers.cdl
+++ b/packages/io/eth/current/cdl/eth_drivers.cdl
@@ -54,6 +54,20 @@ cdl_package CYGPKG_IO_ETH_DRIVERS {
         default_value 1
         compile       net/eth_drv.c
 
+    	cdl_option CYGPKG_IO_ETH_DRIVERS_WARN_NO_MBUFS {
+	    display	"Warn when there are no more mbufs"
+	    flavor	bool
+	    default_value 1
+	    description "
+	        Warnings about running out of mbufs are printed to the
+	        diagnostic output channel via diag_printf() if this option
+	        is enabled.  Mbufs are the network stack's basic dynamic
+	        memory objects that hold all packets in transit; running
+	        out is bad for performance but not fatal, not a crash.
+                You might want to turn off the warnings to preserve realtime
+                properties of the system even in extremis."
+	}
+
 	cdl_component CYGPKG_IO_ETH_DRIVERS_SIMULATED_FAILURES {
 	    display		"Simulate network failures for testing"
 	    flavor		bool