freebsd-dev/usr.sbin/ctld
Richard Scheffenegger 64ffe6d440 Add DSCP support for network QoS to iscsi target.
In order to prioritize iSCSI traffic across a network,
DSCP can be used. In order not to rely on "ipfw setdscp"
or in-network reclassification, this adds the dscp value
directly to the portal group (where TCP sessions are accepted).

The incoming iSCSI session is first handled by ctld for any
CHAP authentication and the socket is then handed off to the
in-kernel iscsi driver without modification of the socket
parameters. Simply setting up the socket in ctld is sufficient
to keep sending outgoing iSCSI related traffic with the
configured DSCP value.

Reviewed by:	mav, trasz
MFC after:	2 weeks
Sponsored by:	NetApp, Inc.
Differential Revision:	https://reviews.freebsd.org/D26385
2020-09-27 21:43:19 +00:00
..
chap.c Add missing SPDX tags for ctld(8). 2018-01-24 16:37:29 +00:00
ctl.conf.5 Add DSCP support for network QoS to iscsi target. 2020-09-27 21:43:19 +00:00
ctld.8 Add 'ctld -t', to test configuration file validity. 2020-03-31 13:43:09 +00:00
ctld.c Add DSCP support for network QoS to iscsi target. 2020-09-27 21:43:19 +00:00
ctld.h Add DSCP support for network QoS to iscsi target. 2020-09-27 21:43:19 +00:00
discovery.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
isns.c Add missing SPDX tags for ctld(8). 2018-01-24 16:37:29 +00:00
isns.h
kernel.c Make sure not to pass NULL to strtoul(3). The values come 2020-09-01 14:58:57 +00:00
keys.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
log.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
login.c userland: Fix several typos and minor errors 2017-12-27 03:23:01 +00:00
Makefile Stop linking to libl by specifying we do not need yywrap 2019-09-10 07:28:27 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
parse.y Add DSCP support for network QoS to iscsi target. 2020-09-27 21:43:19 +00:00
pdu.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
token.l Add DSCP support for network QoS to iscsi target. 2020-09-27 21:43:19 +00:00
uclparse.c Add DSCP support for network QoS to iscsi target. 2020-09-27 21:43:19 +00:00