- 专利标题: Method and apparatus for managing buffering of data packet of network card, terminal and storage medium
-
申请号: US18245791申请日: 2021-09-28
-
公开(公告)号: US11777873B1公开(公告)日: 2023-10-03
- 发明人: Xu Ma
- 申请人: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
- 申请人地址: CN Jiangsu
- 专利权人: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
- 当前专利权人: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
- 当前专利权人地址: CN Jiangsu
- 代理机构: Dennemeyer & Associates LLC
- 代理商 Victoria Friedman
- 优先权: CN 2011264058.9 2020.11.12
- 国际申请: PCT/CN2021/121432 2021.09.28
- 国际公布: WO2022/100310A 2022.05.19
- 进入国家日期: 2023-03-17
- 主分类号: H04L49/901
- IPC分类号: H04L49/901 ; H04L49/9047 ; H04L47/625 ; H04L47/80
摘要:
A method and apparatus for managing buffering of data packets of a network card, a terminal and a storage medium are provided. The method includes: setting ring buffer queues, setting a length of each ring buffer queue, then setting a buffer pool formed by two ring buffer queues, and setting the two ring buffer queues in the buffer pool as a busy queue and an idle queue, respectively; a network card driver receiving data packets from a data link, classifying the data packets, sequentially buffering the classified data packets into the busy queue, and then sequentially mapping addresses of the buffered data packets in the busy queue into the idle queue; acquiring latest addresses of the buffered data packets in the busy queue; and the upper-layer application successively acquiring and processing the buffered data packets, and successively releasing the addresses of the processed buffered data packets in the busy queue.
公开/授权文献
信息查询