[ALTS] Add testing of AV with GRH.
[mirror/winof/.git] / tests / alts / createdestroyav.c
index 6b7935e..8099c71 100644 (file)
@@ -219,7 +219,12 @@ alts_av(
                alts_av_attr.sl = 0;\r
                alts_av_attr.static_rate = IB_PATH_RECORD_RATE_10_GBS;\r
                alts_av_attr.path_bits = 0;\r
-                alts_av_attr.grh_valid = FALSE;\r
+               alts_av_attr.grh_valid = TRUE;\r
+\r
+               alts_av_attr.grh.dest_gid.unicast.interface_id= ca_guid_array[0];\r
+               alts_av_attr.grh.src_gid.unicast.interface_id = ca_guid_array[0];\r
+               alts_av_attr.grh.hop_limit = 0;\r
+               alts_av_attr.grh.ver_class_flow = 0;\r
                /*\r
                 * step 6: Create a PD\r
                 */\r