The invention is applied to the technical field of RDMA, and particularly relates to a multi-QP scheduling method of RDMA and a network card with an RDMA function. The method is used for performing scheduling
processing on a QP
queue from an RDMA network card to a host, and comprises the following steps: registering a QP with a to-be-processed working
queue element by using a
record table; the method comprises the following steps: grouping and managing QP based on a
record table, maintaining a corresponding state flag for each group, and constructing a layered progressive table structure from the QP to the group to which the QP belongs and then to the state flag of the group; on the basis of a progressive table structure,
hierarchical search is firstly performed, and then a positioning-rearrangement-positioning strategy is adopted to complete scheduling tasks of all groups in a traversing manner. By adopting the method provided by the invention, a quick and balanced scheduling effect is achieved.