Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Apr 2019 11:31:53 +0000 (UTC)
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-11@freebsd.org
Subject:   svn commit: r345938 - stable/11/sys/compat/linuxkpi/common/include/linux
Message-ID:  <201904051131.x35BVrLb011866@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Fri Apr  5 11:31:52 2019
New Revision: 345938
URL: https://svnweb.freebsd.org/changeset/base/345938

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/11/sys/compat/linuxkpi/common/include/linux/scatterlist.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/compat/linuxkpi/common/include/linux/scatterlist.h
==============================================================================
--- stable/11/sys/compat/linuxkpi/common/include/linux/scatterlist.h	Fri Apr  5 11:31:37 2019	(r345937)
+++ stable/11/sys/compat/linuxkpi/common/include/linux/scatterlist.h	Fri Apr  5 11:31:52 2019	(r345938)
@@ -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.x35BVrLb011866>