[openib-general] [PATCH] osm_port_info_rcv.c : clear clientreregister bit

Hal Rosenstock halr at voltaire.com
Mon May 1 03:35:04 PDT 2006


On Mon, 2006-05-01 at 02:59, Ofer Gigi wrote:
> Hi Hal,
> Did you apply this one below? 

Huh ? It was committed to both trunk and 1.0 branch on Thursday AM not
very long after you originally sent it. An email response on this was
also sent direct to you as well as the list.

-- Hal

> I forgot to CC you, and as far as I can
> see it is not applied.
> 
> Thanks!
> Ofer
> 
> -----Original Message-----
> From: openib-general-bounces at openib.org
> [mailto:openib-general-bounces at openib.org] On Behalf Of Ofer Gigi
> Sent: Thursday, April 27, 2006 1:46 PM
> To: OPENIB
> Subject: [openib-general] [PATCH] osm_port_info_rcv.c : clear
> clientreregister bit
> 
> Hi Hal,
> Bug Fix:
> On receive of client reregister - clear the reregister bit - so
> reregistering won't be sent again and again
> 
> Please apply to trunk and branch.
> 
> Thanks
> 
> Ofer G.
> 
> Signed-off-by:  Ofer Gigi <oferg at mellanox.co.il>
> 
> Index: osm_port_info_rcv.c
> ===================================================================
> --- osm_port_info_rcv.c	(revision 6640)
> +++ osm_port_info_rcv.c	(working copy)
> @@ -666,6 +666,17 @@ osm_pi_rcv_process(
>    p_smp = osm_madw_get_smp_ptr( p_madw );
>    p_context = osm_madw_get_pi_context_ptr( p_madw );
>    p_pi = (ib_port_info_t*)ib_smp_get_payload_ptr( p_smp );
> +
> +  /* On receive of client reregister - clear the reregister bit - so
> +     reregistering won't be sent again and again*/
> +  if (ib_port_info_get_client_rereg(p_pi))
> +  {
> +  	osm_log( p_rcv->p_log, OSM_LOG_DEBUG,
> +             "osm_pi_rcv_process: "
> +             "client reregister received on response\n");
> +	ib_port_info_set_client_rereg(p_pi,0);
> +  }
> +
>    port_num = (uint8_t)cl_ntoh32( p_smp->attr_mod );
>  
>    port_guid = p_context->port_guid;
> 
> 
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
> 
> To unsubscribe, please visit
> http://openib.org/mailman/listinfo/openib-general




More information about the general mailing list