opnsense-src/sys/dev/cxgbe/iw_cxgbe
Hans Petter Selasky c3987b8ea7 ibcore: Declare ib_post_send() and ib_post_recv() arguments const
Since neither ib_post_send() nor ib_post_recv() modify the data structure
their second argument points at, declare that argument const. This change
makes it necessary to declare the 'bad_wr' argument const too and also to
modify all ULPs that call ib_post_send(), ib_post_recv() or
ib_post_srq_recv(). This patch does not change any functionality but makes
it possible for the compiler to verify whether the
ib_post_(send|recv|srq_recv) really do not modify the posted work request.

Linux commit:
f696bf6d64b195b83ca1bdb7cd33c999c9dcf514
7bb1fafc2f163ad03a2007295bb2f57cfdbfb630
d34ac5cd3a73aacd11009c4fc3ba15d7ea62c411

MFC after:	1 week
Reviewed by:	kib
Sponsored by:	Mellanox Technologies // NVIDIA Networking
2021-07-12 14:22:33 +02:00
..
cm.c cxgbe: remove unused linux headers 2021-03-26 17:44:38 +00:00
cq.c cxgbe/iw_cxgbe: Do not terminate CTRx messages with \n. 2018-12-20 22:31:07 +00:00
device.c cxgbe/iw_cxgbe: Add an async callback to notify iw_cxgbe in case of a 2020-05-19 16:28:20 +00:00
ev.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
id_table.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
iw_cxgbe.h ibcore: Declare ib_post_send() and ib_post_recv() arguments const 2021-07-12 14:22:33 +02:00
mem.c cxgbe/iw_cxgbe: Support for 512 SGL entries in one memory registration. 2021-06-01 14:38:31 -07:00
provider.c cxgbe/iw_cxgbe: Support for 512 SGL entries in one memory registration. 2021-06-01 14:38:31 -07:00
qp.c ibcore: Declare ib_post_send() and ib_post_recv() arguments const 2021-07-12 14:22:33 +02:00
resource.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
t4.h cxgbe/iw_cxgbe: Support for 512 SGL entries in one memory registration. 2021-06-01 14:38:31 -07:00
user.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00