Files
scst/srpt/src/srp-ext.h
Bart Van Assche d51ecb0e2a ib_srpt: Add support for immediate data
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5892 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-27 15:19:21 +00:00

23 lines
393 B
C

/*
* Extensions to the SRPr16a protocol
*
* Copyright (C) 2013 Fusion-io, Inc. All rights reserved.
*/
#ifndef _SRP_EXT_H_
#define _SRP_EXT_H_
/*
* Data is present as immediate data instead of being referred to via a
* descriptor.
*/
enum { SRP_DATA_DESC_IMM = 3 };
enum { SRP_BUF_FORMAT_IMM = 1 << 3 };
struct srp_imm_buf {
__be32 len;
__be32 offset;
};
#endif /* _SRP_EXT_H_ */