<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/scsi/fcoe/libfcoe.c, branch linux-2.6.30.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.30.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.30.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-04-27T15:19:28Z</updated>
<entry>
<title>[SCSI] fcoe: fix spelling typos and bad comments</title>
<updated>2009-04-27T15:19:28Z</updated>
<author>
<name>Chris Leech</name>
</author>
<published>2009-04-21T23:27:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dd3fd72e692c8af007f70df4433c0cffe8582d8b'/>
<id>urn:sha1:dd3fd72e692c8af007f70df4433c0cffe8582d8b</id>
<content type='text'>
Signed-off-by: Chris Leech &lt;christopher.leech@intel.com&gt;
Signed-off-by: Robert Love &lt;robert.w.love@intel.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] fcoe, libfcoe: Add support for FIP. FCoE discovery and keep-alive.</title>
<updated>2009-04-03T14:23:08Z</updated>
<author>
<name>Joe Eykholt</name>
</author>
<published>2009-03-17T18:42:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=97c8389d54b9665c38105ea72a428a44b97ff2f6'/>
<id>urn:sha1:97c8389d54b9665c38105ea72a428a44b97ff2f6</id>
<content type='text'>
FIP is the new standard way to discover Fibre-Channel Forwarders (FCFs)
by sending solicitations and listening for advertisements from FCFs.

It also provides for keep-alives and period advertisements so that both
parties know they have connectivity.  If the FCF loses connectivity to
the storage fabric, it can send a Link Reset to inform the E_node.

This version is also compatible with pre-FIP implementations, so no
configured selection between FIP mode and non-FIP mode is required.

We wait a couple seconds after sending the initial solicitation
and then send an old-style FLOGI.  If we receive any FIP frames,
we use FIP only mode.  If the old FLOGI receives a response,
we disable FIP mode.  After every reset or link up, this
determination is repeated.

Signed-off-by: Joe Eykholt &lt;jeykholt@cisco.com&gt;
Signed-off-by: Vasu Dev &lt;vasu.dev@intel.com&gt;
Signed-off-by: Robert Love &lt;robert.w.love@intel.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] fcoe: moves common FCoE library API functions to libfcoe module</title>
<updated>2009-04-03T14:23:05Z</updated>
<author>
<name>Vasu Dev</name>
</author>
<published>2009-03-17T18:42:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5e80f7f7c87990ffe7856a0d35a94ea52b8f4c59'/>
<id>urn:sha1:5e80f7f7c87990ffe7856a0d35a94ea52b8f4c59</id>
<content type='text'>
Moves these functions as-is from fcoe.c to libfcoe.c, since
they're are common routines:

	- fcoe_wwn_from_mac
	- fcoe_libfc_config

Signed-off-by: Vasu Dev &lt;vasu.dev@intel.com&gt;
Signed-off-by: Robert Love &lt;robert.w.love@intel.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] fcoe, libfc: add libfcoe module</title>
<updated>2009-04-03T14:23:04Z</updated>
<author>
<name>Vasu Dev</name>
</author>
<published>2009-03-17T18:42:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9b34ecffd59d6ed66fdd6906e8a092a33e7c8564'/>
<id>urn:sha1:9b34ecffd59d6ed66fdd6906e8a092a33e7c8564</id>
<content type='text'>
Just sets up build environment for libfcoe module towards a
libfcoe library for libfc LLDs using FCoE as libfc transport.

Common library code to libfcoe is added in next patch.

Also, updated MODULE_LICENSE from "GPL" string to "GPL v2" for
libfc, libfcoe and fcoe modules to accurately match the licenses.

Signed-off-by: Vasu Dev &lt;vasu.dev@intel.com&gt;
Signed-off-by: Robert Love &lt;robert.w.love@intel.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] fcoe: renames libfcoe.c to fcoe.c as the only fcoe module file</title>
<updated>2009-04-03T14:23:03Z</updated>
<author>
<name>Vasu Dev</name>
</author>
<published>2009-03-27T16:07:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a703e490f5e86ddaac4086e56b669fa7316b4a9f'/>
<id>urn:sha1:a703e490f5e86ddaac4086e56b669fa7316b4a9f</id>
<content type='text'>
Renames libfcoe.c to fcoe.c, fcoe.c becomes the only
.c file for fcoe.ko.

Also deleted "$Id: Makefile" from fcoe module Makefle.

Signed-off-by: Vasu Dev &lt;vasu.dev@intel.com&gt;
Signed-off-by: Robert Love &lt;robert.w.love@intel.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] fcoe: removes default sw transport code file fcoe_sw.c</title>
<updated>2009-04-03T14:23:02Z</updated>
<author>
<name>Vasu Dev</name>
</author>
<published>2009-03-27T16:06:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7f3491429553cbff20367851fb897c449d028393'/>
<id>urn:sha1:7f3491429553cbff20367851fb897c449d028393</id>
<content type='text'>
Moves only required code from fcoe_sw.c to libfcoe.c towards having
just one source file for fcoe module, this gets rid off default sw
transport code in a separate fcoe_sw.c file.

