US 12,333,147 B2
Network interface card, controller, storage apparatus, and packet sending method
Zhaojiao Han, Shenzhen (CN); Xindong Luo, Shenzhen (CN); Jiyuan Chen, Shenzhen (CN); and Xuhui Li, Shenzhen (CN)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed by HUAWEI TECHNOLOGIES CO., LTD., Guangdong (CN)
Filed on Apr. 27, 2023, as Appl. No. 18/308,118.
Application 18/308,118 is a continuation of application No. PCT/CN2021/124792, filed on Oct. 19, 2021.
Claims priority of application No. 202011174175.6 (CN), filed on Oct. 28, 2020.
Prior Publication US 2023/0259284 A1, Aug. 17, 2023
Int. Cl. G06F 3/06 (2006.01); G06F 13/28 (2006.01); G06F 15/173 (2006.01); H04L 1/00 (2006.01); H04L 1/06 (2006.01); H04L 1/1607 (2023.01)
CPC G06F 3/0611 (2013.01) [G06F 3/0646 (2013.01); G06F 3/0683 (2013.01); G06F 13/28 (2013.01); G06F 15/17331 (2013.01); G06F 2213/3808 (2013.01)] 14 Claims
OG exemplary drawing
 
1. A network interface card, comprising:
at least one processor, configured to: in response to a doorbell signal of a controller, obtain a work queue element (WQE) from a send queue (SQ) corresponding to the controller, wherein the doorbell signal indicates that there is a to-be-sent message in a storage space to which at least one WQE points in the SQ, the WQE comprises indication information, and the indication information indicates a type of a first remote direct memory access (RDMA) packet scheduled by the WQE, wherein the type of the first RDMA packet comprises an initial packet, an intermediate packet, a tail packet, or a single packet of I/O data; and
a transceiver, configured to: when the indication information indicates that the type of the first RDMA packet is a tail packet or a single packet of I/O data, send, to a host client before the at least one processor polls an SQ of a next controller, the first RDMA packet and a second RDMA packet scheduled by a next WQE of the WQE in the SQ,
wherein the at least one processor is further configured to perform data integrity function (DIF) check on the first RDMA packet; and
the transceiver is further configured to: when the indication information indication that the type of the first RDMA packet is the trail packet or the single packet of the I/O data, and the DIF check succeeds, send, to the host client before the at least one processor polls the SQ of the next controller, the first RDMA packet and the second RDMA packet scheduled by the next WQE of the WQE in the SQ.