linux/drivers/net/mlx4
Akinobu Mita e27cd4f8ca mlx4: use bitmap library
Replace loops calling set_bit() and clear_bit() with bitmap_set() and
bitmap_clear().

Unlike loops calling set_bit() and clear_bit(), bitmap_set() and
bitmap_clear() are not atomic. But this is ok.
Because the bitmap operations are protected by bitmap->lock
except for initialization of the bitmap in mlx4_bitmap_init().

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Roland Dreier <rolandd@cisco.com>
Cc: netdev@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-08-28 15:37:04 -07:00
..
alloc.c mlx4: use bitmap library 2010-08-28 15:37:04 -07:00
catas.c
cmd.c
cq.c
en_cq.c
en_ethtool.c mlx4_en: Moving to work with GRO 2010-08-24 15:00:42 -07:00
en_main.c mlx4_en: UDP RSS support 2010-08-24 14:57:09 -07:00
en_netdev.c mlx4_en: Moving to work with GRO 2010-08-24 15:00:42 -07:00
en_port.c mlx4_en: Added self diagnostics test implementation 2010-08-24 14:54:51 -07:00
en_port.h mlx4_en: Added self diagnostics test implementation 2010-08-24 14:54:51 -07:00
en_resources.c
en_rx.c mlx4_en: Fix build warning in mlx4_en_create_rx_ring. 2010-08-24 15:06:27 -07:00
en_selftest.c mlx4_en: Added self diagnostics test implementation 2010-08-24 14:54:51 -07:00
en_tx.c mlx4_en: Moving to work with GRO 2010-08-24 15:00:42 -07:00
eq.c mlx4_en: Added self diagnostics test implementation 2010-08-24 14:54:51 -07:00
fw.c mlx4_en: UDP RSS support 2010-08-24 14:57:09 -07:00
fw.h mlx4_en: UDP RSS support 2010-08-24 14:57:09 -07:00
icm.c
icm.h
intf.c
main.c mlx4_en: UDP RSS support 2010-08-24 14:57:09 -07:00
Makefile mlx4_en: Added self diagnostics test implementation 2010-08-24 14:54:51 -07:00
mcg.c
mlx4_en.h mlx4_en: updated driver version 2010-08-24 15:00:42 -07:00
mlx4.h
mr.c
pd.c
port.c
profile.c drivers/net: Convert unbounded kzalloc calls to kcalloc 2010-08-17 17:45:14 -07:00
qp.c
reset.c
sense.c
srq.c