ibnex_str2hex
uint64_t ibnex_str2hex(char *, int, int *);
*pkey = ibnex_str2hex(srv, (temp - srv - 1), &ret);
*portnum = ibnex_str2hex(temp1, (temp2 - temp1), &ret);
*ioc_guid = ibnex_str2hex(temp, (temp1 - temp), &ret);
*iou_guid = ibnex_str2hex(temp1, len, &ret);
*pkey = ibnex_str2hex(tmp, (tmp1 - tmp), &ret);
extern uint64_t ibnex_str2hex(char *, int, int *);
pkey_val = ibnex_str2hex(pkey_str, strlen(pkey_str), &ret);
ioc_guid = ibnex_str2hex(guid_str, strlen(guid_str), &ret);
guid = ibnex_str2hex(guid_str, strlen(guid_str), &ret);
port_pkey = ibnex_str2hex(pkey_str, strlen(pkey_str), &ret);
hca_guid = ibnex_str2hex(guid_str, strlen(guid_str),
hca_guid = ibnex_str2hex(guid_str, strlen(guid_str),
hca_guid = ibnex_str2hex(guid_str, strlen(guid_str),
extern uint64_t ibnex_str2hex(char *, int, int *);