Hi Jim,

On 15/Apr/10 01:16, Jim Schutt wrote:
Hi Yevgeny,

On Thu, 2010-04-08 at 07:29 -0600, Yevgeny Kliteynik wrote:
Dumping SL, MTU and Rate for all the
non-switch-2-non-switch paths in the subnet.

PRs that are dumped:

   for every non-switch source port
       for every non-switch target LID in the subnet
           dump PR between source port and target LID

This way number of sources is equal to number of physical
non-switch ports in the subnet, and only number of targets
depends on LMC that is used.

Signed-off-by: Yevgeny Kliteynik<[email protected]>
---

[snip]
+               p_node = p_src_port->p_node;
+               if (p_node->node_info.node_type == IB_NODE_TYPE_SWITCH)
+                       return;

-                       return;
+                       continue;

Otherwise we stop dumping at the first switch we encounter?

Correct, thanks :)

-- Yevgeny

-- Jim



--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to