File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 11
11
* All rights reserved.
12
12
* Copyright (c) 2006 Sandia National Laboratories. All rights
13
13
* reserved.
14
- * Copyright (c) 2013-2015 Cisco Systems, Inc. All rights reserved.
14
+ * Copyright (c) 2013-2017 Cisco Systems, Inc. All rights reserved.
15
15
* $COPYRIGHT$
16
16
*
17
17
* Additional copyrights may follow
@@ -370,6 +370,7 @@ opal_btl_usnic_small_send_frag_alloc(opal_btl_usnic_module_t *module)
370
370
371
371
/* this belongs in constructor... */
372
372
frag -> ssf_base .sf_base .uf_freelist = & (module -> small_send_frags );
373
+ frag -> ssf_segment .ss_send_posted = 0 ;
373
374
374
375
assert (frag );
375
376
assert (OPAL_BTL_USNIC_FRAG_SMALL_SEND == frag -> ssf_base .sf_base .uf_type );
@@ -480,6 +481,14 @@ opal_btl_usnic_frag_return(
480
481
}
481
482
}
482
483
484
+ /* Reset the "send_posted" flag on the embedded segment for small
485
+ fragments */
486
+ else if (frag -> uf_type == OPAL_BTL_USNIC_FRAG_SMALL_SEND ) {
487
+ opal_btl_usnic_small_send_frag_t * sfrag ;
488
+ sfrag = (opal_btl_usnic_small_send_frag_t * ) frag ;
489
+ sfrag -> ssf_segment .ss_send_posted = 0 ;
490
+ }
491
+
483
492
USNIC_COMPAT_FREE_LIST_RETURN (frag -> uf_freelist , & (frag -> uf_base .super ));
484
493
}
485
494
You can’t perform that action at this time.
0 commit comments