Search the web
Sign In
New User? Sign Up
dat-discussions · DAT Collaborative
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
[PATCH] DAT 2.0 header changes   Message List  
Reply | Forward Message #4144 of 4166 |
RE: [PATCH] DAT 2.0 header changes

Arlin,
1 & 3. Why did you get rid of DAT_EXTENSIONS?
I thought we agreed that we will support the non-extension version of
DAT-2.0
on default.

Changing order inside enum is fine.

2. Good catch on missing #define DAT_IA_FIELD_IA_EXTENSIONS_SUPPORTED.
This should be fixed.

Good catch on the wrong minor version +#define DAT_VERSION_MINOR 0
Not sure how that happened.

Thanks,

Arkady Kanevsky email: arkady@...
Network Appliance Inc. phone: 781-768-5395
1601 Trapelo Rd. - Suite 16. Fax: 781-895-1195
Waltham, MA 02451 central phone: 781-768-5300


> -----Original Message-----
> From: Davis, Arlin R [mailto:arlin.r.davis@...]
> Sent: Thursday, May 17, 2007 5:19 PM
> To: Kanevsky, Arkady; Lentini, James
> Cc: dat-discussions@yahoogroups.com
> Subject: RE: [PATCH] DAT 2.0 header changes
>
> You can ignore the tabs/space changes. Just make sure the
> other 3 changes are ok.
>
> dat.h, udat_config.h and udat.h
>
> 1.
>
> diff -Naur ./dat/include/dat/dat.h
> ../openfabrics/dapl/dat/include/dat/dat.h
> --- ./dat/include/dat/dat.h 2006-11-10 18:37:09.000000000 -0800
> +++ ../openfabrics/dapl/dat/include/dat/dat.h 2007-05-16
> 12:51:44.372347952 -0700
> @@ -401,16 +401,13 @@
> /* To support backwards compatibility for DAPL-1.0 &
> DAPL-1.1 */ #define max_mtu_size max_message_size
>
> -#ifdef DAT_EXTENSIONS
> -/* DAPL 2.0 addition */
> -/* Defines extensions */
> +/* Query for provider IA extension support */
> typedef enum dat_extension
> {
> + DAT_EXTENSION_NONE,/* no extension supported. */
> DAT_EXTENSION_IB, /* IB extension. */
> - DAT_EXTENSION_IW, /* iWARP extension. */
> - DAT_EXTENSION_NONE /* no extension supported. */
> + DAT_EXTENSION_IW /* iWARP extension. */
> } DAT_EXTENSION;
> -#endif /* DAT_EXTENSIONS */
>
> typedef struct dat_ia_attr DAT_IA_ATTR;
>
> @@ -451,6 +448,7 @@
> #define DAT_IA_FIELD_IA_MAX_RDMA_READ_PER_EP_IN_GUARANTEED
> UINT64_C(0x020000000)
> #define DAT_IA_FIELD_IA_MAX_RDMA_READ_PER_EP_OUT_GUARANTEED
> UINT64_C(0x040000000)
> #define DAT_IA_FIELD_IA_ZB_SUPPORTED
> UINT64_C(0x080000000)
> +#define DAT_IA_FIELD_IA_EXTENSIONS_SUPPORTED
> UINT64_C(0x100000000)
>
> /* To support backwards compatibility for DAPL-1.0 &
> DAPL-1.1 */ #define DAT_IA_ALL DAT_IA_FIELD_ALL
>
>
> 2.
>
> diff -Naur ./dat/include/dat/udat_config.h
> ../openfabrics/dapl/dat/include/dat/udat_config.h
> --- ./dat/include/dat/udat_config.h 2006-11-09 15:10:02.000000000
> -0800
> +++ ../openfabrics/dapl/dat/include/dat/udat_config.h 2007-05-16
> 12:51:44.388345520 -0700
> @@ -50,8 +50,8 @@
> #ifndef _UDAT_CONFIG_H_
> #define _UDAT_CONFIG_H_
>
> -#define DAT_VERSION_MAJOR 1
> -#define DAT_VERSION_MINOR 2
> +#define DAT_VERSION_MAJOR 2
> +#define DAT_VERSION_MINOR 0
>
> /*
> * The official header files will default DAT_THREADSAFE to DAT_TRUE.
> If
>
> 3.
>
> diff -Naur ./dat/include/dat/udat.h
> ../openfabrics/dapl/dat/include/dat/udat.h
> --- ./dat/include/dat/udat.h 2006-11-10 18:39:16.000000000 -0800
> +++ ../openfabrics/dapl/dat/include/dat/udat.h 2007-05-16
> 12:51:44.392344912 -0700
> @@ -292,20 +292,17 @@
> DAT_BOOLEAN max_rdma_read_per_ep_in_guaranteed;
> DAT_BOOLEAN max_rdma_read_per_ep_out_guaranteed;
> DAT_BOOLEAN zb_supported;
> -#ifdef DAT_EXTENSIONS
> DAT_EXTENSION extension_supported;
> DAT_COUNT extension_version;
> -#endif /* DAT_EXTENSIONS */
> DAT_COUNT num_transport_attr;
> DAT_NAMED_ATTR *transport_attr;
> DAT_COUNT num_vendor_attr;
> DAT_NAMED_ATTR *vendor_attr;
> };
>
> -#ifdef DAT_EXTENSIONS
> +
> #define DAT_IA_FIELD_IA_EXTENSION
> UINT64_C(0x100000000)
> #define DAT_IA_FIELD_IA_EXTENSION_VERSION
> UINT64_C(0x200000000)
> -#endif /* DAT_EXTENSIONS */
>
> #define DAT_IA_FIELD_IA_NUM_TRANSPORT_ATTR
> UINT64_C(0x400000000)
> #define DAT_IA_FIELD_IA_TRANSPORT_ATTR
> UINT64_C(0x800000000)
>



Fri May 18, 2007 4:01 pm

arkadynetappcom
Offline Offline
Send Email Send Email

Forward
Message #4144 of 4166 |
Expand Messages Author Sort by Date

Here is a patch against the published DAT 2.0 headers to align with the OFA build. There are a few changes required for extension support query so please...
Arlin Davis
ardyamhill
Offline Send Email
May 16, 2007
7:58 pm

Arlin, Many many thanks for integrating DAT-2.0 in. Great job. Some of the changes looks like just extra tabs and spaces. So there have no impact on the spec. ...
Kanevsky, Arkady
arkadynetappcom
Offline Send Email
May 16, 2007
8:55 pm

You can ignore the tabs/space changes. Just make sure the other 3 changes are ok. dat.h, udat_config.h and udat.h 1. diff -Naur ./dat/include/dat/dat.h ...
Davis, Arlin R
ardyamhill
Offline Send Email
May 17, 2007
9:21 pm

Arlin, 1 & 3. Why did you get rid of DAT_EXTENSIONS? I thought we agreed that we will support the non-extension version of DAT-2.0 on default. Changing order...
Kanevsky, Arkady
arkadynetappcom
Offline Send Email
May 18, 2007
4:02 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help