Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] "unknown" in-coming fragment in sm BTL
From: Richard Graham (rlgraham_at_[hidden])
Date: 2009-02-05 14:27:52


In the pt-2-pt code, the default case should never be hit - it would be a
bug in the code. Don't know about other uses of the sm btl.

Rich

On 2/5/09 12:30 PM, "Eugene Loh" <Eugene.Loh_at_[hidden]> wrote:

> In btl_sm_component.c, mca_btl_sm_component_progress() polls on FIFOs.
> If it gets something, it has a "switch" statement with cases for send
> fragments, returned fragments (ACKs) to be returned to the freelist, and
> default/unknown. What's that default/unknown case about? What behavior
> should it produce? What assumptions does/can it make? Is this a panic
> code path that should never be exercised? Is it all right to let this
> code path break since it should never be encountered anyhow and the
> behavior doesn't even make sense? (Someone sent me something. They
> weren't supposed to and I don't know what to do with it. So, I'm going
> to send it back to them.)
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel