A QP is created during the communication setup, and a set of initial attributes such as QP number, HCA port, destination LID, queue sizes, and transport service are supplied.
The QP associated with the HCAs in a communication is destroyed when the communication is over.