The invention discloses a communication method and device,
electronic equipment and a storage medium, and relates to the technical field of communication, the total
message length of a to-be-processed message is compared with the residual capacity of a shared
queue cache space of network equipment, if the residual capacity is smaller than the total
message length, it is indicated that the shared
queue cache space cannot store the to-be-processed message, and if the residual capacity is smaller than the total
message length, it is indicated that the to-be-processed message cannot be stored in the shared
queue cache space; and the
packet loss of the to-be-processed message occurs. A target
negative response message is generated based on the to-be-processed message,
source address information of the target
negative response message is destination address information of the to-be-processed message, the destination address information of the target
negative response message is
source address information of the to-be-processed message, and the target negative response message comprises a message sequence number of the to-be-processed message and queue pair information; and the target negative response message is sent to the sending end, so that the sending end can send the to-be-processed message again to the network equipment,
retransmission of the
remote direct memory access message after
packet loss is realized, and the transmission efficiency and reliability of the RDMA network can be improved.