[openib-general] osm_sa_mc_member_record question

Hal Rosenstock halr at voltaire.com
Sat Feb 5 05:38:15 PST 2005


Hi Eitan,

In osm_sa_mc_member_record.c, at line 1526 there is the following code
in __osm_sa_mcm_by_comp_mask_cb:

  if (IB_MCR_COMPMASK_SL & comp_mask )
    sl_flow_hop_mask = sl_flow_hop_mask | 0x000F;

  if (IB_MCR_COMPMASK_FLOW & comp_mask)
    sl_flow_hop_mask = sl_flow_hop_mask | 0x0FF0;

  if (IB_MCR_COMPMASK_HOP & comp_mask)
    sl_flow_hop_mask = sl_flow_hop_mask | 0xF000;

Shouldn't Flow Label should be 20 bits (not 8) and Hop Limit 8 bits
rather than 4 ?

Thanks.

-- Hal




More information about the general mailing list