一种基于队列对号的数据包转发方法、芯片及网卡

By parsing the UDP header and queue number of RDMA packets in the network card hardware, the forwarding path can be directly determined, solving the hardware dead loop problem caused by ARP errors in the multi-PCIe bus architecture and achieving efficient and reliable packet forwarding.

CN122420221APending Publication Date: 2026-07-17SHANGHAI YUNMAI XINLIAN TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHANGHAI YUNMAI XINLIAN TECH CO LTD
Filing Date
2026-06-18
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

In network interface cards with a multi-PCIe bus architecture, existing technologies cannot effectively solve the hardware dead loop problem caused by ARP errors, and lack hardware forwarding decision-making methods that do not rely on the correctness of upper-layer protocols.

Method used

By parsing the UDP header in the RDMA message, it is determined whether the UDP destination port is a RoCEv2 port. The destination queue number is extracted and stored in the hardware user-defined register. The hardware packet classifier table configuration and logical ingress port information are used to perform a precise matching table lookup to directly determine the target high-speed bus interface to which the message should be sent.

Benefits of technology

It avoids hardware deadlocks caused by incorrect destination MAC addresses, improves system usability and compatibility, reduces CPU involvement and configuration complexity, and enhances the robustness and fault isolation capabilities of the network card.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122420221A_ABST
    Figure CN122420221A_ABST
Patent Text Reader

Abstract

本发明提供了一种基于队列对号的数据包转发方法、芯片及网卡,涉及网卡技术领域,方法包括:确定UDP目的端口是否为RoCEv2端口;若UDP目的端口为RoCEv2端口,则将接收到的报文确定为远程直接数据存取报文,从报文的基传输头中提取目的队列对号,并将所述目的队列对号存入硬件用户自定义寄存器;将所述报文从包分类器表引流至硬件精确匹配表;查询所述硬件精确匹配表;根据查询结果确定所述报文应发往的目标高速总线接口,若命中则根据表项将报文转发至对应的物理功能,若未命中则丢弃所述报文或按默认端口转发;本发明避免了因目的MAC地址错误而将报文送至错误物理功能的情况,从根本上解决了硬件死循环问题。
Need to check novelty before this filing date? Find Prior Art