Skip to content

Commit 24fec0c

Browse files
ludvigsjnordicjm
authored andcommitted
[nrf fromlist] Bluetooth: Mesh: Update Kconfig help about Mesh on System WQ
This updates the help text for the Kconfig option BT_MESH_WORKQ_SYS to take into account the change made in PR #84282 which causes the host to no longer return -ENOBUFS. Since the mesh will now instead block the work queue, a note has been added about a potential consequence of this. Upstream PR #: 86022 Signed-off-by: Ludvig Jordet <[email protected]>
1 parent 74e5da2 commit 24fec0c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

subsys/bluetooth/mesh/Kconfig

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,12 @@ config BT_MESH_WORKQ_SYS
130130
refer to BT_MESH_ADV_STACK_SIZE for the recommended minimum.
131131

132132
When this option is enabled and the mesh tries to send a message,
133-
and the host ran out the HCI command buffers controlled by
134-
CONFIG_BT_BUF_CMD_TX_COUNT, the host returns -ENOBUFS immediately
135-
and the mesh drops the message transmission. To mitigate this
136-
issue, make sure to have sufficient number of HCI command buffers.
133+
and the host ran out of the HCI command buffers controlled by
134+
CONFIG_BT_BUF_CMD_TX_COUNT, the system work queue will be blocked
135+
until an HCI command buffer has been freed. This may cause a deadlock
136+
where the host cannot use the system workqueue to free the buffer
137+
that the mesh is waiting for. To mitigate this issue, make sure to
138+
have a sufficient number of HCI command buffers.
137139
When this option is enabled, the latency of sending mesh messages
138140
will be affected by other users on the system work queue, resulting in
139141
reduced reliability for sending mesh messages.

0 commit comments

Comments
 (0)