svn commit: r345937 - stable/12/sys/compat/linuxkpi/common/include/linux
Hans Petter Selasky
hselasky at FreeBSD.org
Fri Apr 5 11:31:38 UTC 2019
Author: hselasky
Date: Fri Apr 5 11:31:37 2019
New Revision: 345937
URL: https://svnweb.freebsd.org/changeset/base/345937
Log:
MFC r345108:
Define SG_CHAIN and SG_END in the LinuxKPI.
Submitted by: Johannes Lundberg <johalun0 at gmail.com>
Sponsored by: Limelight Networks
Sponsored by: Mellanox Technologies
Modified:
stable/12/sys/compat/linuxkpi/common/include/linux/scatterlist.h
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/compat/linuxkpi/common/include/linux/scatterlist.h
==============================================================================
--- stable/12/sys/compat/linuxkpi/common/include/linux/scatterlist.h Fri Apr 5 11:30:27 2019 (r345936)
+++ stable/12/sys/compat/linuxkpi/common/include/linux/scatterlist.h Fri Apr 5 11:31:37 2019 (r345937)
@@ -69,6 +69,8 @@ struct sg_page_iter {
#define SG_MAX_SINGLE_ALLOC (PAGE_SIZE / sizeof(struct scatterlist))
#define SG_MAGIC 0x87654321UL
+#define SG_CHAIN SG_PAGE_LINK_CHAIN
+#define SG_END SG_PAGE_LINK_LAST
#define sg_is_chain(sg) ((sg)->page_link & SG_PAGE_LINK_CHAIN)
#define sg_is_last(sg) ((sg)->page_link & SG_PAGE_LINK_LAST)
More information about the svn-src-stable-12
mailing list