read_of_port_desc_t function added