[SCSI] fcoe: Initialize all possilbe skb_queue(s) when module is loaded
authorRobert Love <robert.w.love@intel.com>
Tue, 17 Mar 2009 18:41:30 +0000 (11:41 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 3 Apr 2009 14:22:57 +0000 (09:22 -0500)
commit38eccabd1067b93af0fedbf447ab846e7df1ca66
tree10f648d5b4cb1fc3754ec048da53be68117d467a
parent2df71b1a5bea7955872dbab5cf89183da697d0f9
[SCSI] fcoe: Initialize all possilbe skb_queue(s) when module is loaded

Currently the skb_queue is initialized every time the associated
CPU goes online. This patch has libfcoe initializing the skb_queue
for all possible CPUs when the module is loaded.

This patch also re-orders some declarations in the fcoe_rcv()
function so the structure declarations are grouped before
the primitive declarations.

Lastly, this patch converts all CPU indicies to use unsigned int
since CPU indicies should not be negative.

Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/fcoe/libfcoe.c
include/scsi/libfcoe.h