- 专利标题: Configuring a switch for extracting packet header fields
-
申请号: US16288074申请日: 2019-02-27
-
公开(公告)号: US11245778B1公开(公告)日: 2022-02-08
- 发明人: Patrick Bosshart
- 申请人: Barefoot Networks, Inc.
- 申请人地址: US CA Santa Clara
- 专利权人: Barefoot Networks, Inc.
- 当前专利权人: Barefoot Networks, Inc.
- 当前专利权人地址: US CA Santa Clara
- 代理机构: Compass IP Law PC
- 主分类号: H04L29/06
- IPC分类号: H04L29/06 ; H04L12/935 ; H04L12/741
摘要:
A method for generating configuration data for configuring a hardware switch is described. The method receives a description of functionality for the hardware switch. Based on the description, the method generates sets of match and action entries to configure the hardware switch to process packets. The method then determines, for each packet header field in a parse graph that specifies instructions for a parser of the switch to extract packet header fields from packets, whether the packet header field is used or modified by at least one match or action entry. The method generates for the parser of the hardware switch configuration data that instructs the parser to extract (i) packet header fields used or modified by at least one match or action entry to a first set of registers and (ii) packet header fields not used by any match or action entries to a second set of registers.
信息查询