diff options
author | Bhanu Prakash Gollapudi <bprakash@broadcom.com> | 2011-01-28 16:05:37 -0800 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-02-12 11:18:18 -0600 |
commit | 8597ae8bfe35f5e438b00ba5df852e97ebe1ac23 (patch) | |
tree | 64020cecc7ef1bb2923109ed5afea58f59d9bcbe /drivers/message/fusion/mptsas.c | |
parent | 2ca32b4848a865fb088e8c00af0dc194701c373a (diff) |
[SCSI] libfcoe: Move common code from fcoe to libfcoe module
To facilitate LLDDs to reuse the code, skb queue related functions are moved to
libfcoe, so that both fcoe and bnx2fc drivers can use them. The common structures
fcoe_port, fcoe_percpu_s are moved to libfcoe. fcoe_port will now have an
opaque pointer that points to corresponding driver's interface structure.
Also, fcoe_start_io and fcoe_fc_crc are moved to libfcoe.
As part of this change, fixed fcoe_start_io to return ENOMEM if
skb_clone fails.
Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/message/fusion/mptsas.c')
0 files changed, 0 insertions, 0 deletions