[openib-general] [PATCH][iWARP] Added provider CM verbs and queryprovider methods
Sean Hefty
sean.hefty at intel.com
Wed Aug 24 16:36:54 PDT 2005
>@@ -59,7 +60,8 @@
> enum ib_node_type {
> IB_NODE_CA = 1,
> IB_NODE_SWITCH,
>- IB_NODE_ROUTER
>+ IB_NODE_ROUTER,
>+ IB_NODE_IWARP
> };
I guess I'm not sure what an iWarp node is or how it would be used.
>+/* Connection events. */
>+enum ib_xcm_event_type {
>+ IB_EVENT_ACTIVE_CONNECT_RESULTS,
>+ IB_EVENT_CONNECT_REQUEST
>+};
>+
>+/* iwarp connection attributes. */
>+struct ib_connect_attr {
>+ struct in_addr local_addr;
>+ struct in_addr remote_addr;
>+ u16 local_port;
>+ u16 remote_port;
>+};
>+struct ib_conn_results {
>+ int errno;
>+ struct ib_connect_attr conn_attr;
>+ int priv_len;
>+ u8 private_data[0];
>+};
>+
>+struct ib_conn_request {
>+ int cr_id;
>+ struct ib_connect_attr conn_attr;
>+ int priv_len;
>+ u8 private_data[0];
>+};
>+
>+struct ib_xcm_event {
>+ struct ib_device *device;
>+ union {
>+ struct ib_conn_results connect_qp_results;
>+ struct ib_conn_request connect_request;
>+ } element;
>+ enum ib_xcm_event_type event;
>+};
>+
Why include the connection protocol as part of the verbs layer? Granted I
haven't looked at the iWarp specs in a long time, but I don't remember
connection establishment being part of the verbs.
- Sean
More information about the general
mailing list