freebsd-dev/sys/dev/mlx5/mlx5_core
Hans Petter Selasky 1c807f6795 Use the busdma API to allocate all DMA-able memory.
The MLX5 driver has four different types of DMA allocations which are
now allocated using busdma:

1) The 4K firmware DMA-able blocks. One busdma object per 4K allocation.
2) Data for firmware commands use the 4K firmware blocks split into four 1K blocks.
3) The 4K firmware blocks are also used for doorbell pages.
4) The RQ-, SQ- and CQ- DMA rings. One busdma object per allocation.

After this patch the mlx5en driver can be used with DMAR enabled in
the FreeBSD kernel.

MFC after:		1 week
Sponsored by:		Mellanox Technologies
2017-01-27 11:46:55 +00:00
..
mlx5_alloc.c
mlx5_cmd.c
mlx5_core.h
mlx5_cq.c
mlx5_diagnostics.c
mlx5_eq.c
mlx5_eswitch_vacl.c
mlx5_flow_table.c
mlx5_fw.c
mlx5_health.c
mlx5_mad.c
mlx5_main.c
mlx5_mcg.c
mlx5_mr.c
mlx5_pagealloc.c
mlx5_pd.c
mlx5_port.c
mlx5_qp.c
mlx5_srq.c
mlx5_transobj.c
mlx5_uar.c
mlx5_vport.c
mlx5_wq.c
transobj.h
wq.h