[SCSI] libfcoe: fip: allow FIP receive to be called from IRQ.
authorJoe Eykholt <jeykholt@cisco.com>
Tue, 3 Nov 2009 19:48:22 +0000 (11:48 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 4 Dec 2009 18:01:12 +0000 (12:01 -0600)
commit1f4aed818d26eb9ed54520fbeb85d5ee691baa94
tree986d728fb5d4550cf35bff4f9629633b667e5f13
parent0f51c2e54c0bfdb6b02c53f6d7dd9b35f91821b6
[SCSI] libfcoe: fip: allow FIP receive to be called from IRQ.

FIP's fcoe_ctlr_recv() function was previously only called from
the soft IRQ in FCoE.  It's not performance critical and is more
convenient for some drivers to call it from the IRQ level.  Just
Change to use skb_queue()/dequeue() which uses spinlock_irqsave
instead of separate locking with _bh locks.

Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/fcoe/libfcoe.c