summaryrefslogtreecommitdiffstats
path: root/doc/networking/networkapp.t
diff options
context:
space:
mode:
authorDaniel Cederman <cederman@gaisler.com>2015-01-12 11:24:58 +0100
committerDaniel Hellstrom <daniel@gaisler.com>2015-02-11 15:35:29 +0100
commit8244a2f4476abb2db830bcf54dc4faea6452ec4c (patch)
tree8df15a449e0c0f5480a00d8d338c290931f98836 /doc/networking/networkapp.t
parentdoc: Describe new default error handler for Sparc (diff)
downloadrtems-8244a2f4476abb2db830bcf54dc4faea6452ec4c.tar.bz2
doc: Document network task affinity option
Diffstat (limited to '')
-rw-r--r--doc/networking/networkapp.t14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/networking/networkapp.t b/doc/networking/networkapp.t
index 62b1a5314d..dd356a80a6 100644
--- a/doc/networking/networkapp.t
+++ b/doc/networking/networkapp.t
@@ -101,6 +101,11 @@ struct rtems_bsdnet_config @{
unsigned long tcp_tx_buf_size;
/* TCP TX: 16 * 1024 bytes */
unsigned long tcp_rx_buf_size;
+ /* Default Network Tasks CPU Affinity */
+#ifdef RTEMS_SMP
+ const cpu_set_t *network_task_cpuset;
+ size_t network_task_cpuset_size;
+#endif
@};
@end group
@end example
@@ -229,6 +234,15 @@ This configuration parameter specifies the maximum amount of
buffer memory which may be used for TCP sockets to receive
into. The default size is sixteen kilobytes.
+@item const cpu_set_t *network_task_cpuset
+This configuration parameter specifies the CPU affinity of the
+network task. If set to @code{0} the network task can be scheduled on
+any CPU. Only available in SMP configurations.
+
+@item size_t network_task_cpuset_size
+This configuration parameter specifies the size of the
+@code{network_task_cpuset} used. Only available in SMP configurations.
+
@end table
In addition, the following fields in the @code{rtems_bsdnet_ifconfig}