Search Images Maps Play YouTube News Gmail Drive More »
Advanced Patent Search | Page images | Web History | Sign in

Patents

  

United States Patent [i9]

Griesmer et al.

US005649109A [li] Patent Number: [45] Date of Patent:

5,649,109 Jul. 15, 1997

[54] APPARATUS AND METHOD FOR MAINTAINING FORWARDING INFORMATION IN A BRIDGE OR ROUTER USING MULTIPLE FREE QUEUES HAVING ASSOCIATED FREE SPACE SIZES

[75] Inventors: Martin Edward Griesmer, Arlington;

Parayath Gopal Krishnakumar, West
Newton; David Benson, Acton, all of
Mass.

[73] Assignee: Digital Equipment Corporation,

Maynard, Mass.

[21] Appl. No.: 965,121
[22] Filed: Oct 22,1992

[51] Int CI.6 G06F 15/16

[52] U.S. CI 395/200.17; 395/200.01;

370/241

[58] Field of Search 395/250, 200,

395/200.17, 200.01; 370/95.13

[56] References Cited

U.S. PATENT DOCUMENTS

4,074,254 2/1978 Belseretal 340/324

4,587,610 5/1986 Rodman 364/200

4,627,052 12/1986 Hoare et al 370/85.13

4,677,550 6/1987 Ferguson 364/300

4,680,700 7/1987 Hester 364/200

4,695,949 9/1987 Thatteetal 364/200

4,715,030 12/1987 Kochetal 370/85.13

4,737,953 4/1988 Kochetal 370/85.13

4,780,816 10/1988 Connefl 364/200

4,922,417 5/1990 Churmetal 364/200

4,933,937 6/1990 Konishi 370/85.13

5,027,350 6/1991 Marshall 370/85.13

5,032,987 7/1991 Broderetal 364/200

5,095,480 3/1992 Fenner 370/94.1

5,109,336 4/1992 Geuntheretal 395/425

5,121,495 6/1992 Nemes 395/600

5,136,580 8/1992 Videlock et al 370/60

5,197,002 3/1993 Spencer 364/406

5,301,273 4/1994 Konishi 395/200

5,303,302 4/1994 Burrows 380/49

5,432,907 7/1995 Picazo, Jr. et al 395/200.1

OTHER PUBLICATIONS

Concepts in data structures and software development by Schneider et al., West publishing company, pp. 134-135, 141-144.

The C programming language by Kernishan et al.. Prentice Hall publication, pp. 185-189.

System Software by Beck, Addison-Wesley publishing company, pp. 339-340.

1983, Reingold, E.M. & Hansen, W.J., Data Structures, pp. 123-155 and pp. 246-270, Little, Brown Computer Systems Series.

Primary Examiner—Parshotam S. Lall
Assistant Examiner—Zarni Maung

Attorney, Agent, or Firm—David A. Dagg; Gary E. Ross;
Arthur W. Fisher

[57] ABSTRACT

A forwarding information management system for a bridge or router is disclosed, including a method and apparatus for maintaining forwarding entries within a forwarding table. The forwarding table is allocated into forwarding entries, and the forwarding entries organized into forwarding entry sets. A set of free queues is used to manage the free space segments in the forwarding table that are not allocated into forwarding entries. Each free queue maintains pointers to free space segments of a particular size. A forwarding entry adding process creates a new forwarding entry set including a new forwarding entry, selects a non-empty free queue for free space segments large enough to hold the new forwarding entry set, and writes the new forwarding entry set one of the free space segments. Also included in the system are a forwarding entry deleting process, a learning process providing input for the forwarding entry adding process, and an aging process providing input for the forwarding entry deleting process. In an example embodiment, a hash table is used to locate the forwarding entry sets in the forwarding table. In a preferred embodiment, forwarding entries within the forwarding entry sets are organized into balanced binary trees.

11 Claims, 11 Drawing Sheets

[graphic]
[table][graphic][subsumed][table][table][merged small]
[table][merged small]
[graphic][merged small]
« PreviousContinue »