SYSTEM AND METHOD FOR PROVIDING PARTITIONS OF CLASSIFICATION RESOURCES IN A NETWORK DEVICE

    公开(公告)号:US20180167318A1

    公开(公告)日:2018-06-14

    申请号:US15377320

    申请日:2016-12-13

    IPC分类号: H04L12/749 H04L12/851

    摘要: In accordance with an embodiment, described herein is a system and method for partitioning classification resources in a network device in a high performance network. Classification resources can be configured into a plurality of levels of partitions, with one or more hardware-based partitions configured to store flow entries associated with frequently-used or performance-sensitive flows, and a firmware-based partition to access large lookup tables stored in one or more additional memories for classification resource scalability. A lookup key can be used for search for a flow entry match in the hardware-based partitions first. If there is a miss, the lookup key can be presented to the firmware-based partition for further search. Results from the firmware-based level can be dispatched back to a hardware-based parser for further processing. Flow entries can be moved between lookup tables by a partition management block based on utilization of the flow entries.

    SYSTEM AND METHOD FOR PROVIDING A PROGRAMMABLE PACKET CLASSIFICATION FRAMEWORK FOR USE IN A NETWORK DEVICE

    公开(公告)号:US20180167329A1

    公开(公告)日:2018-06-14

    申请号:US15377303

    申请日:2016-12-13

    摘要: In accordance with an embodiment, described herein is a system and method for providing a programmable packet classification framework for use in a network device in a high performance network. The packet classification framework can comprise a plurality of hardware-based programmable classification primitives, including a key composition primitive, a key composition rule primitive, a match action logical structure, and a next action primitive. The classification primitives can be logically strung together, with the results from one classification primitive fed into the next one until the processing of a data packet is completed. The classification framework can use a state machine to track states of the data packet processing, and dynamically adjust behaviors of the classification primitives based on the processing states of a data packet. With the programmable classification primitives, the classification framework can recursively parse data packets of a plurality of protocols without requiring any hardware changes.