diff options
author | Joe Eykholt <jeykholt@cisco.com> | 2010-07-20 15:20:56 -0700 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-28 09:05:59 -0500 |
commit | 251748a99e631a2c46edcf9e519cfc60fae8153d (patch) | |
tree | 6255e513473fffde4691f761c53e82440d763d18 /include/scsi/fc_encode.h | |
parent | 079ecd8cfe95dfd28b74f3a00d66fdbcdfc8c611 (diff) | |
download | kernel_samsung_crespo-251748a99e631a2c46edcf9e519cfc60fae8153d.zip kernel_samsung_crespo-251748a99e631a2c46edcf9e519cfc60fae8153d.tar.gz kernel_samsung_crespo-251748a99e631a2c46edcf9e519cfc60fae8153d.tar.bz2 |
[SCSI] libfc: add fc_frame_sid() and fc_frame_did() functions
To pave the way for eliminating exchanges from incoming requests,
add simple inline fc_frame_sid() and fc_frame_did() functions
which get the FC_IDs from the frame header. This can be almost
as efficient as getting them from the sequence/exchange.
Move ntohll, htonll, ntoh24 and hton24 to <scsi/fc_frame.h>
since we need them there and that's included by <scsi/libfc.h>
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>
Diffstat (limited to 'include/scsi/fc_encode.h')
0 files changed, 0 insertions, 0 deletions