summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ctld/token.l
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2015-02-06 21:03:25 +0000
committertrasz <trasz@FreeBSD.org>2015-02-06 21:03:25 +0000
commitba70dc0f4deacb9392d178bd7b48c20556486a5c (patch)
tree87c429dd203f72c20ec2b1a4649579aab5189db6 /usr.sbin/ctld/token.l
parent83fb4b4e9bdce5fa574089d1a3272a152b4a4a18 (diff)
downloadFreeBSD-src-ba70dc0f4deacb9392d178bd7b48c20556486a5c.zip
FreeBSD-src-ba70dc0f4deacb9392d178bd7b48c20556486a5c.tar.gz
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
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 d4bf823..fd27498 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; }
OpenPOWER on IntegriCloud