Data switch and a method for broadcast packet queue estimation
View Patent ↗A data switch includes ingress ports associated with ingress queues ( 3 ) and egress ports associated with egress queues ( 9 ). The length of the ingress queues ( 3 ) is measured, and the level of broadcast packets arriving at the ingress ports is thereby estimated. Based on this estimate it is determined whether or not the level of broadcast packets is excessive, and in this case broadcast storm control is carried out.
1. An arrangement in a data switch having at least one ingress ports and a plurality of egress ports connected by a switching fabric, the arrangement comprising:
at least one ingress queues configured to queue data derived from data packets received at the ingress ports;
a broadcast packet estimation unit configured to determine the length of the at least one ingress queues; and
a broadcast packet control unit having a broadcast storm control mode in which the broadcast packet control unit performs a broadcast storm control operation, the broadcast packet control unit configured to operate in broadcast storm control mode if the obtained measure of the length of the at least one ingress queue rises above a first predetermined level before the data packets are queued in the at least one ingress queue, wherein the broadcast packet control unit is configured to only admit broadcast packets to the at least one ingress queue when not in broadcast storm control mode.
2. The arrangement according to claim 1 further comprising a plurality of ingress queues wherein the broadcast packet estimation unit is configured to determine the length of the at least one ingress queue as the length of the longest of the ingress queues.
3. The arrangement according to claim 2 wherein the broadcast packet control unit is configured to perform the broadcast storm control by deleting at least some of the broadcast packets.
4. The arrangement according to claim 1 wherein the broadcast packet control unit is configured to perform the broadcast storm control by deleting at least some of the broadcast packets.