摘要:
A method and apparatus for providing TCAM functionality in a custom integrated circuit (IC) is presented. An incoming key is broken into a predefined number of sub-keys. Each sub-key is sued to address a Random Access Memory (RAM), one RAM for each sub-key. An output of the RAM is collected for each sub-key, each output comprising a Partial Match Vector (PMV). The PMVs are bitwise ANDed to obtain a value which is provided to a priority encoder to obtain an index. The index is used to access a result RAM to return a result value for the key.
摘要:
A method and apparatus for branch reduction in a multithreaded packet processor is presented. An instruction is executed which includes testing of a branch flag. The branch flag references a configuration bit vector wherein each bit in the configuration bit vector corresponds to a respective feature. When said branch flag returns a first result processing is continues at an instruction located at a first location relative to a Program Counter (PC) and when the branch flag returns a second result processing is continued at a second location relative to said PC.
摘要:
A method, apparatus and computer readable medium for maintaining two variables per port member of a network device which is part of a Split Multi Link Trunk/Link Aggregation Group (SMLT/LAG) is presented. A first variable comprising a link status variable reflecting a link status, and a second variable comprising a forwarding status variable reflecting a forwarding status of a forwarding plane with respect to the port are provided, the link status variable and the forwarding status variable in a first state when the port is operating properly. A failure related to the port is detected. The link status variable is set to a second state, and the forwarding status variable is set to a second state.
摘要:
A switch resource receives control plane packets and data packets. The control plane packets indicate how to configure the network in which the switch resource resides. The switch resource includes a classifier. The classifier classifies the control plane packets based on priority and stores the control plane packets into different packet priority queues. The switch resource also includes a flow controller. The forwarding manager selectively forwards the control plane packets stored in the control plane packet priority queues to a control plane packet processing environment depending on a completion status of processing previously forwarded control plane packets by a packet processing thread. The control plane packet processing environment includes a monitor resource that generates one or more interrupts to an operating system to ensure further forwarding of the packets downstream to the packet processing thread for timely processing.
摘要:
Each switch in a switch cluster is implemented as two logical switches—a logical UNI switch and a logical NNI switch implementing a Backbone Edge Bridge (BEB). The logical UNI switch handles forwarding to UNI receivers. The logical NNI switches are treated as independent switches by the SPB control plane and handle forwarding to NNI receivers. The two logical switches exchange packets through UNI/NNI and NNI/UNI translations (Mac-in-MAC encapsulation/decapsulation). The Inter-Switch Trunk is viewed as two logical channels—a UNI logical channel and an NNI logical channel. The logical UNI switch will forward packets having NNI receivers to the logical NNI switch. The logical NNI switch will forward packets having UNI receivers to the logical UNI switch only if the packet has a B-VID matching a B-VID assigned to the node of the switch cluster.
摘要:
Control packets received at a network element are pre-classified to enable out of profile traffic to be traced to an offending port. Pre-classified control packets are metered at a desired granularity using dynamically configured meters which adjust as ports are put into service or removed from service, and as services are applied to ports. CPU metering is implemented on a per-CPU core basis, but the per-CPU meters are used to perform flow control rather than as thresholds for ejecting errant control traffic. The combination of these three aspects provides robust CPU overload protection while allowing appropriate levels of control traffic to be provided to the control plane for processing, even in the event of a control traffic burst on one or more ports of the network element.
摘要:
A network switch configures a static forwarding to a packet processor by suppressing packet switching and forwards all traffic received on a group of ports a trunk port for aggregation. A trunk header is overloaded with message classification information for use at the downstream packet processor. Routing logic retrieves the packet classification information and stores the information in control fields that are ignored due to the static forwarding and local switching disablement. The static forwarding forwards the packet, with the appended classification information, to a packet processor via the aggregation port. Packet classification information is indicative of the type of the message traffic and is performed upon packet arrival at the switching device. The packet processor reads the classification information from the overloaded control fields, rather then expending processing resources to determine the classification, and sends the message packet on an ingress port to a switching fabric for further transport.
摘要:
A switch resource receives control plane packets and data packets. The control plane packets indicate how to configure the network in which the switch resource resides. The switch resource includes a classifier. The classifier classifies the control plane packets based on priority and stores the control plane packets into different packet priority queues. The switch resource also includes a flow controller. The forwarding manager selectively forwards the control plane packets stored in the control plane packet priority queues to a control plane packet processing environment depending on a completion status of processing previously forwarded control plane packets by a packet processing thread. The control plane packet processing environment includes a monitor resource that generates one or more interrupts to an operating system to ensure further forwarding of the packets downstream to the packet processing thread for timely processing.
摘要:
A network element includes a plurality of Input/Output Cards (IOCs), a plurality of Datapath Service Cards (DSCs); and at least one crosspoint switch card (XPC) configured to be able to selectively interconnect each of the IOCs with each of the DSCs. Enabling full interconnectivity between all the IOCs and DSCs enables greater sparing options within the network element. Additionally, network element is configured to enable the XPCs to be spared, thus eliminating the XPCs as a potential single source of failure in the network element.
摘要:
A computer graphics method of and apparatus for normalizing vector-based terms for a plurality of display pixels associated with a polygon representing a surface of an object being imaged, the vector-based terms being determined from predetermined vectors at vertices of the polygon. The square (.eta.) of the magnitude of a vector associated with each vector-based term is determined for each display pixel from the predetermined vectors at the vertices of the polygon. The quantity 1/.sqroot..eta. is approximated for each vector-based term using a series expansion employing .eta., and each vector based term is multiplied by the corresponding approximation of 1/.sqroot..eta. to produce a normalized vector-based term for each display pixel.