net: Switch from per-iface tx thread to a unique k_poll triggered one
Now that k_poll landed in the kernel, it's worth using it to save
memory and reduce the number of threads at runtime.
Such switch has been first done in bluetooth (see hci_core.c and conn.c
in subsys/bluetooth/host). Since network interfaces kind of follows the
same design for sending data, it was then easy to copy the same change as
in bluetooth.
Change-Id: I7f9734b88ac818284bbabaedc946b4765b905ebb
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
diff --git a/scripts/sanitycheck b/scripts/sanitycheck
index 503fb49..5ae09a8 100755
--- a/scripts/sanitycheck
+++ b/scripts/sanitycheck
@@ -470,7 +470,7 @@
"_k_sem_area", "_k_mutex_area", "_k_alert_area",
"_k_fifo_area", "_k_lifo_area", "_k_stack_area",
"_k_msgq_area", "_k_mbox_area", "_k_pipe_area",
- "net_if", "net_stack", "net_l2_data",
+ "net_if", "net_if_event", "net_stack", "net_l2_data",
"_k_queue_area"]
# These get copied into RAM only on non-XIP
ro_sections = ["text", "ctors", "init_array", "reset",