Very minor renaming along this move, dropped _sw_ or _SW_ use
in names and replaced them by _if_ as a auxiliary interface
functions. Now some of these funcs can be removed or merged with
other func after fcoe transport is gone, but that should be
in another patch to keep this patch simple.

Now the libfcoe.c file name for fcoe module doesn't go along well,
so the libfcoe.c file renaming to fcoe.c as the only single fcoe
module file is done in next patch to keep this patch clean
and small for review.

Signed-off-by: Vasu Dev &lt;vasu.dev@intel.com&gt;
Signed-off-by: Robert Love &lt;robert.w.love@intel.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] fcoe: prep work to completely remove fc_transport_fcoe code</title>
<updated>2009-04-03T14:23:00Z</updated>
<author>
<name>Vasu Dev</name>
</author>
<published>2009-03-27T16:03:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5919a59503577c2dc6eaa8bfba0f7bde3f9924ba'/>
<id>urn:sha1:5919a59503577c2dc6eaa8bfba0f7bde3f9924ba</id>
<content type='text'>
The fcoe transport code was added for generic FCoE transport
infrastructure to allow additional offload related module loading
on demand, this is not required anymore after recently added
different offload approach by having offload related func ops
in netdev.

This patch removes fcoe transport related code use, calls functions
directly between existing libfcoe.c and fcoe_sw.c for now, for
example fcoe_sw_destroy and fcoe_sw_create calling.

The fcoe_sw.c and libfcoe.c code will be further consolidated in
later patches and then also the default fcoe sw transport code
file fcoe_sw.c will be completely removed.

The fcoe transport code files are completely removed in next
patch to keep this patch simple for reviewing.

[This patch is an update to a previous patch. This update
resolves a build error as well as fixes a defect related to
not calling fc_release_transport().]

Signed-off-by: Vasu Dev &lt;vasu.dev@intel.com&gt;
Signed-off-by: Robert Love &lt;robert.w.love@intel.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] fcoe: create/destroy fcoe Rx threads on CPU hotplug events</title>
<updated>2009-04-03T14:22:59Z</updated>
<author>
<name>Robert Love</name>
</author>
<published>2009-03-17T18:41:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8976f424d43c80ea32b6e847226e1a8ccdb6e748'/>
<id>urn:sha1:8976f424d43c80ea32b6e847226e1a8ccdb6e748</id>
<content type='text'>
This patch adds support for dynamically created Rx threads
upon CPU hotplug events.

There were existing synchronization problems that this patch
attempts to resolve. The main problem had to do with fcoe_rcv()
running in a different context than the hotplug notifications.
This opened the possiblity that fcoe_rcv() would target a Rx
thread for a skb. However, that thread could become NULL if
the CPU was made offline.

This patch uses the Rx queue's (a skb_queue) lock to protect
the thread it's associated with and we use the 'thread' member
of the fcoe_percpu_s to determine if the thread is ready to
accept new skbs.

The patch also attempts to do a better job of cleaning up, both
if hotplug registration fails as well as when the module is
removed.

Contribution provided by Joe Eykholt &lt;jeykholt@cisco.com&gt; to
fix incorrect use of __cpuinitdata.

Signed-off-by: Yi Zou &lt;yi.zou@intel.com&gt;
Signed-off-by: Robert Love &lt;robert.w.love@intel.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] fcoe: Use per-CPU kernel function for dev_stats instead of an array</title>
<updated>2009-04-03T14:22:58Z</updated>
<author>
<name>Robert Love</name>
</author>
<published>2009-03-31T22:51:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=582b45bc577f78b5bfff3db874594ce2d962b846'/>
<id>urn:sha1:582b45bc577f78b5bfff3db874594ce2d962b846</id>
<content type='text'>
Remove the hotplug creation of dev_stats, we allocate for all possible CPUs
now when we allocate the lport.

v2: Durring the 2.6.30 merge window, before these patches were comitted,
'percpu_ptr' was renamed 'per_cpu_ptr'. This latest update updates this
patch for the name change.

Signed-off-by: Yi Zou &lt;yi.zou@intel.com&gt;
Signed-off-by: Robert Love &lt;robert.w.love@intel.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] fcoe: Use percpu kernel funcs for struct fcoe_percpu_s</title>
<updated>2009-04-03T14:22:57Z</updated>
<author>
<name>Robert Love</name>
</author>
<published>2009-03-17T18:41:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5e5e92df49d4dfbef9ba981297c7f76d189376ac'/>
<id>urn:sha1:5e5e92df49d4dfbef9ba981297c7f76d189376ac</id>
<content type='text'>
Convert fcoe_percpu array to use the per-cpu variables
that the kernel provides. Use the kernel's functions to
access this structure.

The cpu member of the fcoe_percpu_s is no longer needed,
so this patch removes it too.

Signed-off-by: Yi Zou &lt;yi.zou@intel.com&gt;
Signed-off-by: Robert Love &lt;robert.w.love@intel.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@HansenPartnership.com&gt;
</content>
</entry>
</feed>
