aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ctld/token.l
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2015-02-06 21:03:25 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2015-02-06 21:03:25 +0000
commit07b49a3eedf48582c20197a84133fabdc05fa0a0 (patch)
tree87c429dd203f72c20ec2b1a4649579aab5189db6 /usr.sbin/ctld/token.l
parent6b83df33ad281a4c366426773b627c9f611b99a8 (diff)
downloadsrc-07b49a3eedf48582c20197a84133fabdc05fa0a0.tar.gz
src-07b49a3eedf48582c20197a84133fabdc05fa0a0.zip
Make it possible to set (via ctl.conf(5)) and query (via ctladm islist -v)
target iSCSI offload. Add mechanism to query maximum receive data segment size supported by chosen hardware offload module, and use it in ctld(8) to determine the value to advertise to the other side. MFC after: 1 month Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=278331
Diffstat (limited to 'usr.sbin/ctld/token.l')
-rw-r--r--usr.sbin/ctld/token.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/ctld/token.l b/usr.sbin/ctld/token.l
index d4bf823b8b08..fd274983f447 100644
--- a/usr.sbin/ctld/token.l
+++ b/usr.sbin/ctld/token.l
@@ -65,6 +65,7 @@ listen { return LISTEN; }
listen-iser { return LISTEN_ISER; }
lun { return LUN; }
maxproc { return MAXPROC; }
+offload { return OFFLOAD; }
option { return OPTION; }
path { return PATH; }
pidfile { return PIDFILE; }