Symmetric dual-slot data hash method and network switching apparatus using same
AssigneeVIA Technologies, Inc.
InventorsYeong-Chian Hu, Wei-Pin Chen
Life of this patent
Estimating the term…
Loading patent…
AssigneeVIA Technologies, Inc.
InventorsYeong-Chian Hu, Wei-Pin Chen
Estimating the term…
A symmetric dual-slot data hash method and a switching apparatus using the same having a first block and a second block of equal size for storing MAC addresses. The size of the dual-slot address table is p×2m with m is an integer, and p is 2 or a prime. The hash address comprises a higher address portion and a lower address portion. A CRC hash operation is performed to the MAC address by using the m-bit CRC function to obtain a hash value. Next, the highest bit of the hash value is removed and the remained bits are used as the lower address portion of the hash address. A dividend is set according to the m-th bit of the MAC address. After the dividend is divided by a divisor p to obtain a remainder, the remainder is set as a higher address portion of the hash address.
A symmetric dual-slot data hash method, for a symmetric dual-slot address table having a first block and a second block for storing a plurality of MAC addresses, wherein the size of the dual-slot address table is p×2m with m is an integer, and p is 2 or a prime, the method comprising steps of:
A network switching device having a plurality of ports, wherein the network switching device receives a packet from a source port among the ports, the packet comprises a SMAC address and a DMAC address, the network switching device comprising:
A symmetric dual-slot data hash method, for a symmetric dual-slot address table having a first block and a second block for storing a plurality of MAC addresses, wherein the size of the dual-slot address table is p×2m with m is an integer, and p is 2 or a prime, the method comprising steps of:
Dependencies are inferred from the claim text.