]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Implement the __sg_alloc_table_from_pages() function based on the existing
authorHans Petter Selasky <hselasky@FreeBSD.org>
Fri, 1 Jun 2018 12:09:07 +0000 (12:09 +0000)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Fri, 1 Jun 2018 12:09:07 +0000 (12:09 +0000)
commit57a865f8088a544a3a25bb1a9b0072f5c42fa102
tree440b41f9cf258001524034e8f9b8e7f46971cffe
parent6fad8d171af89087752738c9048058c991008876
Implement the __sg_alloc_table_from_pages() function based on the existing
sg_alloc_table_from_pages() function in the LinuxKPI.

This basically allow segments to have a limit, max_segment.

Submitted by: Johannes Lundberg <johalun0@gmail.com>
MFC after: 1 week
Sponsored by: Mellanox Technologies
Sponsored by: Limelight Networks
sys/compat/linuxkpi/common/include/linux/scatterlist.h