linux/drivers/infiniband/hw/irdma
Christophe JAILLET a2e20b29cf RDMA/irdma: Slightly optimize irdma_form_ah_cm_frame()
There is no need to zero 'pktsize' bytes of 'buf', only the header needs
to be cleared, to be safe.
All the other bytes are already written with some memcpy() at the end of
the function.

Doing so also gives the opportunity to the compiler to avoid the memset()
call. It can be inlined now that the length is known as compile time.

Link: https://lore.kernel.org/r/098e3c397be0436f1867899245ecfe656c472110.1675369386.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2023-04-13 12:17:45 -03:00
..
cm.c RDMA/irdma: Slightly optimize irdma_form_ah_cm_frame() 2023-04-13 12:17:45 -03:00
cm.h RDMA/irdma: Add support for DSCP 2022-02-08 12:54:47 -04:00
ctrl.c RDMA/irdma: Refactor HW statistics 2023-03-19 11:36:03 +02:00
defs.h RDMA/irdma: Refactor HW statistics 2023-03-19 11:36:03 +02:00
hmc.c RDMA/irdma: Remove enum irdma_status_code 2022-02-23 15:24:18 -04:00
hmc.h RDMA/irdma: Remove enum irdma_status_code 2022-02-23 15:24:18 -04:00
hw.c RDMA/irdma: Change name of interrupts 2023-03-19 11:36:26 +02:00
i40iw_hw.c RDMA/irdma: Refactor HW statistics 2023-03-19 11:36:03 +02:00
i40iw_hw.h
i40iw_if.c RDMA/irdma: Fix Passthrough mode in VM 2022-02-28 12:07:40 -04:00
icrdma_hw.c RDMA/irdma: Refactor HW statistics 2023-03-19 11:36:03 +02:00
icrdma_hw.h
irdma.h RDMA/irdma: Refactor HW statistics 2023-03-19 11:36:03 +02:00
Kconfig RDMA/irdma: Use correct kconfig symbol for AUXILIARY_BUS 2021-08-19 10:28:49 -03:00
main.c RDMA/irdma: Add support for address handle re-use 2022-03-15 16:22:55 -03:00
main.h RDMA/irdma: Change name of interrupts 2023-03-19 11:36:26 +02:00
Makefile RDMA/irdma: Add irdma Kconfig/Makefile and remove i40iw 2021-06-02 20:06:36 -03:00
osdep.h RDMA/irdma: Remove enum irdma_status_code 2022-02-23 15:24:18 -04:00
pble.c RDMA/irdma: Refactor PBLE functions 2023-03-19 11:36:33 +02:00
pble.h RDMA/irdma: Refactor PBLE functions 2023-03-19 11:36:33 +02:00
protos.h RDMA/irdma: Refactor HW statistics 2023-03-19 11:36:03 +02:00
puda.c RDMA/irdma: Remove the redundant variable 2022-04-04 10:50:24 -03:00
puda.h RDMA/irdma: Remove enum irdma_status_code 2022-02-23 15:24:18 -04:00
trace_cm.h RDMA: Constify netdev->dev_addr accesses 2021-10-25 14:33:09 -03:00
trace.c RDMA/irdma: Add dynamic tracing for CM 2021-06-02 19:55:19 -03:00
trace.h RDMA/irdma: Add dynamic tracing for CM 2021-06-02 19:55:19 -03:00
type.h RDMA/irdma: Refactor HW statistics 2023-03-19 11:36:03 +02:00
uda_d.h RDMA/irdma: Add RoCEv2 UD OP support 2021-06-02 19:55:18 -03:00
uda.c RDMA/irdma: Make irdma_create_mg_ctx return a void 2022-02-28 11:32:42 -04:00
uda.h RDMA/irdma: Remove enum irdma_status_code 2022-02-23 15:24:18 -04:00
uk.c RDMA/irdma: Fix RQ completion opcode 2022-11-17 10:41:28 +02:00
user.h RDMA/irdma: Fix RQ completion opcode 2022-11-17 10:41:28 +02:00
utils.c RDMA/irdma: Refactor HW statistics 2023-03-19 11:36:03 +02:00
verbs.c RDMA/irdma: Refactor PBLE functions 2023-03-19 11:36:33 +02:00
verbs.h RDMA/irdma: Fix RQ completion opcode 2022-11-17 10:41:28 +02:00
ws.c RDMA/irdma: Remove enum irdma_status_code 2022-02-23 15:24:18 -04:00
ws.h RDMA/irdma: Remove enum irdma_status_code 2022-02-23 15:24:18 -04:00