发明名称 Method and apparatus for packet processing
摘要 Aspects of the disclosure provide a method for processing packet with a reduced hardware cost. The method for processing packet can include selecting a group of parameter ranges based on information contained within a packet, determining a search key based on the packet and whether a parameter of the packet is within one or more of the parameter ranges, determining a rule based on the search key corresponding to the packet and the group of parameter ranges, and executing an action that is associated with the rule on the packet. In addition, the disclosure provides an apparatus for processing packet. Further, the disclosure provides a packet switching device that can apply policy on a packet based on parameters of the packet and ranges among a group of ranges, within which a parameter of the packet belongs.
申请公布号 US8964542(B1) 申请公布日期 2015.02.24
申请号 US201314133086 申请日期 2013.12.18
申请人 Marvell Israel (M.I.S.L) Ltd. 发明人 Krivitski Denis;Arad Carmi
分类号 G01R31/06;G06F11/00;G08C15/00;H04J1/16;H04J3/14;H04L1/00;H04L12/26;H04L12/741 主分类号 G01R31/06
代理机构 代理人
主权项 1. A method for packet processing, comprising: parsing a packet by a packet parser and forwarding the parsed packet to a key constructor; mapping information contained within the parsed packet by the key constructor to parameter ranges, each parameter range including a plurality of parameter fields having upper and lower limits of the parameter range; comparing a port number with the upper and lower limits to determine whether the port number belongs to the one of the parameter ranges; determining a search key by the key constructor based on the parsed packet and whether a parameter of the parsed packet is within one or more of the parameter ranges; determining a rule based on the search key corresponding to the parsed packet and the parameter ranges, the rule including a field, wherein a position of a bit in the field is configured to indicate one of the configurations that is required by the rule; and receiving by a packet handler an unparsed packet, and executing an action that is associated with the determined rule on the unparsed packet.
地址 Yokneam IL