use CMK_IBV_PORT_ATTR_HAS_LINK_LAYER to protect use of link_layer field