Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Sep 2019 14:06:40 -0000
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r345937 - stable/12/sys/compat/linuxkpi/common/include/linux
Message-ID:  <201904051131.x35BVbYH010255@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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)





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904051131.x35BVbYH010255>