linux/drivers/infiniband/hw/bnxt_re
Himanshu Jha 7d37ebbb92 RDMA/bnxt_re: Use zeroing memory allocator than allocator/memset
Use dma_zalloc_coherent for allocating zeroed
memory and remove unnecessary memset function.

Done using Coccinelle.
Generated-by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci
0-day tested with no failures.

Suggested-by: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-01-02 11:20:13 -07:00
..
bnxt_re.h bnxt_re: Remove RTNL lock dependency in bnxt_re_query_port 2017-09-22 13:57:33 -04:00
hw_counters.c RDMA/bnxt_re: Implement the alloc/get_hw_stats callback 2017-08-18 15:08:30 -04:00
hw_counters.h RDMA/bnxt_re: Implement the alloc/get_hw_stats callback 2017-08-18 15:08:30 -04:00
ib_verbs.c RDMA/bnxt_re: report vlan_id and sl in qp1 recv completion 2017-11-13 16:28:44 -05:00
ib_verbs.h RDMA/bnxt_re: Delete unsupported modify_port function 2017-07-24 08:44:46 -04:00
Kconfig bnxt_re: add MAY_USE_DEVLINK dependency 2017-07-29 14:17:48 -07:00
main.c bnxt_re: Implement the shutdown hook of the L2-RoCE driver interface 2017-10-25 15:25:08 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qplib_fp.c RDMA/bnxt_re: Remove redundant bnxt_qplib_disable_nq() call 2017-12-13 10:35:31 -07:00
qplib_fp.h RDMA/bnxt_re: Flush CQ notification Work Queue before destroying QP 2017-11-13 15:53:57 -05:00
qplib_rcfw.c RDMA/bnxt_re: Add memory barriers when processing CQ/EQ entries 2017-11-13 15:53:57 -05:00
qplib_rcfw.h bnxt_re: Fix incorrect usage of test_bit() 2017-10-18 10:24:12 -04:00
qplib_res.c RDMA/bnxt_re: Use zeroing memory allocator than allocator/memset 2018-01-02 11:20:13 -07:00
qplib_res.h bnxt_re: Make room for mapping beyond 32 entries 2017-10-18 10:24:13 -04:00
qplib_sp.c RDMA/bnxt_re: Remove set-but-not-used variables 2017-10-14 20:47:05 -04:00
qplib_sp.h RDMA/bnxt_re: Add vlan tag for untagged RoCE traffic when PFC is configured 2017-07-24 08:45:12 -04:00
roce_hsi.h bnxt_re: Make room for mapping beyond 32 entries 2017-10-18 10:24:13 -04:00