<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/isp/isp_library.h, branch release/12.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F12.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F12.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2017-11-27T14:52:40Z</updated>
<entry>
<title>sys/dev: further adoption of SPDX licensing ID tags.</title>
<updated>2017-11-27T14:52:40Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-27T14:52:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=718cf2ccb9956613756ab15d7a0e28f2c8e91cab'/>
<id>urn:sha1:718cf2ccb9956613756ab15d7a0e28f2c8e91cab</id>
<content type='text'>
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
</content>
</entry>
<entry>
<title>Switch fabric scans from GID_FT to GID_PT+GFF_ID/GFT_ID.</title>
<updated>2017-07-03T15:56:45Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2017-07-03T15:56:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a94fab67bb9c07d5837c9e2ad25d48b9b701643a'/>
<id>urn:sha1:a94fab67bb9c07d5837c9e2ad25d48b9b701643a</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Unify initiator and target DMA setup and command sending.</title>
<updated>2017-03-24T14:44:03Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2017-03-24T14:44:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7e31684ea4499158704dac19aba823c77f428285'/>
<id>urn:sha1:7e31684ea4499158704dac19aba823c77f428285</id>
<content type='text'>
The code is so alike that it is pointless to keep it separate.

MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Remove dead remnants of SPI target.</title>
<updated>2017-03-18T15:42:22Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2017-03-18T15:42:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=98b08fbea51f789e4bdc878f4633493b227c5eff'/>
<id>urn:sha1:98b08fbea51f789e4bdc878f4633493b227c5eff</id>
<content type='text'>
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Improvements around attach, reset and detach.</title>
<updated>2017-03-14T08:03:56Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2017-03-14T08:03:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a1fa02673afaed21473adc4633faac57b554acc0'/>
<id>urn:sha1:a1fa02673afaed21473adc4633faac57b554acc0</id>
<content type='text'>
This change fixes DMA resource leak on driver unload.  Also it removes
DMA resources allocation for hardcoded number of requests before fetching
the real number from firmware.  Also it prepares ground for more flexible
IRQs allocation according to firmware capabilities.

MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Register symbolic port/node names in FC name server.</title>
<updated>2016-04-09T14:50:47Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2016-04-09T14:50:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7e53e7accc063b59d0d653d6b3229b71a2850228'/>
<id>urn:sha1:7e53e7accc063b59d0d653d6b3229b71a2850228</id>
<content type='text'>
This is cosmetics that simplifies identification of new ports on FC switch.

It would be good to use target name from CTL here instead of hostname, but
it is not passed here through CAM now.

MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Unify handles allocation for initiator and target IOCBs.</title>
<updated>2015-12-25T13:03:18Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2015-12-25T13:03:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=970ceb2fd5b6f3dca91783865b1b0242d3077d2c'/>
<id>urn:sha1:970ceb2fd5b6f3dca91783865b1b0242d3077d2c</id>
<content type='text'>
I am not sure why this was split long ago, but I see no reason for it.
At this point this unification just slightly reduces memory usage, but
as next step I plan to reuse shared handle space for other IOCB types.
</content>
</entry>
<entry>
<title>Clear virtual port's port database when disabling it.</title>
<updated>2015-12-25T03:44:29Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2015-12-25T03:44:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a4f43c01c0719339ac6b348c93a061f35d47e096'/>
<id>urn:sha1:a4f43c01c0719339ac6b348c93a061f35d47e096</id>
<content type='text'>
Previously it was done only on full chip reinit, that caused old ports
resurrect in case of virtual port reenabling.
</content>
</entry>
<entry>
<title>Rip off target mode support for parallel SCSI QLogic adapters.</title>
<updated>2015-11-23T10:06:19Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2015-11-23T10:06:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3e6deb330e6613bcd7b3ec227add1eb2a2dcaaf8'/>
<id>urn:sha1:3e6deb330e6613bcd7b3ec227add1eb2a2dcaaf8</id>
<content type='text'>
Hacks to enable target mode there complicated code, while didn't really
work.  And for outdated hardware fixing it is not really interesting.

Initiator mode tested with Qlogic 1080 adapter is still working fine.
</content>
</entry>
<entry>
<title>Another round of port scanner rewrite.</title>
<updated>2015-11-19T17:43:47Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2015-11-19T17:43:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=eea52482f90e7c5da565833abbbc7a544a054d07'/>
<id>urn:sha1:eea52482f90e7c5da565833abbbc7a544a054d07</id>
<content type='text'>
This change simplifies and unifies port adding/updating for loop and
fabric scanners.  It also fixes problems with scanning restarts due to
concurrent port databases changes.  It also fixes many cosmetic issues.
</content>
</entry>
</feed>
