linux-sg2042/drivers/net/ethernet/toshiba
Christophe JAILLET 699e53e4fa net: spider_net: Use non-atomic bitmap API when applicable
No concurrent access is possible when a bitmap is local to a function.
So prefer the non-atomic functions to save a few cycles.
   - replace a 'for' loop by an equivalent non-atomic 'bitmap_fill()' call
   - use '__set_bit()'

While at it, clear the 'bitmask' bitmap only when needed.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/3de0792f5088f00d135c835df6c19e63ae95f5d2.1638026251.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-12-01 18:45:46 -08:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ps3_gelic_net.c ethernet: fix up ps3_gelic_net.c for "ethernet: use eth_hw_addr_set()" 2021-10-05 18:52:16 -07:00
ps3_gelic_net.h toshiba: Replace zero-length array with flexible-array member 2020-02-24 15:26:17 -08:00
ps3_gelic_wireless.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
ps3_gelic_wireless.h toshiba: Replace zero-length array with flexible-array member 2020-02-24 15:26:17 -08:00
spider_net.c net: spider_net: Use non-atomic bitmap API when applicable 2021-12-01 18:45:46 -08:00
spider_net.h toshiba: Replace zero-length array with flexible-array member 2020-02-24 15:26:17 -08:00
spider_net_ethtool.c ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
tc35815.c ethernet: use eth_hw_addr_set() in unmaintained drivers 2021-10-18 13:20:38 +01:00