]> git.baikalelectronics.ru Git - kernel.git/commit
net: mac802154: Explain the use of ieee802154_wake/stop_queue()
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 25 Jan 2022 12:25:40 +0000 (13:25 +0100)
committerStefan Schmidt <stefan@datenfreihafen.org>
Fri, 28 Jan 2022 10:23:41 +0000 (11:23 +0100)
commitc265a3a6690b093e542aceb4a7bf8bf6c577e42b
treef93630c8fe1aa64bc727911432b0fa5592d926e6
parent898db3b8f9456608410089c52082ab42a9319217
net: mac802154: Explain the use of ieee802154_wake/stop_queue()

It is not straightforward to the newcomer that a single skb can
currently be sent at a time and that the internal process is to stop the
queue when processing a frame before re-enabling it.

Make this clear by documenting the ieee802154_wake/stop_queue()
helpers.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Alexander Aring <aahringo@redhat.com>
Link: https://lore.kernel.org/r/20220125122540.855604-4-miquel.raynal@bootlin.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
include/net/mac802154.h