opnsense-src/sys/dev/mlx5/mlx5_core
Mark Johnston d87ebf35c8 mlx5: Zero DMA memory mlx5_alloc_cmd_msg() and alloc_cmd_page()
These functions may map more memory for DMA than is actually used, since
the allocator operates on multiples of a 4KB page size.  Thus,
bus_dmamap_sync() can trigger KMSAN reports when the unused portion of
a page is not zero-ed.

Reported by:	KMSAN
Reviewed by:	kib
MFC after:	2 weeks
Sponsored by:	Klara, Inc.
Sponsored by:	Juniper Networks, Inc.
Differential Revision:	https://reviews.freebsd.org/D43133

(cherry picked from commit 47a6fb9d5a2ebec12114a604053ffbd2929f0021)
2024-02-01 09:02:48 -05:00
..
diag_cnt.h mlx5: Implement diagostic counters as sysctl(8) nodes. 2023-04-18 15:01:07 +02:00
eswitch.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
flow_table.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
fs_core.h mlx5: add fs_counters 2023-11-22 03:40:28 +02:00
fs_tcp.h mlx5: Implement flow steering helper functions for TCP sockets. 2022-02-01 16:21:16 +01:00
mlx5_alloc.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_cmd.c mlx5: Zero DMA memory mlx5_alloc_cmd_msg() and alloc_cmd_page() 2024-02-01 09:02:48 -05:00
mlx5_core.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_cq.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_diag_cnt.c mlx5: Implement diagostic counters as sysctl(8) nodes. 2023-04-18 15:01:07 +02:00
mlx5_diagnostics.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_eq.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_eswitch.c mlx5: Use software enum in APIs instead of PRM 2023-11-22 03:40:28 +02:00
mlx5_fc_cmd.c mlx5: add fs_counters 2023-11-22 03:40:28 +02:00
mlx5_fc_cmd.h mlx5: add fs_counters 2023-11-22 03:40:28 +02:00
mlx5_fs_cmd.c mlx5: add ability to attach flow counter to steering rule 2023-11-22 03:40:28 +02:00
mlx5_fs_counters.c mlx5: add fs_counters 2023-11-22 03:40:28 +02:00
mlx5_fs_tcp.c mlx5: Use software enum in APIs instead of PRM 2023-11-22 03:40:28 +02:00
mlx5_fs_tree.c mlx5_core: fix deadlock when using RXTLS 2023-11-22 09:00:23 +01:00
mlx5_fw.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_fwdump.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
mlx5_health.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_mad.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_main.c mlx5(4): only detach IOV children if iov was successfully initialized 2024-01-11 18:46:52 +02:00
mlx5_mcg.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_mpfs.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_mr.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_pagealloc.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_pd.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_port.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_qp.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_rl.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_srq.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_tls.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_transobj.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_uar.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_vport.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_vsc.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_wq.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
transobj.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
wq.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00