From: Alexey Dobriyan <adobriyan@mail.ru>
To: Alex Aizman <itn780@yahoo.com>
Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [ANNOUNCE 2/6] Open-iSCSI High-Performance Initiator for Linux
Date: Mon, 7 Mar 2005 12:08:02 +0200 [thread overview]
Message-ID: <200503071208.02285.adobriyan@mail.ru> (raw)
In-Reply-To: <422BFEC6.70305@yahoo.com>
On Monday 07 March 2005 09:12, Alex Aizman wrote:
> Common header files:
> - iscsi_ifev.h (user/kernel events).
> - iscsi_if.h (iSCSI open interface over netlink);
> - iscsi_proto.h (RFC3720 #defines and types);
> --- linux-2.6.11.orig/include/scsi/iscsi_if.h
> +++ linux-2.6.11.dima/include/scsi/iscsi_if.h
> +/**
> + * struct iscsi_transport - down calls
> + *
> + * @name: transport name
> + * @caps: iSCSI Data-Path capabilities
> + * @create_snx: create new iSCSI session object
> + * @destroy_snx: destroy existing iSCSI session object
> + * @create_cnx: create new iSCSI connection
> + * @bind_cnx: associate this connection with existing iSCSI session and
> + * specified transport descriptor
> + * @destroy_cnx: destroy inactive iSCSI connection
> + * @set_param: set iSCSI Data-Path operational parameter
> + * @start_cnx: set connection to be operational
> + * @stop_cnx: suspend connection
> + * @send_pdu: send iSCSI PDU, Login, Logout, NOP-Out, Reject, Text.
> + *
> + * API provided by generic iSCSI Data Path module
> + */
> +struct iscsi_transport {
> + char *name;
> + unsigned int caps;
> + unsigned int max_cnx;
> + iscsi_snx_h (*create_session) (iscsi_snx_h cp_snx,
> + uint32_t initial_cmdsn, uint32_t *sid);
> + void (*destroy_session) (iscsi_snx_h dp_snx);
> + iscsi_cnx_h (*create_cnx) (iscsi_snx_h dp_snx, iscsi_cnx_h cp_cnx,
> + uint32_t cid);
> + int (*bind_cnx) (iscsi_snx_h dp_snx, iscsi_cnx_h dp_cnx,
> + uint32_t transport_fd, int is_leading);
> + int (*start_cnx) (iscsi_cnx_h dp_cnx);
> + void (*stop_cnx) (iscsi_cnx_h dp_cnx);
> + void (*destroy_cnx) (iscsi_cnx_h dp_cnx);
> + int (*set_param) (iscsi_cnx_h dp_cnx, iscsi_param_e param,
> + uint32_t value);
> + int (*send_pdu) (iscsi_cnx_h dp_cnx, struct iscsi_hdr *hdr,
> + char *data, uint32_t data_size);
> +};
create_snx in comment but not in structure
destroy_snx in comment but not in structure
destroy_session in structure but not in comment
create_session in structure but not in comment
max_cnx in structure but not in comment
Alexey
next prev parent reply other threads:[~2005-03-07 9:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-07 7:12 [ANNOUNCE 2/6] Open-iSCSI High-Performance Initiator for Linux Alex Aizman
2005-03-07 10:08 ` Alexey Dobriyan [this message]
2005-03-09 6:32 ` Matt Mackall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200503071208.02285.adobriyan@mail.ru \
--to=adobriyan@mail.ru \
--cc=itn780@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox