Re: [PATCH] opensm: Get correct guid in case of multiple ports

2012-01-12 Thread Alex Netes
Hi Goldwyn, On 10:02 Wed 11 Jan , Goldwyn Rodrigues wrote: Hi Alex, Let me start with how we encountered the problem: This problem came up when our customer was using a 2 port card with only one of the port active. opensm could not get the guid of the port that was active in daemon

Re: [PATCH] opensm: Get correct guid in case of multiple ports

2012-01-12 Thread Goldwyn Rodrigues
Hi Alex, On Thu, Jan 12, 2012 at 07:23:30PM +0200, Alex Netes wrote: Hi Goldwyn, On 10:02 Wed 11 Jan , Goldwyn Rodrigues wrote: Hi Alex, Let me start with how we encountered the problem: This problem came up when our customer was using a 2 port card with only one of the port

Re: [PATCH] opensm: Get correct guid in case of multiple ports

2012-01-11 Thread Goldwyn Rodrigues
Hi Alex, Let me start with how we encountered the problem: This problem came up when our customer was using a 2 port card with only one of the port active. opensm could not get the guid of the port that was active in daemon mode. On 13:36 Wed 05 Oct , Goldwyn Rodrigues wrote: In case

[PATCH] opensm: Get correct guid in case of multiple ports

2011-10-05 Thread Goldwyn Rodrigues
In case of multiple ports and running in daemon mode, the active port is not selected because opt.guid is set to INVALID_GUID in main() but the check in get_port_guid is done against zero: if (port_guid == 0) { On second thoughts, passing port_guid is worthless because this function