[riot-notifications] [RIOT-OS/RIOT] gnrc: Use exponent to configure message queue sizes (#14086)

Leandro Lanzieri notifications at github.com
Fri May 15 11:27:23 CEST 2020


### Contribution description
This changes the definition of the macros that set the sizes of the message queues for the following GNRC modules:
- ipv6
- nettest
- rpl
- udp
- gomach
- lwmac
- netif
- sixlowpan

Using the exponent to define the queue size helps to enforce the condition that it should be power of two. The correspondent Kconfig files were updated as well.

Also, I added Doxygen config groups for some of the modules which did not have it.

### Testing procedure
Applications using these modules should still be compiling and working.

### Issues/PRs references
Change proposed by @miri64 [here](https://github.com/RIOT-OS/RIOT/pull/13941#discussion_r425182351).

You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/14086

-- Commit Summary --

  * gnrc/ipv6: Configure queue size with exponent
  * gnrc/nettest: Configure queue size with exponent
  * gnrc/rpl: Configure queue size with exponent
  * gnrc/udp: Configure queue size with exponent
  * gnrc/gomach: Configure queue size with exponent and add config doc group
  * gnrc/lwmac: Configure queue size with the exponent and add config group
  * gnrc/netif: Configure queue size with exponent
  * gnrc/sixlowpan: Configure queue size with exponent

-- File Changes --

    M sys/include/net/gnrc/gomach/gomach.h (21)
    M sys/include/net/gnrc/ipv6.h (16)
    M sys/include/net/gnrc/lwmac/lwmac.h (21)
    M sys/include/net/gnrc/netif/conf.h (18)
    M sys/include/net/gnrc/nettest.h (22)
    M sys/include/net/gnrc/rpl.h (16)
    M sys/include/net/gnrc/sixlowpan/config.h (15)
    M sys/include/net/gnrc/udp.h (21)
    M sys/net/gnrc/netif/Kconfig (10)
    M sys/net/gnrc/netif/gnrc_netif.c (4)
    M sys/net/gnrc/netif/init_devs/auto_init_cc110x.c (6)
    M sys/net/gnrc/network_layer/ipv6/Kconfig (10)
    M sys/net/gnrc/network_layer/ipv6/gnrc_ipv6.c (4)
    M sys/net/gnrc/network_layer/sixlowpan/Kconfig (10)
    M sys/net/gnrc/network_layer/sixlowpan/gnrc_sixlowpan.c (4)
    M sys/net/gnrc/routing/rpl/Kconfig (10)
    M sys/net/gnrc/routing/rpl/gnrc_rpl.c (4)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/14086.patch
https://github.com/RIOT-OS/RIOT/pull/14086.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/14086
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200515/bae89d04/attachment-0001.htm>


More information about the notifications mailing list