aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mlx5/mlx5_core/mlx5_alloc.c
Commit message (Collapse)AuthorAgeFilesLines
* Use the busdma API to allocate all DMA-able memory.Hans Petter Selasky2017-01-271-95/+100
| | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=312882
* Add mlx5 and mlx5en driver(s) for ConnectX-4 and ConnectX-4LX cardsHans Petter Selasky2015-11-101-0/+256
from Mellanox Technologies. The current driver supports ethernet speeds up to and including 100 GBit/s. Infiniband support will be done later. The code added is not compiled by default, which will be done by a separate commit. Sponsored by: Mellanox Technologies MFC after: 2 weeks Notes: svn path=/head/; revision=290650