freebsd-skq/share/man
mav de1115eaf6 Switch fabric scans from GID_FT to GID_PT+GFF_ID/GFT_ID.
Instead of using GID_FT SNS request to get list of registered FCP ports,
use GID_PT to get list of all Nx_Ports, and then use GFF_ID and/or GFT_ID
requests to find whether they are FCP and target capable.

The problem with old approach is that GID_FT does not report ports without
FC-4 type registered.  In particular it was impossible to boot OS from
FreeBSD FC target using QLogic FC BIOS, since one does not register FC-4
type even on new cards and so ignored by old code as incompatible.

As a side bonus this allows initiator to skip pointless logins to other
initiators by fetching that information from SNS instead.

In case some switches do not implement GFF_ID/GFT_ID correctly, add sysctls
to disable that functionality.  I handled broken GFF_ID of my Brocade 200E,
but there may be other switches with different bugs.

Linux also uses GID_PT, but GFF_ID is disabled by default there, and GFT_ID
is not supported.

Sponsored by:	iXsystems, Inc.
2017-07-03 15:56:45 +00:00
..
man1
man3 pthread_mutex_consistent: sort SEE ALSO by reference name 2017-03-27 19:17:30 +00:00
man4 Switch fabric scans from GID_FT to GID_PT+GFF_ID/GFT_ID. 2017-07-03 15:56:45 +00:00
man5 Fix punctionation in UPDATING and regen src.conf after r320127 2017-06-20 03:44:21 +00:00
man6
man7 Solve the y2038 problem for powerpc 2017-06-26 02:25:19 +00:00
man8 More ATM and NATM removal 2017-04-27 16:05:12 +00:00
man9 copy(9): clarify that copystr() does not return EFAULT 2017-06-15 21:34:43 +00:00
Makefile