This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
ETH - Scatter-Gather list size must be global
- From: Gary Thomas <gthomas at ecoscentric dot com>
- To: eCos patches <ecos-patches at sources dot redhat dot com>
- Date: 14 Aug 2002 07:20:39 -0600
- Subject: ETH - Scatter-Gather list size must be global
Index: io/eth/current/ChangeLog
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/io/eth/current/ChangeLog,v
retrieving revision 1.37
diff -u -5 -p -r1.37 ChangeLog
--- io/eth/current/ChangeLog 13 Aug 2002 15:55:53 -0000 1.37
+++ io/eth/current/ChangeLog 14 Aug 2002 12:55:00 -0000
@@ -1,5 +1,10 @@
+2002-08-14 Gary Thomas <gthomas@ecoscentric.com>
+
+ * cdl/eth_drivers.cdl: CYGNUM_IO_ETH_DRIVERS_SG_LIST_SIZE
+ needs to be global (used by all drivers, not just NET).
+
2002-08-13 Gary Thomas <gthomas@ecoscentric.com>
* src/net/eth_drv.c (eth_drv_send): Print a better message
if the scatter-gather list overflows.
Index: io/eth/current/cdl/eth_drivers.cdl
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/io/eth/current/cdl/eth_drivers.cdl,v
retrieving revision 1.17
diff -u -5 -p -r1.17 eth_drivers.cdl
--- io/eth/current/cdl/eth_drivers.cdl 13 Aug 2002 15:55:53 -0000 1.17
+++ io/eth/current/cdl/eth_drivers.cdl 14 Aug 2002 12:55:02 -0000
@@ -84,10 +84,21 @@ cdl_package CYGPKG_IO_ETH_DRIVERS {
The verbosity level may also be changed at run time by
changing the variable cyg_io_eth_net_debug."
}
}
+ cdl_option CYGNUM_IO_ETH_DRIVERS_SG_LIST_SIZE {
+ display "Size of scatter-gather I/O lists"
+ flavor data
+ default_value 32
+ description "
+ A scatter-gather list is used to pass requests to/from
+ the physical device driver. This list can typically be
+ small, as the data is normally already packed into reasonable
+ chunks."
+ }
+
cdl_component CYGPKG_IO_ETH_DRIVERS_NET {
display "Support for standard eCos TCP/IP stack."
flavor bool
active_if CYGPKG_NET
requires CYGINT_ISO_STRING_STRFUNCS
@@ -105,21 +116,10 @@ cdl_package CYGPKG_IO_ETH_DRIVERS {
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_option CYGNUM_IO_ETH_DRIVERS_SG_LIST_SIZE {
- display "Size of scatter-gather I/O lists"
- flavor data
- default_value 32
- description "
- A scatter-gather list is used to pass requests to/from
- the physical device driver. This list can typically be
- small, as the data is normally already packed into reasonable
- chunks."
}
cdl_component CYGPKG_IO_ETH_DRIVERS_SIMULATED_FAILURES {
display "Simulate network failures for testing"
flavor bool
--
------------------------------------------------------------
Gary Thomas |
eCosCentric, Ltd. |
+1 (970) 229-1963 | eCos & RedBoot experts
gthomas@ecoscentric.com |
http://www.ecoscentric.com/ |
------------------------------------------------------------