WO2000057263A1 - A method and system for a multi-phase net refresh on a bus bridge interconnect - Google Patents

A method and system for a multi-phase net refresh on a bus bridge interconnect Download PDF

Info

Publication number
WO2000057263A1
WO2000057263A1 PCT/US2000/007516 US0007516W WO0057263A1 WO 2000057263 A1 WO2000057263 A1 WO 2000057263A1 US 0007516 W US0007516 W US 0007516W WO 0057263 A1 WO0057263 A1 WO 0057263A1
Authority
WO
WIPO (PCT)
Prior art keywords
bus
bridge
portal
primary
bus bridge
Prior art date
Application number
PCT/US2000/007516
Other languages
French (fr)
Inventor
David V. James
Bruce Fairman
David Hunter
Dick Scheel
Original Assignee
Sony Electronics, Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Electronics, Inc. filed Critical Sony Electronics, Inc.
Priority to AU40187/00A priority Critical patent/AU4018700A/en
Publication of WO2000057263A1 publication Critical patent/WO2000057263A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40052High-speed IEEE 1394 serial bus
    • H04L12/40058Isochronous transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40052High-speed IEEE 1394 serial bus
    • H04L12/40065Bandwidth and channel allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40052High-speed IEEE 1394 serial bus
    • H04L12/40071Packet processing; Packet format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40052High-speed IEEE 1394 serial bus
    • H04L12/40078Bus configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40052High-speed IEEE 1394 serial bus
    • H04L12/40091Bus bridging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40052High-speed IEEE 1394 serial bus
    • H04L12/40117Interconnection of audio or video/imaging devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone
    • H04L12/4625Single bridge functionality, e.g. connection of two networks over a single bridge
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • H04L12/6418Hybrid transport
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/48Routing tree calculation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5038Address allocation for local use, e.g. in LAN or USB networks, or in a controller area network [CAN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5046Resolving address allocation conflicts; Testing of addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5053Lease time; Renewal aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5061Pools of addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5076Update or notification mechanisms, e.g. DynDNS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5092Address allocation by self-assignment, e.g. picking addresses at random and testing if they are already in use
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • H04L12/2821Avoiding conflicts related to the use of home appliances
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2823Reporting information sensed by appliance or service execution status of appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L2012/2847Home automation networks characterised by the type of home appliance used
    • H04L2012/2849Audio/video appliances
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/604Address structures or formats
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Definitions

  • the present invention relates generally to audio, video, and audio /video interconnected systems for home and office use.
  • the present invention relates to a multi-phase reset on a bus bridge interconnect.
  • A/N consumer electronic audio/video
  • AN/C audio /video control
  • Typical computer systems solve the bandwidth problem by increasing the bandwidth of the system bus to handle all of these forms, types and amount of data.
  • the system bus has become more clogged with information other than information directly utilized and needed by the main processor.
  • a first bus commonly referred to as a memory bus
  • a second bus is used for communications between peripheral devices such as- graphics systems, disk drives, or local area networks
  • a bus bridge is utilized to "bridge", and thereby couple, the two buses together.
  • IEEE 1394 standard serial bus implemented by IEEE Std 1394-1995, Standard For A High Performance Serial Bus, August 30, 1996 (hereinafter "IEEE 1394 standard”) and other related 1394 standards.
  • the IEEE 1394 standard is an international standard for implementing a high-speed serial bus architecture, which supports both asynchronous and isochronous format data transfers.
  • the IEEE 1394 standard defines a bus as a non-cyclic interconnect, consisting of bus bridges and nodes. W thm a non- cyclic interconnect, devices may not be connected together so as to create loops. Withm the non-cyclic interconnect, each node contains an AV/C device, and bus bridges serve to connect buses of similar or different types.
  • the primary task of a bridge is to allow data to be transferred on each bus independently without demonstrating performance of the bus, except when traffic crosses the bus bridge to reach the desired destination on the other bus.
  • the bridge is configured to understand and participate in the bus protocol of each of the buses.
  • a bus bridge may be used to interface I/O buses to the system's high-performance processor /memory bus.
  • the CPU may use a 4-byte read and write transaction to initiate DMA transfers.
  • the DMA of a serial bus node When activated, the DMA of a serial bus node generates split-response read and write transactions which are forwarded to an intermediate system backbone bus that also implements serial bus services.
  • the host-adapter bridge may have additional features mandated by differences in bus protocols. For example, the ⁇ ⁇ host bus may not directly support isochronous data transfers. Also, the host- adapter bridge may enforce security by checking and translating bridge-bound transaction addresses and may often convert uncached I/O transactions into cache-coherent host-bus transaction sequences.
  • IEEE 1394 standard serial bus Each time a new device or node is connected or disconnected from an IEEE 1394 standard serial bus, the entire bus is reset and its topology is reconfigured.
  • the IEEE 1394 standard device configuration occurs locally on the bus without the intervention of a host processor. In the reset process, three primary procedures are typically performed: bus initialization, tree identification, and self identification.
  • bus initialization In the reset process, three primary procedures are typically performed: bus initialization, tree identification, and self identification.
  • a single node must first be established as the root node during the tree identification process in order for the reconfiguration to occur.
  • a method and system for a multi-phase net refresh on a bus bridge interconnect comprising a number of nodes, a bus bridge, and a number of buses, are described.
  • a primary bus is acquired by communicating with other bus bridges on the buses.
  • a secondary bus is breached to acquire the secondary bus.
  • the primary bus and the secondary bus are committed.
  • Figure 1 is a block diagram of one embodiment for an interconnect topology
  • Figure 2 is a block diagram of a device of Figure 1;
  • Figure 3 is a block diagram of one embodiment for a 1394 standard bus bridge system
  • Figure 4 is a block diagram of one embodiment for a 1394 bus bridge topology
  • Figure 5 is a block diagram of one embodiment for a looped bus bridge topology
  • FIG. 6 is a block diagram of one embodiment for bus bridge components
  • Figure 7 is a block diagram of one embodiment for a next-neighbor ordering topology
  • Figure 8 is a block diagram of one embodiment for a portal-to-portal net refresh message path topology
  • Figure 9 is a block diagram of one embodiment for a net refresh message path topology during the addition of a node
  • Figures 10 and 11 are block diagrams of one embodiment illustrating a purging net refresh
  • Figures 12, 13, and 14 are block diagrams of one embodiment for a secondary bus reset after node detachment
  • Figure 15 is a block diagram of one embodiment for an interconnect broadcast topology
  • Figure 16 is a flow diagram of one embodiment for ordering a topology of nodes to form a ring structure
  • Figure 17 is a flow diagram of one embodiment for refreshing an interconnect topology
  • Figure 18 is a flow diagram of one embodiment for message broadcast flow control on a bus bridge interconnect.
  • Figure 19 is a flow diagram of one embodiment for a multi-phase net reset on a bus bridge interconnect.
  • a method and system for a multi-phase net refresh on a bus bridge interconnect comprising a number of nodes, a bus bridge, and a number of buses, are described.
  • a primary bus is acquired by communicating with other bus bridges on the buses.
  • a secondary bus is breached to acquire the secondarv bus.
  • the p ⁇ marv bus and the secondary bus are committed
  • FIG. 1 is a block diagram of one embodiment for an interconnect topology 100
  • server 102 is connected to a wide area network (WAN) 110 and to a bus bridge 170.
  • the bus bridge is interconnected to a number of audio, video, and/or audio/video devices, 120, 130, 140, 150, and 160.
  • the devices (120-160) are connected to bus bridge 170 via the IEEE 1394 standard serial bus Server 102 may be any device that is capable of connection to both a bus bridge 170 and wide area network 110, such as, for example, a personal computer or a set-top box
  • network 110 may be a wide area network, such as, for example, the Internet, or a proprietary network such as America Online®, CompuServe®, Microsoft Network®, or Prodigy®.
  • WAN 110 may be a television communications network.
  • Server 102 includes a network interface which communicates with WAN 110
  • Topology 100 includes high speed serial bus 180a and 180.
  • serial bus 180 is the IEEE 1394 standard serial bus.
  • Topology 100 includes various consumer electronic devices 120-160 connected via the high speed serial bus 180 to bus bridge 170.
  • the consumer electronic devices 120-160 may include, for example, a printer, additional monitor, a video camcorder, an electronic still camera, a video cassette recorder, digital speakers, a personal computer, an audio actuator, a video actuator, or any other consumer electronic device that includes a serial interface which complies with a serial interface standard for networking consumer electronic devices — for example, the IEEE 1394 standard.
  • Topology 100 may be contained withm a home or office.
  • Bus bridge 170 is used to connect devices 120-160 in which devices 120-160 may be physicallv located within different rooms of the home or office.
  • devices 120-160 may be physicallv located within different rooms of the home or office.
  • any ⁇ communication media may be used such as radio frequency (RF) communication or the like.
  • FIG 2 is a block diagram of a device 120.
  • device 120 may be a laser printer, digital camera, set-top box, or any other appropriate consumer electronic device capable of being connected via a high speed serial bus 180.
  • the device 120 includes a controller 202, memory 208, and I/O 210, all connected via bus 215.
  • Memory 208 may include, for example, read only memory (ROM), random access memory (RAM), and /or non-volatile memory.
  • I/O 210 provides connection with wide area network 110, bus bridge 170, and another peripheral device (130-160).
  • I/O 210 is a serial bus interface that complies with a serial interface standard for networking with consumer electronic devices (120- 161) and bus bridge 170 within topology 100.
  • the serial bus interface and topology 100 may use the IEEE 1394 standard serial bus.
  • I/O 210 provides for receiving signals from and transmitting signals to other consumer electronic devices (130-160) or bus bridge 170.
  • Memory 208 provides temporary storage for voice and data signal transfers between outside network 110 and topology 100.
  • memory 208 may buffer digital voice and data signals received by I/O 210 from WAN 110 before signals are transmitted onto IEEE 1394 standard bus 180.
  • Controller 202 controls various operations of device 120. Controller 202 monitors and controls the traffic through the device 120 to and from topology 100 and WAN 110.
  • Device 120 I/O 210 may have one or more physical ports.
  • a single port device discontinues the bus along the given branch of the bus, whereas devices with two or more ports allow continuation of the bus.
  • Devices with multiple ports permit a daisy chained bus topology, even though the signaling environment is point-to-point. That is, when a multi-port node receives a packet of data, the data is detached and retransmitted to the necessary port as indicated within the data.
  • the configuration is performed dynamically as new devices are attached and/or removed from bus 180.
  • the 1394 standard bus protocol is designed to support peer-to-peer transfers between devices. This allows serial bus devices to transfer data between themselves without intervention from a computer system or host system. This allows high throughput between devices without affecting the performance of the computer system. Thus, a video camera may be set up to transfer between itself and a video cassette recorder without accessing a computer system.
  • FIG 3 is a block diagram of one embodiment for a 1394 standard bridge bus system 400.
  • system 400 includes bridge 402 which connects two or more buses 408 and 410.
  • Bus 408 and 410 may be the same or different types of buses.
  • bus 408 may be a 1394 standard serial bus and bus 410 may be a different high performance bus.
  • the 1394 standard bus architecture limits the number of nodes or devices 310 on a bus 263 and supports multiple bus systems via bus bridge 402.
  • CSR control and status register
  • ISO/IEC 13213 ANSI/IEEE 1212
  • CSR Information systems-Control and Status Registers
  • Microcomputer Buses defines the 1394 standard bus addressing structure, which allows approximately 2 16 nodes (404, 406, 412-420).
  • the CSR standard defines their registry, their functionality, and, where appropriate, where they appear in the address space.
  • Figure 3 is the simplest instance of a bus topology in which the net has one bus bridge.
  • Figure 4 illustrates a net that may have more than one bus bridge and, when so structured, is hierarchical in nature.
  • Figure 5 illustrates a network whose physical topology may have loops, but whose loops are electronically disabled to generate a hierarchical structure.
  • a collection of multiple buses connected through a bus bridge is referred to as a "net”.
  • FIG 4 is a block diagram of one embodiment for a 1394 bridge bus topology 500.
  • topology 500 has one prime portal 504 and one or more alpha portals 506 and 508.
  • the primary bus 525 has exactly one prime portal 504 and the secondary buses 527, 529, 531, 533, and 535 have exactly one alpha portal each — 506, 508 and 510.
  • Each bus 525-535 may have any number of secondary portals.
  • An alpha portal is on the path to a prime portal. Any portal not a prime portal or an alpha portal is a secondary portal.
  • the prime portal or the alpha portal may be referred to as a primary portal.
  • the bridge portal with the largest portal ID identifier is elected to become the prime portal 504.
  • the bridge portal with the smallest portal ID identifier is elected to become the prime portal 504.
  • Each portal appears as a node on its attached bus.
  • the bus with the prime portal 504 is termed the primary bus 525 and other buses 527-535 are termed secondary buses. On secondary buses 527-535, the bridge portal that leads to the primary bus 525 is called the alpha portal (506, 508).
  • any node within the interconnect may be accessed by its unique 16-bit node identification address.
  • the node identification address contains the bus ID and the local ID components. Referring to Figure 4, the bus identification IDs of nodes 512-524 are indicated by the letters a, b, and c and the local ID is indicated by the numbers 0-4.
  • Alpha portal 504 is responsible for rejecting missed address asynchronous data packets by accepting these requests and returning error reporting responses.
  • the previous and current prime and alpha portal identifiers are used to classify nodes when an interconnect topology changes, and the alpha portal is the isochronous clock reference for other nodes on the bus.
  • Bus bridge topology 500 may change and be established dynamically during operation of bus bridge system 500.
  • the bus bridge topology 500 is established during net refresh.
  • portals selectively route packets.
  • Asynchronous routing tables are stable until topology 500 changes during a net refresh or net reset operation.
  • Asynchronous routing tables are dynamic and are changed by their asynchronous connect and disconnect operations of the protocols.
  • FIG. 5 is a block diagram of one embodiment for a looped bus bridge topology 600.
  • portal 606 may be added to the topology 600 forming a loop.
  • a path exists from a0-b4 through cO back to aO.
  • the redundant portal 606 is disabled so that a hierarchical bus bridge topology remains.
  • cyclical net topologies may be allowed.
  • software routines may partially activate the redundant bridge 606 and allow a shortest path routing between nodes. For example, traffic between bus a 605 and bus c 615 may be efficiently routed without introducing deadlocks.
  • FIG 6 is a block diagram of one embodiment for bus bridge components 700.
  • bus bridge components 700 are maintained within each portal in which bus "a" to bus “b” components 702 and bus “b” to bus “a” components 704 are independently maintained.
  • Components 700 also contains shared microprocessor and RAM 706.
  • Asynchronous and isochronous packet transfers may not acquire a bus at the same time. Therefore, asynchronous packets are placed in request queues 708, 720 and response queues 710, 722. The asynchronous packets are selected for transfer at times when isochronous packets are not being transferred. Isochronous packets are received and time stamped 712, 724. Time gates 718, 730 release the isochronous packets 714, 726, together with common isochronous packet (CIP) headers 716, 728, at fixed times. Routing tables select which asynchronous and isochronous packets are accepted and queued for adjacent bus delivery.
  • CIP isochronous packet
  • Topologies may share physical buffer space rather than implementing physical distinct stacks subject to the following: bus "a" to bus “b” and bus “b” to bus “a” queues operate independently, response processing is never blocked by queued requests, and asynchronous subactions and isochronous packets are forwarded independently. Topologies may block a request behind the previously queued response without generating potential deadlocks; however, requests and responses are processed independently.
  • Isochronous routing decisions are made by checking the isochronous packet's channel number. Accepted packets are converted and retransmitted on the adjacent bus with newly assigned channel numbers, speeds, and CIP-header and, when a CIP-header is provided, time-stamp parameters 716, 728 from the CIP-header CIP-headers mav be pre-appended to some isochronous packets to further describe their format and function and desired presentation time When the packets incur delays while traversing through a bridge, then presentation time must be adjusted to compensate for this delay CIP headers are defined in ISO/IEC 61883 specification Isochronous packets received in cycle n are forwarded to the adjacent bus in cycle n+k where k is an implementation dependent constant Messages may be passed around one bus or pass through a bridge by writing to a standardized message location 732, 734, 736, 738 on a bridge's portal. This allows bus-interconnect topologies to be restored while freezing, or discarding when necessary, previously queued
  • Distribution of clock-sync information 740, 742 from the primary-bus source is performed by placing calibration information m isochronous-clock pseudo queues before forwarding this information to the clock master on the adjacent portal.
  • clock-sync information flows from the primary bus downward, so that only one clock-sync pseudo queue may be required.
  • each node has two node ID addresses: physical ID address and virtual ID address.
  • a physical node ID has a 3FF 16 valued bus ID; a virtual node ID has smaller bus ID addresses
  • all nodes are accessed through their physical addresses.
  • the physical address is used to configure the node and the virtual address is normally used thereafter.
  • Directed-asynchronous routing decisions are made by checking the destination ID addresses of pass-through packets. Accepted packets are directly routed to the bridge's opposing port.
  • an asynchronous quarantine is maintained which selectively enables forwarding of a request sub-action based on the local identification of a bus-local requester.
  • a set of legacy bits identifies local nodes which requires specific processing of sourced requests and returning responses.
  • FIG. 7 is a block diagram of one embodiment for a next-neighbor ordering topology 1000.
  • topology 1000 contains a number of nodes 1002, 1004, 1006, 1008, and 1010.
  • Each node 1002-1010 is defined by a relative ring identification (ringlD) value made up of the bus identification (busID) and physical identification (phylD) portions.
  • ringlD relative ring identification
  • Each node 1002-1010 ⁇ defines its next neighbor by the relative ringlD values in which each node derives the ringlD value from the observed self identification (selflD) packets.
  • a mapping is applied to selflD (packets) m order to arrive at a phylD to ringlD mapping.
  • each node uniquely identifies itself (selflD), maps its selflD to ringlD, and uses its ringlD to communicate with its topologically adjacent node.
  • the assignment of ringlD values is based on a conceptual routing of signals through a node's ports.
  • portfa] 1022 identifies physical port
  • port[b] 1024 identifies physical port 1
  • port[c] 1020 identifies physical port 2.
  • Ports 1020-1024 have an implied internal ordering as follows: port[a].in ⁇ port[b].out 1040 port[b].m ⁇ port[c].out 1042 port[c].in — > counter — > port[a].out 1044
  • the ringlD values are assigned by logically tracing a path through other physical ports, incrementing the ringlD when logically passing through the port[a] 1022 output.
  • the bus itself defines protocols for sending selflD packets for purposes of assigning unique phylDs to each of the attached nodes. Although phylDs are guaranteed to be unique, they are not guaranteed to be the same if the bus is reset again. Thus, there is a need for defining ringlDs which do not change unless the cable topology actually changes.
  • node B 1004 determines that node C 1006 is its next neighbor
  • node C 1006 determines that node D 1008 is its next neighbor
  • node D 1008 determines that node E 1010 is its next neighbor
  • node E 1010 determines that node A 1002 is its next neighbor
  • node A 1002 determines that node B 1004 is its next neighbor.
  • the topologv rather than the physical nodes, is traced by following paths 1030, 1032, 1034, 1036, and 1038 ⁇ from a port to its next neighbor, and any node 1002-1010 may be used as the root.
  • FIG 8 is a block diagram of one embodiment for a portal-to-portal net refresh message path topology 1100.
  • a net refresh is used to assign unique busIDs to each node in the system.
  • the communication protocols for net refresh involve the sending of messages from each portal 1108, 1110, 1112 to its neighbor in a daisy-chained fashion.
  • these responseless write messages are idempotent, so that missing-ack failures may be simply and safely retried (e.g. multiple writes have the same effect as one write).
  • a net refresh is typically triggered by a bus reset. After the bus reset completes, each portal 1108, 1110, 1112 sends messages to its next neighbor, allowing messages to flow in a circular direction. Thus, the topology-dependent, root-independent portal ordering is available after bus reset. This allows each portal 1108-1112 to circulate messages by sending them in a next-neighbor ordering.
  • portal 1108 first sends a message via path 1102 to portal 1112, portal 1112 then sends a message via path 1104 to portal 1110, and finally, portal 1110 sends a message via path 1106 to portal 1108.
  • "next" means the portal with the next larger ringlD assignment.
  • a 2-bit precedence is pre-appended to the portal's 64- bit extended unique identifier (EUI) to generate a stable refresh identifier (refreshlD).
  • EUI extended unique identifier
  • the prime portal's EUI also serves as the context identifier for bridge routing tables.
  • the refreshlD allows topology 1000 to specify prime-portal preferences. To coordinate activities when resets occur on multiple buses, a prime portal is selected to coordinate the net refresh activities. In any net, the local-bus portal with the largest refreshlD is selected to become the net's prime portal.
  • a bus reset may occur when a new node is attached to the net.
  • the bus reset has the effect of invalidating the bus ID address contained within the node ID registers of local portals, which effectively isolates them from the remaining portion of the net.
  • a net refresh acquires a new bus number for the reset bus without affecting the busID addresses or routes of other portals.
  • a net refresh starts with messages sent between local bus bridge portals.
  • a prime-portal is selected to coordinate the net refresh operation.
  • Each node sends acquisition messages to its next neighbor, and these messages initially contain refreshlD (a prime-portal selection identifier).
  • Each candidate portal monitors incoming refreshlD values and changes to a subservient portal when a larger refreshlD is observed.
  • the largest refreshlD value eventually circulates to all local portals, as illustrated by Figure 8.
  • other refreshlD values may be used to determine the prime-portal.
  • the acquisition message supplies the refreshlD, as well as a bus Count and portal Count.
  • the portal Count value in the acquisition messages is incremented when passing through the portals. This ensures the eventual demise of rogue resets, by allowing them to be aged until dead. Reset messages are sent periodically, once each arbitration interval, until the net refresh completes. In the absence of continuous messages, portals time out and attempt to become prime portals.
  • the net refresh eventually forms a spanning tree by circumscribing the paths through bus bridge portals 1108-1112.
  • Each portal communicates with its adjacent neighbor by writing messages into a standardized control and status register (CSR) location.
  • CSR control and status register
  • the portal-to- portal messages flow in the direction of paths 1102, 1104, and 1106.
  • each node has a net-unique nodelD consisting of busID and locallD components.
  • a node's locallD equals its phyIDT ⁇
  • each portal has a distinctive portal identifier (portallD) that may be used to navigate through the topology.
  • a net-changed indication is broadcast to all nodes during a net refresh. As no packets are corrupted if this notification is ignored, the system is not compromised by these unconfirmed broadcast indications.
  • This event notification allows nodes to determine when bus numbers have changed or when audio/video (AV/C) controller reconnections are required. AV/C protocols are used to establish, monitor, and release isochronous connections as required.
  • the net-changed event is bus-local and is sent during net refresh. Since all portals are communicating with others during net refresh, the coordination of these bus-local resets comes out of the net-refresh sequencing. During the net refresh, each of the dominant (prime or alpha) portals is responsible for distributing the net-changed event indication to locally attached secondary portals.
  • a net refresh refers to the sequence of actions that assign busID addresses and establish the bus bridge routing tables.
  • the term net refresh is used because the effects of a net refresh on the bridge portals within the net are similar to, but less disruptive than, the effects of a bus reset on the nodes attached to the bus.
  • the net refresh maintains the previous busID assignments, bridge portal routing tables, established isochronous channels, and queued subactions.
  • a configuring net refresh (often abbreviated as configuring refresh) has the effect of assigning non-conflicting busID addresses to each of the attached buses.
  • configuring refresh occurs on the surviving portion of a severed net (assuming that a sufficient number of FREE-state busIDs remain).
  • a cleansing net refresh (often abbreviated as "cleansing refresh”) has all of the properties of a configuring refresh and (in addition) initiates the DIRTY- to-FREE recvcling of stale busIDs by setting quarantines in each bus-bridge portal. After the quarantines have been set, the portal can recycle DIRTY busIDs after a time delav J of T d.ir ,t. The T .ir ,! value is the maximum time a transaction can remain queued before parsing of the bus bridge.
  • a cleansing refresh is typically performed when the number of DIRTY busIDs exceeds the number of FREE busIDs.
  • the intent is to recvcle the DIRTY busID states, to avoid the invocation of a more disruptive purging net refresh.
  • a net refresh is also invoked on the victim portion of a severed net, to reduce the disruption of survivor subnet buses when the victim and survivor sub-nets are reconnected.
  • a purging refresh is performed when the number of desired busIDs exceeds the number of FREE busIDs. Although a cleansing refresh would eventually change busIDs from DIRTY-to-FREE, the purging refresh avoids the delay associated with the cleansing-refresh recycling process.
  • bus bridges may have previously-queued transactions with DIRTY- state busID addresses, these queues are purged. This occurs quickly and without timeout-related delays, with the disadvantage of disrupting currently-active transactions.
  • nodes communicate the parameters related to in T djrl in net refresh messages so as to compute the worst case values.
  • the maximum number of hops, N, between any requester and any responder is also computed and distributed to portals during net refresh.
  • FIG. 9 is a block diagram of one embodiment for a net refresh message path topology 1200 during the addition of a node.
  • topology 1200 consists of prime portal 1202, alpha portals 1204, 1206, 1208, primary bus 1232, secondary buses (1238, 1234, and 1236), existing nodes (1210, 1212, 1216, 1218, 1220, 1222, 1224, 1226) and a node to be attached 1214.
  • Network refresh refers to the sequence of actions that assigns bus identification addresses and establishes the bus bridge routing tables. The term refresh is used because the effects of a net refresh on the bridge portals in the net are similar to, but less destructive than, the effects of a bus reset on the nodes attached to the bus. Whenever possible, the net refresh maintains the previous bus identification assignments, bridge portal routing tables, establish isochronous channels, and queued sub-actions.
  • a net initialization established the spanning tree as described above for the topology and assigns non- conflicting busIDs.
  • net initialization may be specified: 1) net refresh, which assigns new busIDs, 2) net restart, which is a net refresh plus delayed busID recycling quarantine overhead for recently active requesters, and 3) net reset, which is a net refresh plus immediate busID recycling and transaction termination for currently active transactions.
  • each bridge portal is assumed to be aware of the bridge portal next neighbor with the next larger ringlD address as described above. In this embodiment, local daisy chain sequences are possible. For example, portal A sends messages to portal B, portal B sends messages to portal C, and portal C returns messages to portal A.
  • a net refresh may occur when a new node 214 is added to the topology 1200.
  • a net refresh configures a primary bus 1232 with one primary alpha portal 1202.
  • Other secondary buses (1238, 1234, and 1236) and one alpha portal 1204 are also configured during a net refresh.
  • Net reset is a multi-phase operation, as discussed in reference to Figures 10 and 11 below.
  • the net reset is accomplished in three stages: the acquire stage, the breach stage, and the commit stage.
  • the initial acquire and breach phases select the prime portal and detect addressing conflicts, while the final commit phase assigns busID assignments, establishes routing tables, and, when necessary, purges asynchronous bridge queues.
  • periodic acquisition messages are distributed to other bus local portals.
  • the breach phase the acquired portals sequentially extend their acquisitions to adjacent buses.
  • the prime portal sends commit messages, allowing bus numbers and routing tables to be updated.
  • node 1214 may invoke a net reset.
  • the net reset invalidates local busID assignments and all reset portals (1202, 1204, and 1206) become prime portal candidates.
  • Each reset portal 1202-1206 attempts to restore its own invalid busID addresses and disables pass-through traffic.
  • reset portals 1202-1206 may allow local traffic and some amount of pass-through traffic.
  • topology 1200 is left in a known initial state. Purging refreshes are designed to be robust and timely, which requires them to be more disruptive.
  • the process of initializing net topology 1200 involves formation of a spanning tree by circumscribing the net while passing through bus bridge portals, as illustrated in Figure 7.
  • the node with the largest refreshlD is selected to become the prime portal (in the examples of Figures 10 and 11, it is assumed that portal 1202 becomes the prime portal).
  • the prime portal's extended unique identifier (EUI) is also the basis for the contextlD that is distributed among the nodes.
  • a net refresh is assumed to be initiated by prime portal 1202.
  • a purging net refresh may be initiated by any portal. If a purging net refresh is initiated by a non prime portal, the initial net refresh messages would eventually propagate the prime portal, which (due to its larger refresh identifier) would become responsible for completing the net refresh, as discussed below.
  • FIG 10 is a block diagram of one embodiment illustrating a purging net reset of interconnect 1300.
  • a net reset may occur when a new node 1314 is attached to interconnect 1300.
  • the net reset has the effect of invalidating portals (1302, 1304, 1306, 1308) nodelD and busID addresses. This has the effect of isolating the portals from external access.
  • the net reset on interconnect 1300 is assumed to be initiated by the prime portal 1302. However, all reset bus portals (1302, 1304, 1306, 1308) may act as the prime portal, and the prime portal status is speculative and must be reconfirmed during net refresh (as described in reference to Figure 7).
  • a net reset begins with a "reset acquire" message sent between bus bridge portals 1302-1308. The first of these messages is sent from prime portal 1302 and. circulates through secondary portals 1304 and 1306 on the primary bus 1342. The message paths are indicated by hash lines 1330, 1332, and 1334, beginning at prime portal 1302.
  • portallD values in the net reset packets are incremented when passing through the not yet enumerated bus bridge portals (1302-1308). This ensures the eventual demise of rogue resets by allowing them to be "aged until dead.”
  • reset messages are sent periodically, once each arbitration interval, until the net refresh completes. In the absence of a prime portal's resets, other portals may timeout and attempt to become prime portals.
  • Candidate portals (1302-1308) recognize their loss (i.e., not the prime portal) when higher precedence acquire messages are observed, whereupon the portals forward the messages to other portals (next neighbor).
  • prime portal 1302 sends a message via 1330 to portal 1304 to acquire bus 1342.
  • the message is passed from portal 1304 via 1332 to portal 1306 and from portal 1306 via 1334 to portal 1302. Once the acquire message returns to portal 1302, portal 1302 acquires its own bus 1342.
  • the prime portal transmits a breach message as illustrated in Figure 11.
  • Prime portal 1402 transmits a breach message via path 1430 to portal 1404.
  • the receipt of a breach message by portal 1404 causes portal 1404 to breach onto adjacent bus 1444.
  • the breach commands trigger sequential acquisitions of adjacent buses.
  • the reset breach message initiates the acquisition of the first remote bus 1444 as indicated by paths 1432, 1434, and 1436.
  • breach packets are sent to initiate a remote bus acquisition.
  • the next portal on the adjacent bus observes the returning reset acquire indication and propagates a reset breach indication to its adjacent bus. That reset acquire circulates and acquires the third bus and subsequent portals.
  • portal 1404 breaches 1408 to acquire bus 1446.
  • the breach messages eventually circulate through all remote buses.
  • the breach messages may reach leaf buses (a leaf bus has no other attached portals) or may" close in on themselves when they pass through a bus bridge and discover that the adjacent portal has been acquired by the same candidate portal.
  • the breach messages establish tentative busID assignments and routes; however, these are not activated until the final commit phase.
  • the breach packets avoid previously acquired buses.
  • the commit phase begins after the breach packets return bridge routing tables to the initiating prime portal 1402. During the commit phase, the bridge routing tables are updated and the busID assignments are finalized. The commit phase changes the bus bridge paths and opens closed bridges. During the commit phase, all portals receive assignments and routing information. After the commit phase is complete, all blocked portals are released and traffic may commence. Commit packets are sent, initiating the prime portal 1402 and traversing the interconnect topology 1400. The commit completes when the commit packets return to the prime portal 1402. Normal operation of the net is possible at this time, as the sending of the commit messages stops and the bridges become operational.
  • Figures 12, 13, and 14 are block diagrams of one embodiment for a secondary bus reset after node detachment.
  • Figure 12 is a block diagram illustrating the subnet 1500 prior to this connection.
  • subnet 1500 consists of prime portal 1502 and secondary alpha portal 1504.
  • Two subnets may be disconnected during operation of the interconnect by, for example, pulling a cable or detaching a bridge portal.
  • one subnet is referred to as the survivor subnet and one is referred to as the victim subnet.
  • both subnets at the disconnection point receive new busIDs.
  • new busIDs are assigned withm the victim subnet 1660.
  • a new busID is assigned to the merged reset bus, as illustrated in Figure 14.
  • new busID F is assigned to the merged bus 1732 and a new busID G is assigned to bus 1734 m the previous victim subnet 1660. Because busIDs B, C, and D were marked as invalid in the prior disconnection, these busIDs are no longer used.
  • the assigned busID of E that was used in Figure 13 to indicate the disconnection is also not used during the reconnection process.
  • a new busID F is assigned to the merged, rejoined bus 1732.
  • the survivor subnet 1650 has an unchanged prime portal 1702 identifier (a m the example) and other survivor buses keep their assigned busID addresses.
  • the victim subnet 1660 has a changed prime portal 1704 identifier and other victim buses are assigned new busID addresses, as required.
  • FIGS 12, 13, and 14 illustrate one embodiment of a configuring net refresh.
  • a configuring net refresh has the effect of assigning non-conflicting busID addresses to each of the attached buses. When busIDs conflict, either with the currently assigned busID or a dirty, (that is, previously assigned) busID, new free busIDs are assigned.
  • a cleansing net refresh is similar to a configuring net refresh as the recycling of "dirty" to "free” of stale busIDs by setting quarantines in each bus bridge portal. After the quarantines have been set, the portal may recycle dirty
  • a cleansing net refresh is performed when the number of dirty busIDs exceeds the number of free busIDs within the busID tables.
  • the cleansing net refresh recycles the dirty busID stage to avoid the invocation of more disruptive purging net refresh.
  • a cleansing net refresh is also invoked on a victim portion of the subnet to reduce the disruption of survivor subnet buses when the victim and survivor subnets are reconnected.
  • a purging refresh is performed when the number of desired busIDs exceeds the number of free busIDs.
  • the cleansing refresh would eventually change busIDs from dirty to free, the purging refresh avoids the delay associated with the cleansing refresh recycling process.
  • bus bridges may have previously queued (stale) transactions with dirty busID addresses, these queues are purged during a purging net refresh. This occurs quickly without timeout related delays. However, a purging net refresh disrupts currently active transactions.
  • the prime portal may determine which portals are on the victim or survivor sub-net.
  • the sub-net which contains the prime portal is the survivor subnet.
  • the sub-net which acquires a new prime portal is called the victim subnet.
  • the prime portal is defined as the portal with the largest refreshlD.
  • the refreshlD is determined by attaching a two bit preference to the EUI of the portals and using this value to determine the prime portal.
  • the "EUI plus preference" value is transmitted with the net refresh messages from next neighbor to next neighbor and each portal votes on the refreshlD value.
  • the portal with the largest refreshlD value is used as the prime portal.
  • the portal with the smallest refreshlD value may be used as the prime portal.
  • any manner of comparison or arithmetic ordering of EUI values may be used to determine a unique node such as the smallest bit-reversed EUI value or the node with the largest portal ID value.
  • the EUI plus preference value is passed through the interconnect.
  • This scheme has two purposes: 1) identify the prime portal to other portals; and (2) allow the prime portal to determine when all others have observed its messages, because only then do the messages return to the prime portal.
  • FIG. 15 is a block diagram of one embodiment for an interconnect broadcast topology 1800.
  • a broadcast message may be used after busIDs have changed, for example, when one or more nodes may have been removed, one or more nodes may have been added or the nodelDs have changed within the interconnect.
  • the broadcast is implemented as two-phase process: first, portals communicate between themselves using directed messages, as described herein, and, second, one of the portals, typically the alpha portal, uses a broadcast transaction to communicate the event to other bus-local nodes.
  • the IEEE 1394 standard serial bus defines mechanisms for bus local broadcast but has no provisions for flow controlling these writes based on remote bus loading.
  • a bus bridge portal may receive more broadcasts than it can source on an adjacent bus, and some will be discarded. Thus, there is no assurance that normal broadcast transactions can be successfully forwarded through remote buses.
  • any node (1810-1826) may initiate a broadcast message by writing that message to its bus local portal (1802-1808).
  • the bus local portal (1802-1802) forwards this message to the next portal (next neighbor as described in reference to Figure 7).
  • the next neighbor then passes the message to its next neighbor.
  • the message passing continues from one portal to the next until the message returns to its initial portal, where it is removed.
  • prime portal 1802 receives a broadcast from one of its nodes (1816, 1818)
  • the broadcast message is passed to its next neighbor, portal 1804.
  • Portal 1804 then broadcasts the message to portal 1808, which broadcasts the message to portal 1806, which broadcasts the message to portal 1802. Once portal 1802 receives its own broadcast message, the message is removed and dropped.
  • Each broadcast message generates a broadcast write transaction when it enters a bus through the dominant portal, ensuring one and only one broadcast on each bus.
  • the broadcast messages are implemented as a sequence of directed-write transactions, in which each transaction may be flow controlled. Thus, the broadcast messages are flow controlled and need not be discarded on congested bridges. In addition, the completion of a broadcast message is confirmed when it returns to the initiating portal, and broadcast messages may be used to establish routing paths within the interconnect.
  • Broadcast messages are designed to be idempotent, so that they may be safely retired once they are returned to the initiating portal.
  • bus bridge portals maintain a copy of the previously received message, discarding the second and following copies after accepting the first.
  • the broadcast message writes are acknowledged, but no response is returned to the sending portal. Because there are no responses that must be distinctly labeled, this allows an identical transaction to be safely and immediately reused after a short acknowledge-missing delay.
  • one portal in the circular list of portals receives the message in a logical request queue and outputs the message to the next portal on a second logical response queue. Deadlock is avoided by mandating that request queue messages never block the processing of response queue messages.
  • a broadcast message may trigger the return of information from multiple nodes.
  • This form of broadcast trigger /collection is referred to as "broadcall" in the backplane environment.
  • ARP address resolution protocol
  • the information received from multiple nodes may be triggered by supplying the EUI of the portal or node as the broadcast message is passed along.
  • information is appended to the broadcast message as it passes through each portal and finally returns to the initiating portal.
  • the information may be maintained in tables within the portal for later use.
  • FIG 16 is a flow diagram of one embodiment for ordering a topology of nodes to form a ring structure.
  • a self identification process is initialized.
  • the self identification process may be initialized by any node within the topology.
  • Each node sends a self identification grant (selflD grant) to all nodes, beginning with a connected node with the lowest numbered identification.
  • the connected node numbering is based upon the port numbers defined during bus initialization.
  • the topology is traversed by conceptually routing message packets (ringlD packets) to at least one physical port of each of the nodes in the topology.
  • ringlD packets message packets
  • each node determines the ringlD of its topologically adjacent neighbor. Each node begins with its own ringlD equal to zero on its own port 1022 output. Each node monitors ringlD packet transmissions and keeps track of its own ringlD.
  • a node the self identifier (selflD) is mapped in order to arrive at a phylD to ringlD mapping.
  • Each node is defined by a relative ring identification (ringlD) value made up of the bus identification (busID) and physical identification (phylD) portions.
  • each node saves the phylD of its topologically adjacent neighbor node (with the next larger ringlD).
  • Each node saves only its own ringlD and the ringlD of its adjacent neighbor.
  • each node knows its topologically adjacent neighbor and is able to forward any packets or messages from itself to its next neighbor within the topology.
  • Figure 17 is a flow diagram of one embodiment for refreshing an interconnect topology.
  • the interconnect topology comprises a number of nodes and a number of bus bridges.
  • a next neighbor ordering of the interconnect topology is determined as described in reference to Figure 16.
  • an acquisition message is sent from a node to its next neighbor node
  • each node sends the acquisition — message to its next neighbor and these messages initially contain a prime portal selection identifier (refreshlD)
  • the prime portal selection identifier contains a bus count and a portal count The portal count value in the acquisition message is incremented when passing through each bus bridge.
  • a prime portal is selected from a number of bus bridges on the interconnect.
  • Each bus bridge monitors the refreshlD. If the refreshlD of the current bus bridge is larger than the incoming refreshlD, then the bus bridge overrides the refreshlD with its own refreshlD The current bridge passes the new refreshlD to its own next neighbor After the refreshlD is passed throughout the topology, the bus bridge with the largest refreshlD is selected as the prime portal.
  • a spanning tree of the interconnect is generated.
  • the spanning tree is generated by circumscribing a path from the prime portal through the bus bridges in a daisy-chain manner from next neighbor to next neighbor.
  • Figure 18 is a flow diagram of one embodiment for message broadcast flow control on a bus bridge interconnect. Initially at processing block 2105, a next neighbor bus bridge topology is determined as described m reference to Figure 16.
  • a broadcast message is initiated by an initiating node at an initiating bus bridge.
  • the broadcast message is initiated by the initiating node sending the broadcast message to its own local bus bridge.
  • Each broadcast message generates a broadcast write transaction when it enters a bus through its own bus bridge. This ensures that only one broadcast message is on each bus at a given time.
  • the broadcast messages are implemented as a sequence of directed write transactions in which each transaction may be flow controlled. Thus the broadcast messages are flow controlled and need not be discarded on congested bridges.
  • the broadcast message is forwarded to a next neighbor bus bridge.
  • Next neighbor processing is described in reference to ⁇ Figure 7.
  • the next neighbor bus bridge then passes the broadcast message to its own next neighbor.
  • the message passage continues from one bus bridge to the next until the message returns to its initial bus bridge.
  • each bus bridge maintains a copy of the received broadcast message and discards a second or subsequent copy of the broadcast message as each is received. All but one bus bridge that receives the broadcast message into a logical request queue sends that message to its adjacent neighbor's request queue; similarly, messages received in the response queue are sent to the adjacent neighbor's response queue.
  • One of the bus bridges takes its received request messages and sends them to the adjacent neighbor's response queue; similarly, messages received in the response queue are discarded. This ensures that the broadcast messages pass through all portals, in a non-deadlocking fashion, before being discarded.
  • the forwarded broadcast message is received back at the initiating bus bridge.
  • the message is removed from the system.
  • each bus bridge appends its own extended unique identifier (EUI) to the broadcast message.
  • EUI extended unique identifier
  • the broadcast message is transferred, with the appended EUI, to the next neighbor and finally returns to the initiating bus bridge.
  • the initiating bus bridge saves the EUI information of all of the interconnect portals.
  • FIG 19 is a flow diagram of one embodiment for a multi-phase net reset on a bus bridge interconnect. Initially, at processing block 2205, bus bridge identifiers are refreshed, as described in reference to Figure 18.
  • a net reset is initiated.
  • the net reset may be initiated by removing a node or subnet of the interconnect or adding a node or subnet to the interconnect.
  • a primary bus is acquired.
  • the primary bus may be the bus on which the rest is initiated.
  • a bus bridge initially sends a reset acquire message to its next neighbor bus bridge
  • Next neighbor topologies are described in reference to Figure 7
  • the first of these ⁇ messages is sent from the prime portal and circulates through secondary portals on the primary bus
  • each bus bridges receives the acquire message, it determines whether it is a candidate for being the prime portal
  • the best prime portal candidate is determined by the highest EUI on the primary bus.
  • the prime portal is determined.
  • the acquisition of the primary bus completes when the acquire message of the candidate (initiating bus bridge) returns to the portal with the highest EUI
  • the prime portal transmits a breach message to its next neighbor.
  • the receipt of the breach message by the receiving portal causes the portal to breach onto an adjacent bus.
  • the breach commands trigger sequential acquisitions of each adjacent bus.
  • the reset breach message initiated by the initiating bus bridge causes the acquisition of the first remote bus.
  • the prime portal acquires all buses adjacent to itself by sending breach messages to each of the attached bus bridges
  • the next portal on the adjacent bus observes the returning reset acquire indication and propagates a reset breach indication to its adjacent bus. That reset circulates and acquires the subsequent buses.
  • the breach messages eventually circulate through all remote buses.
  • the breach messages establish tentative busID assignments and routes. However, these tentative assignments are not activated until the commit phase, as discussed below.
  • the breach packets avoid previously acquired buses.
  • all bus acquisitions complete when the breach message returns to the initiating bus bridge portal.
  • the addresses that may be reclaimed, which addresses are free, and how many nodes are trying to claim free addresses are all known.
  • the commit phase of new bus identifier assignments is performed. Breach packets return bridge routing tables to the prime portal. During the commit phase, the bridge routing tables are updated and the busID assignments are finalized. The commit phase changes the bus bridge paths and opens closed bridges. During the commit phase, all portals ⁇ receive assignments and routing information. Commit packets are sent initiating the prime portal and traverse the interconnect topology. The commit completes when the commit packets return to the prime portal. Normal operation of the net is possible at this time, as the sending of the commit messages stops and the bridges become operational.

Abstract

A method and system for a multi-phase net refresh on a bus bridge interconnect, the interconnect comprising a number of nodes, a bus bridge, and a number of buses, are described. In one embodiment, a primary bus is acquired by communicating with other bus bridges on the buses (2215). A secondary bus is breached to acquire the secondary bus (2220). In addition, the primary bus and the secondary bus are committed (2225).

Description

A METHOD AND SYSTEM FOR A MULTI-PHASE NET REFRESH ON A BUS
BRIDGE INTERCONNECT
This application claims benefit of U.S. Provisional Applications No. 60/125,321 filed March 19, 1999; No. 60/130,698 filed April 23, 1999; No. 60/137,916 filed June 6, 1999; No. 60/144,101 filed July 16, 1999; No. 60/150,393 filed August 23, 1999; No. 60/155,305 filed September 21, 1999; No. 60/158,722 filed October 11, 1999; No. 60/167,958 filed November 29, 1999; No. xx/xxx,xxx filed December 15, 1999; and No. xx/xxx,xxx filed January 19, 2000.
FIELD OF THE INVENTION The present invention relates generally to audio, video, and audio /video interconnected systems for home and office use. In particular, the present invention relates to a multi-phase reset on a bus bridge interconnect.
BACKGROUND OF THE INVENTION With the development of consumer electronic audio/video (A/N) equipment, and the advance of digital A/N applications, such as consumer A/N device control and signal routing and home networking, various types of data in various formats can now be transferred among several audio /video control (AN/C) devices via one digital bus system. However, many current systems do not have sufficient bandwidth resources to transfer and display all the different types of data at the same time.
Typical computer systems solve the bandwidth problem by increasing the bandwidth of the system bus to handle all of these forms, types and amount of data. As a result, as users request more types of information, such as in multimedia applications, the system bus has become more clogged with information other than information directly utilized and needed by the main processor.
Many computer systems incorporate at least two buses. A first bus, commonly referred to as a memory bus, is typically used for communications between a central processor and a main memory A second bus, known as a peripheral bus, is used for communications between peripheral devices such as- graphics systems, disk drives, or local area networks To allow data transfers between these two buses, a bus bridge is utilized to "bridge", and thereby couple, the two buses together.
One example of a high-speed bus system for interconnecting A/N nodes, configured as a digital interface used to transport commands and data among interconnecting audio/video control (AV/C) devices, is the IEEE 1394 standard serial bus implemented by IEEE Std 1394-1995, Standard For A High Performance Serial Bus, August 30, 1996 (hereinafter "IEEE 1394 standard") and other related 1394 standards.
The IEEE 1394 standard is an international standard for implementing a high-speed serial bus architecture, which supports both asynchronous and isochronous format data transfers. The IEEE 1394 standard defines a bus as a non-cyclic interconnect, consisting of bus bridges and nodes. W thm a non- cyclic interconnect, devices may not be connected together so as to create loops. Withm the non-cyclic interconnect, each node contains an AV/C device, and bus bridges serve to connect buses of similar or different types.
The primary task of a bridge is to allow data to be transferred on each bus independently without demonstrating performance of the bus, except when traffic crosses the bus bridge to reach the desired destination on the other bus. To perform this function, the bridge is configured to understand and participate in the bus protocol of each of the buses.
Multi-bus systems are known to adequately handle large amounts of information. However, communication between buses and devices on different buses is difficult. Typically, a bus bridge may be used to interface I/O buses to the system's high-performance processor /memory bus. With such I/O bridges, the CPU may use a 4-byte read and write transaction to initiate DMA transfers. When activated, the DMA of a serial bus node generates split-response read and write transactions which are forwarded to an intermediate system backbone bus that also implements serial bus services. Depending on the host system design, the host-adapter bridge may have additional features mandated by differences in bus protocols. For example, the~~ host bus may not directly support isochronous data transfers. Also, the host- adapter bridge may enforce security by checking and translating bridge-bound transaction addresses and may often convert uncached I/O transactions into cache-coherent host-bus transaction sequences.
Each time a new device or node is connected or disconnected from an IEEE 1394 standard serial bus, the entire bus is reset and its topology is reconfigured. The IEEE 1394 standard device configuration occurs locally on the bus without the intervention of a host processor. In the reset process, three primary procedures are typically performed: bus initialization, tree identification, and self identification. Within the IEEE 1394 standard, a single node must first be established as the root node during the tree identification process in order for the reconfiguration to occur.
SUMMARY OF THE INVENTION A method and system for a multi-phase net refresh on a bus bridge interconnect, the interconnect comprising a number of nodes, a bus bridge, and a number of buses, are described. In one embodiment, a primary bus is acquired by communicating with other bus bridges on the buses. A secondary bus is breached to acquire the secondary bus. In addition, the primary bus and the secondary bus are committed.
BRIEF DESCRIPTION OF THE DRAWINGS
Features and advantages of the present invention will be apparent to one skilled in the art in light of the following detailed description in which:
Figure 1 is a block diagram of one embodiment for an interconnect topology;
Figure 2 is a block diagram of a device of Figure 1;
Figure 3 is a block diagram of one embodiment for a 1394 standard bus bridge system; Figure 4 is a block diagram of one embodiment for a 1394 bus bridge topology; ~~
Figure 5 is a block diagram of one embodiment for a looped bus bridge topology;
Figure 6 is a block diagram of one embodiment for bus bridge components;
Figure 7 is a block diagram of one embodiment for a next-neighbor ordering topology;
Figure 8 is a block diagram of one embodiment for a portal-to-portal net refresh message path topology;
Figure 9 is a block diagram of one embodiment for a net refresh message path topology during the addition of a node;
Figures 10 and 11 are block diagrams of one embodiment illustrating a purging net refresh;
Figures 12, 13, and 14 are block diagrams of one embodiment for a secondary bus reset after node detachment;
Figure 15 is a block diagram of one embodiment for an interconnect broadcast topology;
Figure 16 is a flow diagram of one embodiment for ordering a topology of nodes to form a ring structure;
Figure 17 is a flow diagram of one embodiment for refreshing an interconnect topology;
Figure 18 is a flow diagram of one embodiment for message broadcast flow control on a bus bridge interconnect; and
Figure 19 is a flow diagram of one embodiment for a multi-phase net reset on a bus bridge interconnect.
DETAILED DESCRIPTION A method and system for a multi-phase net refresh on a bus bridge interconnect, the interconnect comprising a number of nodes, a bus bridge, and a number of buses, are described. In one embodiment, a primary bus is acquired by communicating with other bus bridges on the buses. A secondary bus is breached to acquire the secondarv bus In addition, the pπmarv bus and the secondary bus are committed
In the following detailed description of the present invention, numerous specific details are set forth in order to provide a thorough understanding of the present invention However, it will be apparent to one skilled in the art that the present invention may be practiced without these specific details. In some instances, well-known structures and devices are shown m block diagram form, rather than m detail, m order to avoid obscuring the present invention
Figure 1 is a block diagram of one embodiment for an interconnect topology 100 Referring to Figure 1, server 102 is connected to a wide area network (WAN) 110 and to a bus bridge 170. The bus bridge is interconnected to a number of audio, video, and/or audio/video devices, 120, 130, 140, 150, and 160. In one embodiment, the devices (120-160) are connected to bus bridge 170 via the IEEE 1394 standard serial bus Server 102 may be any device that is capable of connection to both a bus bridge 170 and wide area network 110, such as, for example, a personal computer or a set-top box In one embodiment, network 110 may be a wide area network, such as, for example, the Internet, or a proprietary network such as America Online®, CompuServe®, Microsoft Network®, or Prodigy®. In addition, WAN 110 may be a television communications network. Server 102 includes a network interface which communicates with WAN 110
Topology 100 includes high speed serial bus 180a and 180. In one embodiment, serial bus 180 is the IEEE 1394 standard serial bus. Topology 100 includes various consumer electronic devices 120-160 connected via the high speed serial bus 180 to bus bridge 170. The consumer electronic devices 120-160 may include, for example, a printer, additional monitor, a video camcorder, an electronic still camera, a video cassette recorder, digital speakers, a personal computer, an audio actuator, a video actuator, or any other consumer electronic device that includes a serial interface which complies with a serial interface standard for networking consumer electronic devices — for example, the IEEE 1394 standard. Topology 100 may be contained withm a home or office. Bus bridge 170 is used to connect devices 120-160 in which devices 120-160 may be physicallv located within different rooms of the home or office. Although the original IEEE bus standard is designed for use with a cable interconnect, any ~~ communication media may be used such as radio frequency (RF) communication or the like.
Figure 2 is a block diagram of a device 120. Referring to Figure 2, device 120 may be a laser printer, digital camera, set-top box, or any other appropriate consumer electronic device capable of being connected via a high speed serial bus 180. In one embodiment, the device 120 includes a controller 202, memory 208, and I/O 210, all connected via bus 215. Memory 208 may include, for example, read only memory (ROM), random access memory (RAM), and /or non-volatile memory. I/O 210 provides connection with wide area network 110, bus bridge 170, and another peripheral device (130-160).
In one embodiment, I/O 210 is a serial bus interface that complies with a serial interface standard for networking with consumer electronic devices (120- 161) and bus bridge 170 within topology 100. For example, the serial bus interface and topology 100 may use the IEEE 1394 standard serial bus. I/O 210 provides for receiving signals from and transmitting signals to other consumer electronic devices (130-160) or bus bridge 170.
Memory 208 provides temporary storage for voice and data signal transfers between outside network 110 and topology 100. In addition, memory 208 may buffer digital voice and data signals received by I/O 210 from WAN 110 before signals are transmitted onto IEEE 1394 standard bus 180.
Controller 202 controls various operations of device 120. Controller 202 monitors and controls the traffic through the device 120 to and from topology 100 and WAN 110.
Device 120 I/O 210 may have one or more physical ports. A single port device discontinues the bus along the given branch of the bus, whereas devices with two or more ports allow continuation of the bus. Devices with multiple ports permit a daisy chained bus topology, even though the signaling environment is point-to-point. That is, when a multi-port node receives a packet of data, the data is detached and retransmitted to the necessary port as indicated within the data. The configuration is performed dynamically as new devices are attached and/or removed from bus 180.
The 1394 standard bus protocol is designed to support peer-to-peer transfers between devices. This allows serial bus devices to transfer data between themselves without intervention from a computer system or host system. This allows high throughput between devices without affecting the performance of the computer system. Thus, a video camera may be set up to transfer between itself and a video cassette recorder without accessing a computer system.
Figure 3 is a block diagram of one embodiment for a 1394 standard bridge bus system 400. Referring to Figure 3, system 400 includes bridge 402 which connects two or more buses 408 and 410. Bus 408 and 410 may be the same or different types of buses. For example, bus 408 may be a 1394 standard serial bus and bus 410 may be a different high performance bus. The 1394 standard bus architecture limits the number of nodes or devices 310 on a bus 263 and supports multiple bus systems via bus bridge 402.
The control and status register (CSR) architecture, ISO/IEC 13213 (ANSI/IEEE 1212), Information systems-Control and Status Registers (CSR) Architecture Microcomputer Buses, defines the 1394 standard bus addressing structure, which allows approximately 216 nodes (404, 406, 412-420). The CSR standard defines their registry, their functionality, and, where appropriate, where they appear in the address space.
Figure 3 is the simplest instance of a bus topology in which the net has one bus bridge. Figure 4 illustrates a net that may have more than one bus bridge and, when so structured, is hierarchical in nature. Figure 5 illustrates a network whose physical topology may have loops, but whose loops are electronically disabled to generate a hierarchical structure. In the description that follows, a collection of multiple buses connected through a bus bridge is referred to as a "net".
Figure 4 is a block diagram of one embodiment for a 1394 bridge bus topology 500. Referring to Figure 4, topology 500 has one prime portal 504 and one or more alpha portals 506 and 508. The primary bus 525 has exactly one prime portal 504 and the secondary buses 527, 529, 531, 533, and 535 have exactly one alpha portal each — 506, 508 and 510. Each bus 525-535 may have any number of secondary portals. An alpha portal is on the path to a prime portal. Any portal not a prime portal or an alpha portal is a secondary portal. The prime portal or the alpha portal may be referred to as a primary portal.
Within an interconnect topology 500, the bridge portal with the largest portal ID identifier is elected to become the prime portal 504. In an alternate embodiment, the bridge portal with the smallest portal ID identifier is elected to become the prime portal 504. Each portal appears as a node on its attached bus. The bus with the prime portal 504 is termed the primary bus 525 and other buses 527-535 are termed secondary buses. On secondary buses 527-535, the bridge portal that leads to the primary bus 525 is called the alpha portal (506, 508). After a bridge bus interconnect is configured, any node within the interconnect may be accessed by its unique 16-bit node identification address. The node identification address contains the bus ID and the local ID components. Referring to Figure 4, the bus identification IDs of nodes 512-524 are indicated by the letters a, b, and c and the local ID is indicated by the numbers 0-4.
Alpha portal 504 is responsible for rejecting missed address asynchronous data packets by accepting these requests and returning error reporting responses. The previous and current prime and alpha portal identifiers are used to classify nodes when an interconnect topology changes, and the alpha portal is the isochronous clock reference for other nodes on the bus.
Bus bridge topology 500 may change and be established dynamically during operation of bus bridge system 500. In one embodiment, the bus bridge topology 500 is established during net refresh. Within topology 500, portals selectively route packets. Asynchronous routing tables are stable until topology 500 changes during a net refresh or net reset operation. Asynchronous routing tables are dynamic and are changed by their asynchronous connect and disconnect operations of the protocols.
Figure 5 is a block diagram of one embodiment for a looped bus bridge topology 600. Referring to Figure 5, during node 300 addition, portal 606 may be added to the topology 600 forming a loop. Thus, a path exists from a0-b4 through cO back to aO. During initialization, the redundant portal 606 is disabled so that a hierarchical bus bridge topology remains. ~~
In an alternate embodiment, cyclical net topologies may be allowed. In this alternate embodiment, software routines may partially activate the redundant bridge 606 and allow a shortest path routing between nodes. For example, traffic between bus a 605 and bus c 615 may be efficiently routed without introducing deadlocks.
Figure 6 is a block diagram of one embodiment for bus bridge components 700. Referring to Figure 6, bus bridge components 700 are maintained within each portal in which bus "a" to bus "b" components 702 and bus "b" to bus "a" components 704 are independently maintained. Components 700 also contains shared microprocessor and RAM 706.
Asynchronous and isochronous packet transfers may not acquire a bus at the same time. Therefore, asynchronous packets are placed in request queues 708, 720 and response queues 710, 722. The asynchronous packets are selected for transfer at times when isochronous packets are not being transferred. Isochronous packets are received and time stamped 712, 724. Time gates 718, 730 release the isochronous packets 714, 726, together with common isochronous packet (CIP) headers 716, 728, at fixed times. Routing tables select which asynchronous and isochronous packets are accepted and queued for adjacent bus delivery.
Topologies may share physical buffer space rather than implementing physical distinct stacks subject to the following: bus "a" to bus "b" and bus "b" to bus "a" queues operate independently, response processing is never blocked by queued requests, and asynchronous subactions and isochronous packets are forwarded independently. Topologies may block a request behind the previously queued response without generating potential deadlocks; however, requests and responses are processed independently.
Isochronous routing decisions are made by checking the isochronous packet's channel number. Accepted packets are converted and retransmitted on the adjacent bus with newly assigned channel numbers, speeds, and CIP-header and, when a CIP-header is provided, time-stamp parameters 716, 728 from the CIP-header CIP-headers mav be pre-appended to some isochronous packets to further describe their format and function and desired presentation time When the packets incur delays while traversing through a bridge, then presentation time must be adjusted to compensate for this delay CIP headers are defined in ISO/IEC 61883 specification Isochronous packets received in cycle n are forwarded to the adjacent bus in cycle n+k where k is an implementation dependent constant Messages may be passed around one bus or pass through a bridge by writing to a standardized message location 732, 734, 736, 738 on a bridge's portal. This allows bus-interconnect topologies to be restored while freezing, or discarding when necessary, previously queued subactions
Distribution of clock-sync information 740, 742 from the primary-bus source is performed by placing calibration information m isochronous-clock pseudo queues before forwarding this information to the clock master on the adjacent portal. In one embodiment, clock-sync information flows from the primary bus downward, so that only one clock-sync pseudo queue may be required.
In support of bus bridges, each node has two node ID addresses: physical ID address and virtual ID address. A physical node ID has a 3FF16 valued bus ID; a virtual node ID has smaller bus ID addresses In the absence of bus bridges, all nodes are accessed through their physical addresses. In the presence of bus bridges, the physical address is used to configure the node and the virtual address is normally used thereafter.
Directed-asynchronous routing decisions are made by checking the destination ID addresses of pass-through packets. Accepted packets are directly routed to the bridge's opposing port. In addition, an asynchronous quarantine is maintained which selectively enables forwarding of a request sub-action based on the local identification of a bus-local requester. A set of legacy bits identifies local nodes which requires specific processing of sourced requests and returning responses.
Figure 7 is a block diagram of one embodiment for a next-neighbor ordering topology 1000. Referring to Figure 7, topology 1000 contains a number of nodes 1002, 1004, 1006, 1008, and 1010. Each node 1002-1010 is defined by a relative ring identification (ringlD) value made up of the bus identification (busID) and physical identification (phylD) portions. Each node 1002-1010 ~~ defines its next neighbor by the relative ringlD values in which each node derives the ringlD value from the observed self identification (selflD) packets. In one embodiment, a mapping is applied to selflD (packets) m order to arrive at a phylD to ringlD mapping. During the self-identify process, each node uniquely identifies itself (selflD), maps its selflD to ringlD, and uses its ringlD to communicate with its topologically adjacent node.
In one embodiment, the assignment of ringlD values is based on a conceptual routing of signals through a node's ports. Using node C 1006 as an example, portfa] 1022 identifies physical port 0, port[b] 1024 identifies physical port 1, and port[c] 1020 identifies physical port 2. Ports 1020-1024 have an implied internal ordering as follows: port[a].in → port[b].out 1040 port[b].m → port[c].out 1042 port[c].in — > counter — > port[a].out 1044
In one embodiment, each node 1002-1010 assigns conceptual ringlD values to the other nodes, starting with ringlD = 0 on its own port[a] 1022 output. The ringlD values are assigned by logically tracing a path through other physical ports, incrementing the ringlD when logically passing through the port[a] 1022 output.
The bus itself defines protocols for sending selflD packets for purposes of assigning unique phylDs to each of the attached nodes. Although phylDs are guaranteed to be unique, they are not guaranteed to be the same if the bus is reset again. Thus, there is a need for defining ringlDs which do not change unless the cable topology actually changes.
This assignment strategy always yields the same next-neighbor selections, despite changes in the selected-root assignment or a change in the root node. Thus, in the example shown in Figure 7, node B 1004 determines that node C 1006 is its next neighbor, node C 1006 determines that node D 1008 is its next neighbor, node D 1008 determines that node E 1010 is its next neighbor, node E 1010 determines that node A 1002 is its next neighbor, and node A 1002 determines that node B 1004 is its next neighbor. The topologv, rather than the physical nodes, is traced by following paths 1030, 1032, 1034, 1036, and 1038 ~~ from a port to its next neighbor, and any node 1002-1010 may be used as the root.
Figure 8 is a block diagram of one embodiment for a portal-to-portal net refresh message path topology 1100. A net refresh is used to assign unique busIDs to each node in the system. Referring to Figure 8, the communication protocols for net refresh involve the sending of messages from each portal 1108, 1110, 1112 to its neighbor in a daisy-chained fashion. In one embodiment, these responseless write messages are idempotent, so that missing-ack failures may be simply and safely retried (e.g. multiple writes have the same effect as one write).
A net refresh is typically triggered by a bus reset. After the bus reset completes, each portal 1108, 1110, 1112 sends messages to its next neighbor, allowing messages to flow in a circular direction. Thus, the topology-dependent, root-independent portal ordering is available after bus reset. This allows each portal 1108-1112 to circulate messages by sending them in a next-neighbor ordering.
In the example shown in Figure 8, portal 1108 first sends a message via path 1102 to portal 1112, portal 1112 then sends a message via path 1104 to portal 1110, and finally, portal 1110 sends a message via path 1106 to portal 1108. In this context, "next" means the portal with the next larger ringlD assignment.
In one embodiment, a 2-bit precedence is pre-appended to the portal's 64- bit extended unique identifier (EUI) to generate a stable refresh identifier (refreshlD). The prime portal's EUI also serves as the context identifier for bridge routing tables. The refreshlD allows topology 1000 to specify prime-portal preferences. To coordinate activities when resets occur on multiple buses, a prime portal is selected to coordinate the net refresh activities. In any net, the local-bus portal with the largest refreshlD is selected to become the net's prime portal.
Write messages that incur errors or busy indications are immediately retried until successful. Confirmations are provided by allowing these write messages to circulate through other portals until they return to the origin portal. The constant sending of these responseless write messages ensures their successful completion without mandating special fault-retry protocols. The ~~ circular nature of the communication allows the originator of these write messages to verify their completion. Such communications are sufficient for reliable broadcasts, but are more flexible because write payloads may be modified as they pass through connected portals.
In one embodiment, a bus reset may occur when a new node is attached to the net. The bus reset has the effect of invalidating the bus ID address contained within the node ID registers of local portals, which effectively isolates them from the remaining portion of the net. A net refresh acquires a new bus number for the reset bus without affecting the busID addresses or routes of other portals.
A net refresh starts with messages sent between local bus bridge portals. A prime-portal is selected to coordinate the net refresh operation. Each node sends acquisition messages to its next neighbor, and these messages initially contain refreshlD (a prime-portal selection identifier). Each candidate portal monitors incoming refreshlD values and changes to a subservient portal when a larger refreshlD is observed. In one embodiment, the largest refreshlD value eventually circulates to all local portals, as illustrated by Figure 8. In alternate embodiments, other refreshlD values may be used to determine the prime-portal. The acquisition message supplies the refreshlD, as well as a bus Count and portal Count.
The portal Count value in the acquisition messages is incremented when passing through the portals. This ensures the eventual demise of rogue resets, by allowing them to be aged until dead. Reset messages are sent periodically, once each arbitration interval, until the net refresh completes. In the absence of continuous messages, portals time out and attempt to become prime portals.
The net refresh eventually forms a spanning tree by circumscribing the paths through bus bridge portals 1108-1112. Each portal communicates with its adjacent neighbor by writing messages into a standardized control and status register (CSR) location. During the final state of a net refresh, the portal-to- portal messages flow in the direction of paths 1102, 1104, and 1106. At the conclusion of the net refresh, each node has a net-unique nodelD consisting of busID and locallD components. A node's locallD equals its phyIDT~ In addition, each portal has a distinctive portal identifier (portallD) that may be used to navigate through the topology.
In one embodiment, a net-changed indication is broadcast to all nodes during a net refresh. As no packets are corrupted if this notification is ignored, the system is not compromised by these unconfirmed broadcast indications. This event notification allows nodes to determine when bus numbers have changed or when audio/video (AV/C) controller reconnections are required. AV/C protocols are used to establish, monitor, and release isochronous connections as required. The net-changed event is bus-local and is sent during net refresh. Since all portals are communicating with others during net refresh, the coordination of these bus-local resets comes out of the net-refresh sequencing. During the net refresh, each of the dominant (prime or alpha) portals is responsible for distributing the net-changed event indication to locally attached secondary portals.
One of the reasons for invoking a net refresh is to resolve inconsistent or ambiguous non-local isochronous resource allocations. The listener and talker proxies assume this obligation, allowing resources to be reclaimed (or lost) in a timely fashion.
A net refresh refers to the sequence of actions that assign busID addresses and establish the bus bridge routing tables. The term net refresh is used because the effects of a net refresh on the bridge portals within the net are similar to, but less disruptive than, the effects of a bus reset on the nodes attached to the bus.
In one embodiment, the net refresh maintains the previous busID assignments, bridge portal routing tables, established isochronous channels, and queued subactions.
A configuring net refresh (often abbreviated as configuring refresh) has the effect of assigning non-conflicting busID addresses to each of the attached buses. When busIDs conflict, either with a currently assigned busID or a DIRTY (previously assigned) busID, new FREE busIDs are assigned. As an example, a configuring refresh occurs on the surviving portion of a severed net (assuming that a sufficient number of FREE-state busIDs remain). ~~
A cleansing net refresh (often abbreviated as "cleansing refresh") has all of the properties of a configuring refresh and (in addition) initiates the DIRTY- to-FREE recvcling of stale busIDs by setting quarantines in each bus-bridge portal. After the quarantines have been set, the portal can recycle DIRTY busIDs after a time delav J of T d.ir ,t. The T .ir ,! value is the maximum time a transaction can remain queued before parsing of the bus bridge.
A cleansing refresh is typically performed when the number of DIRTY busIDs exceeds the number of FREE busIDs. The intent is to recvcle the DIRTY busID states, to avoid the invocation of a more disruptive purging net refresh. A net refresh is also invoked on the victim portion of a severed net, to reduce the disruption of survivor subnet buses when the victim and survivor sub-nets are reconnected.
A purging refresh is performed when the number of desired busIDs exceeds the number of FREE busIDs. Although a cleansing refresh would eventually change busIDs from DIRTY-to-FREE, the purging refresh avoids the delay associated with the cleansing-refresh recycling process.
Since bus bridges may have previously-queued transactions with DIRTY- state busID addresses, these queues are purged. This occurs quickly and without timeout-related delays, with the disadvantage of disrupting currently-active transactions.
During the net refresh, nodes communicate the parameters related to in Tdjrl in net refresh messages so as to compute the worst case values. The maximum number of hops, N, between any requester and any responder is also computed and distributed to portals during net refresh.
Figure 9 is a block diagram of one embodiment for a net refresh message path topology 1200 during the addition of a node. Referring to Figure 9, topology 1200 consists of prime portal 1202, alpha portals 1204, 1206, 1208, primary bus 1232, secondary buses (1238, 1234, and 1236), existing nodes (1210, 1212, 1216, 1218, 1220, 1222, 1224, 1226) and a node to be attached 1214. "Net refresh" refers to the sequence of actions that assigns bus identification addresses and establishes the bus bridge routing tables. The term refresh is used because the effects of a net refresh on the bridge portals in the net are similar to, but less destructive than, the effects of a bus reset on the nodes attached to the bus. Whenever possible, the net refresh maintains the previous bus identification assignments, bridge portal routing tables, establish isochronous channels, and queued sub-actions. A net initialization established the spanning tree as described above for the topology and assigns non- conflicting busIDs.
In one embodiment, three forms of net initialization may be specified: 1) net refresh, which assigns new busIDs, 2) net restart, which is a net refresh plus delayed busID recycling quarantine overhead for recently active requesters, and 3) net reset, which is a net refresh plus immediate busID recycling and transaction termination for currently active transactions. During bus resets, each bridge portal is assumed to be aware of the bridge portal next neighbor with the next larger ringlD address as described above. In this embodiment, local daisy chain sequences are possible. For example, portal A sends messages to portal B, portal B sends messages to portal C, and portal C returns messages to portal A.
A net refresh may occur when a new node 214 is added to the topology 1200. In one embodiment, a net refresh configures a primary bus 1232 with one primary alpha portal 1202. Other secondary buses (1238, 1234, and 1236) and one alpha portal 1204 are also configured during a net refresh.
Net reset is a multi-phase operation, as discussed in reference to Figures 10 and 11 below. In one embodiment, the net reset is accomplished in three stages: the acquire stage, the breach stage, and the commit stage. The initial acquire and breach phases select the prime portal and detect addressing conflicts, while the final commit phase assigns busID assignments, establishes routing tables, and, when necessary, purges asynchronous bridge queues. During the acquire phase, periodic acquisition messages are distributed to other bus local portals. During the breach phase, the acquired portals sequentially extend their acquisitions to adjacent buses. During the commit phase, the prime portal sends commit messages, allowing bus numbers and routing tables to be updated. "~~
Referring to Figure 9, the addition of node 1214 may invoke a net reset. The net reset invalidates local busID assignments and all reset portals (1202, 1204, and 1206) become prime portal candidates. Each reset portal 1202-1206 attempts to restore its own invalid busID addresses and disables pass-through traffic. In an alternate embodiment, reset portals 1202-1206 may allow local traffic and some amount of pass-through traffic.
During a purging net refresh, topology 1200 is left in a known initial state. Purging refreshes are designed to be robust and timely, which requires them to be more disruptive. The process of initializing net topology 1200 involves formation of a spanning tree by circumscribing the net while passing through bus bridge portals, as illustrated in Figure 7. For stability, the node with the largest refreshlD is selected to become the prime portal (in the examples of Figures 10 and 11, it is assumed that portal 1202 becomes the prime portal). The prime portal's extended unique identifier (EUI) is also the basis for the contextlD that is distributed among the nodes.
In the discussion that follows, a net refresh is assumed to be initiated by prime portal 1202. However, a purging net refresh may be initiated by any portal. If a purging net refresh is initiated by a non prime portal, the initial net refresh messages would eventually propagate the prime portal, which (due to its larger refresh identifier) would become responsible for completing the net refresh, as discussed below.
Figure 10 is a block diagram of one embodiment illustrating a purging net reset of interconnect 1300. A net reset may occur when a new node 1314 is attached to interconnect 1300. The net reset has the effect of invalidating portals (1302, 1304, 1306, 1308) nodelD and busID addresses. This has the effect of isolating the portals from external access. In the example of Figure 10, the net reset on interconnect 1300 is assumed to be initiated by the prime portal 1302. However, all reset bus portals (1302, 1304, 1306, 1308) may act as the prime portal, and the prime portal status is speculative and must be reconfirmed during net refresh (as described in reference to Figure 7). A net reset begins with a "reset acquire" message sent between bus bridge portals 1302-1308. The first of these messages is sent from prime portal 1302 and. circulates through secondary portals 1304 and 1306 on the primary bus 1342. The message paths are indicated by hash lines 1330, 1332, and 1334, beginning at prime portal 1302.
As discussed above, portallD values in the net reset packets are incremented when passing through the not yet enumerated bus bridge portals (1302-1308). This ensures the eventual demise of rogue resets by allowing them to be "aged until dead." In one embodiment, reset messages are sent periodically, once each arbitration interval, until the net refresh completes. In the absence of a prime portal's resets, other portals may timeout and attempt to become prime portals. Candidate portals (1302-1308) recognize their loss (i.e., not the prime portal) when higher precedence acquire messages are observed, whereupon the portals forward the messages to other portals (next neighbor).
The acquisition of the primary bus completes when the candidate's message returns to the candidate. For example, prime portal 1302 sends a message via 1330 to portal 1304 to acquire bus 1342. The message is passed from portal 1304 via 1332 to portal 1306 and from portal 1306 via 1334 to portal 1302. Once the acquire message returns to portal 1302, portal 1302 acquires its own bus 1342.
After the primary bus 1342 has been acquired, the prime portal transmits a breach message as illustrated in Figure 11. Prime portal 1402 transmits a breach message via path 1430 to portal 1404. The receipt of a breach message by portal 1404 causes portal 1404 to breach onto adjacent bus 1444. The breach commands trigger sequential acquisitions of adjacent buses. The reset breach message initiates the acquisition of the first remote bus 1444 as indicated by paths 1432, 1434, and 1436.
After adjacent buses are acquired, breach packets are sent to initiate a remote bus acquisition. The next portal on the adjacent bus observes the returning reset acquire indication and propagates a reset breach indication to its adjacent bus. That reset acquire circulates and acquires the third bus and subsequent portals. For example, portal 1404 breaches 1408 to acquire bus 1446. The breach messages eventually circulate through all remote buses. The breach messages may reach leaf buses (a leaf bus has no other attached portals) or may" close in on themselves when they pass through a bus bridge and discover that the adjacent portal has been acquired by the same candidate portal. The breach messages establish tentative busID assignments and routes; however, these are not activated until the final commit phase. During remote bus acquisition, the breach packets avoid previously acquired buses.
As in the primary bus acquisition, all bus acquisitions complete when the breach messages return to the initiating portal. After the breach is completed, the net knows the addresses that may be reclaimed, which addresses are free, and how many nodes are trying to claim free addresses.
The commit phase begins after the breach packets return bridge routing tables to the initiating prime portal 1402. During the commit phase, the bridge routing tables are updated and the busID assignments are finalized. The commit phase changes the bus bridge paths and opens closed bridges. During the commit phase, all portals receive assignments and routing information. After the commit phase is complete, all blocked portals are released and traffic may commence. Commit packets are sent, initiating the prime portal 1402 and traversing the interconnect topology 1400. The commit completes when the commit packets return to the prime portal 1402. Normal operation of the net is possible at this time, as the sending of the commit messages stops and the bridges become operational.
Figures 12, 13, and 14 are block diagrams of one embodiment for a secondary bus reset after node detachment.
Figure 12 is a block diagram illustrating the subnet 1500 prior to this connection. Referring to Figure 12, subnet 1500 consists of prime portal 1502 and secondary alpha portal 1504. Two subnets may be disconnected during operation of the interconnect by, for example, pulling a cable or detaching a bridge portal. During a disconnection, one subnet is referred to as the survivor subnet and one is referred to as the victim subnet. During a disconnection, both subnets at the disconnection point receive new busIDs. For example, if a disconnection occurs at point 1550 in Figure 12, the two surviving subnets are as shown in Figure 13 The original bus 1532 is shown a^ buses 1632 and 1634 In this example, it is assumed that subnet 1650 is the survivor subnet and that subnet 1660 is the victim subnet The nodes 1606 and 1608 on the survivor subnet 1650 receive new busIDs, as indicated by the change of letter in the figure. (For example, node 1506 is changed from "b.l" to "e.l" m node 1606.) In addition, node 1610 receives a new busID. The victim subnet 1660 identification is removed from the tables withm the survivor 1650 portal tables. Thus, withm survivor subnet 1650 previous busIDs of b, c, and d are invalidated and marked as previously used Withm the victim subnet 1660, the previously used busIDs are marked as invalid in preparation for a reconnect.
During the reconnection of the subnets, new busIDs are assigned withm the victim subnet 1660. In addition, a new busID is assigned to the merged reset bus, as illustrated in Figure 14. Thus, in the example of Figure 14, new busID F is assigned to the merged bus 1732 and a new busID G is assigned to bus 1734 m the previous victim subnet 1660. Because busIDs B, C, and D were marked as invalid in the prior disconnection, these busIDs are no longer used. In addition, the assigned busID of E that was used in Figure 13 to indicate the disconnection is also not used during the reconnection process. A new busID F is assigned to the merged, rejoined bus 1732. The survivor subnet 1650 has an unchanged prime portal 1702 identifier (a m the example) and other survivor buses keep their assigned busID addresses. The victim subnet 1660 has a changed prime portal 1704 identifier and other victim buses are assigned new busID addresses, as required.
Figures 12, 13, and 14 illustrate one embodiment of a configuring net refresh. A configuring net refresh has the effect of assigning non-conflicting busID addresses to each of the attached buses. When busIDs conflict, either with the currently assigned busID or a dirty, (that is, previously assigned) busID, new free busIDs are assigned.
A cleansing net refresh is similar to a configuring net refresh as the recycling of "dirty" to "free" of stale busIDs by setting quarantines in each bus bridge portal. After the quarantines have been set, the portal may recycle dirty
-?0- busIDs after a time delav of T . ,. The T . , value is the maximum time a transaction can remain queued before passing into a bus bridge. A cleansing net refresh is performed when the number of dirty busIDs exceeds the number of free busIDs within the busID tables. The cleansing net refresh recycles the dirty busID stage to avoid the invocation of more disruptive purging net refresh. A cleansing net refresh is also invoked on a victim portion of the subnet to reduce the disruption of survivor subnet buses when the victim and survivor subnets are reconnected.
A purging refresh is performed when the number of desired busIDs exceeds the number of free busIDs. Although the cleansing refresh would eventually change busIDs from dirty to free, the purging refresh avoids the delay associated with the cleansing refresh recycling process. Because bus bridges may have previously queued (stale) transactions with dirty busID addresses, these queues are purged during a purging net refresh. This occurs quickly without timeout related delays. However, a purging net refresh disrupts currently active transactions.
When subnets are reattached, as exemplified in Figure 14, it is necessary to consistently determine which nodes are survivor nodes and which are victim nodes when the two sets of bus addresses are collapsed into one. In one embodiment, the prime portal may determine which portals are on the victim or survivor sub-net. The sub-net which contains the prime portal is the survivor subnet. The sub-net which acquires a new prime portal is called the victim subnet. The prime portal is defined as the portal with the largest refreshlD.
In one embodiment, the refreshlD is determined by attaching a two bit preference to the EUI of the portals and using this value to determine the prime portal. The "EUI plus preference" value is transmitted with the net refresh messages from next neighbor to next neighbor and each portal votes on the refreshlD value.
In one embodiment, the portal with the largest refreshlD value is used as the prime portal. In an alternate embodiment, the portal with the smallest refreshlD value may be used as the prime portal. In alternate embodiments, any manner of comparison or arithmetic ordering of EUI values may be used to determine a unique node such as the smallest bit-reversed EUI value or the node with the largest portal ID value. ~~
In one embodiment, the EUI plus preference value is passed through the interconnect. This scheme has two purposes: 1) identify the prime portal to other portals; and (2) allow the prime portal to determine when all others have observed its messages, because only then do the messages return to the prime portal.
Figure 15 is a block diagram of one embodiment for an interconnect broadcast topology 1800. A broadcast message may be used after busIDs have changed, for example, when one or more nodes may have been removed, one or more nodes may have been added or the nodelDs have changed within the interconnect. The broadcast is implemented as two-phase process: first, portals communicate between themselves using directed messages, as described herein, and, second, one of the portals, typically the alpha portal, uses a broadcast transaction to communicate the event to other bus-local nodes. Thus, only bus- local broadcast transactions are required to be sent. This is valuable because the IEEE 1394 standard serial bus defines mechanisms for bus local broadcast but has no provisions for flow controlling these writes based on remote bus loading. Under certain conditions, a bus bridge portal may receive more broadcasts than it can source on an adjacent bus, and some will be discarded. Thus, there is no assurance that normal broadcast transactions can be successfully forwarded through remote buses.
Referring to Figure 15, any node (1810-1826) may initiate a broadcast message by writing that message to its bus local portal (1802-1808). The bus local portal (1802-1802) forwards this message to the next portal (next neighbor as described in reference to Figure 7). The next neighbor then passes the message to its next neighbor. The message passing continues from one portal to the next until the message returns to its initial portal, where it is removed. Thus, if prime portal 1802 receives a broadcast from one of its nodes (1816, 1818), the broadcast message is passed to its next neighbor, portal 1804. Portal 1804 then broadcasts the message to portal 1808, which broadcasts the message to portal 1806, which broadcasts the message to portal 1802. Once portal 1802 receives its own broadcast message, the message is removed and dropped. ~~
Each broadcast message generates a broadcast write transaction when it enters a bus through the dominant portal, ensuring one and only one broadcast on each bus. The broadcast messages are implemented as a sequence of directed-write transactions, in which each transaction may be flow controlled. Thus, the broadcast messages are flow controlled and need not be discarded on congested bridges. In addition, the completion of a broadcast message is confirmed when it returns to the initiating portal, and broadcast messages may be used to establish routing paths within the interconnect.
Broadcast messages are designed to be idempotent, so that they may be safely retired once they are returned to the initiating portal. In order to accomplish this, bus bridge portals maintain a copy of the previously received message, discarding the second and following copies after accepting the first. The broadcast message writes are acknowledged, but no response is returned to the sending portal. Because there are no responses that must be distinctly labeled, this allows an identical transaction to be safely and immediately reused after a short acknowledge-missing delay.
To avoid circular dependency deadlocks, one portal in the circular list of portals receives the message in a logical request queue and outputs the message to the next portal on a second logical response queue. Deadlock is avoided by mandating that request queue messages never block the processing of response queue messages.
In one embodiment, a broadcast message may trigger the return of information from multiple nodes. This form of broadcast trigger /collection is referred to as "broadcall" in the backplane environment. Within the interconnect, a broadcall protocol that returns selected node addresses is referred to as address resolution protocol (ARP). In one embodiment, the information received from multiple nodes may be triggered by supplying the EUI of the portal or node as the broadcast message is passed along. Thus, information is appended to the broadcast message as it passes through each portal and finally returns to the initiating portal. As the information passes through each portal, the information may be maintained in tables within the portal for later use. ~~
Figure 16 is a flow diagram of one embodiment for ordering a topology of nodes to form a ring structure. Initially, at processing block 1905, a self identification process is initialized. The self identification process may be initialized by any node within the topology. Each node sends a self identification grant (selflD grant) to all nodes, beginning with a connected node with the lowest numbered identification. The connected node numbering is based upon the port numbers defined during bus initialization.
At processing block 1910, the topology is traversed by conceptually routing message packets (ringlD packets) to at least one physical port of each of the nodes in the topology. Each node sends users its ringlD to communicate with its topologically adjacent node.
At processing block 1915, each node determines the ringlD of its topologically adjacent neighbor. Each node begins with its own ringlD equal to zero on its own port 1022 output. Each node monitors ringlD packet transmissions and keeps track of its own ringlD.
At processing block 1920, a node the self identifier (selflD) is mapped in order to arrive at a phylD to ringlD mapping. Each node is defined by a relative ring identification (ringlD) value made up of the bus identification (busID) and physical identification (phylD) portions.
At processing block 1925, each node saves the phylD of its topologically adjacent neighbor node (with the next larger ringlD). Each node saves only its own ringlD and the ringlD of its adjacent neighbor. Thus, each node knows its topologically adjacent neighbor and is able to forward any packets or messages from itself to its next neighbor within the topology.
Figure 17 is a flow diagram of one embodiment for refreshing an interconnect topology. In this embodiment, the interconnect topology comprises a number of nodes and a number of bus bridges. Initially at processing block 2005, a next neighbor ordering of the interconnect topology is determined as described in reference to Figure 16. At processing block 2010, an acquisition message is sent from a node to its next neighbor node In one embodiment, each node sends the acquisition — message to its next neighbor and these messages initially contain a prime portal selection identifier (refreshlD) In addition, in one embodiment, the prime portal selection identifier contains a bus count and a portal count The portal count value in the acquisition message is incremented when passing through each bus bridge.
At processing block 2015, a prime portal is selected from a number of bus bridges on the interconnect. Each bus bridge monitors the refreshlD. If the refreshlD of the current bus bridge is larger than the incoming refreshlD, then the bus bridge overrides the refreshlD with its own refreshlD The current bridge passes the new refreshlD to its own next neighbor After the refreshlD is passed throughout the topology, the bus bridge with the largest refreshlD is selected as the prime portal.
At processing block 2020, a spanning tree of the interconnect is generated. The spanning tree is generated by circumscribing a path from the prime portal through the bus bridges in a daisy-chain manner from next neighbor to next neighbor.
Figure 18 is a flow diagram of one embodiment for message broadcast flow control on a bus bridge interconnect. Initially at processing block 2105, a next neighbor bus bridge topology is determined as described m reference to Figure 16.
At processing block 2110, a broadcast message is initiated by an initiating node at an initiating bus bridge. In one embodiment, the broadcast message is initiated by the initiating node sending the broadcast message to its own local bus bridge. Each broadcast message generates a broadcast write transaction when it enters a bus through its own bus bridge. This ensures that only one broadcast message is on each bus at a given time. The broadcast messages are implemented as a sequence of directed write transactions in which each transaction may be flow controlled. Thus the broadcast messages are flow controlled and need not be discarded on congested bridges.
-21.- At processing block 2115, the broadcast message is forwarded to a next neighbor bus bridge. Next neighbor processing is described in reference to ~~ Figure 7. The next neighbor bus bridge then passes the broadcast message to its own next neighbor. The message passage continues from one bus bridge to the next until the message returns to its initial bus bridge. In one embodiment, each bus bridge maintains a copy of the received broadcast message and discards a second or subsequent copy of the broadcast message as each is received. All but one bus bridge that receives the broadcast message into a logical request queue sends that message to its adjacent neighbor's request queue; similarly, messages received in the response queue are sent to the adjacent neighbor's response queue. One of the bus bridges takes its received request messages and sends them to the adjacent neighbor's response queue; similarly, messages received in the response queue are discarded. This ensures that the broadcast messages pass through all portals, in a non-deadlocking fashion, before being discarded.
At processing block 2120, the forwarded broadcast message is received back at the initiating bus bridge. In one embodiment, once the initiating bus bridge receives the broadcast message, the message is removed from the system.
In an alternate embodiment, as the broadcast message is received at each bus bridge, each bus bridge appends its own extended unique identifier (EUI) to the broadcast message. The broadcast message is transferred, with the appended EUI, to the next neighbor and finally returns to the initiating bus bridge. Once the appended broadcast message is received at the initiating bus bridge, the initiating bus bridge saves the EUI information of all of the interconnect portals.
Figure 19 is a flow diagram of one embodiment for a multi-phase net reset on a bus bridge interconnect. Initially, at processing block 2205, bus bridge identifiers are refreshed, as described in reference to Figure 18.
At processing block 2210, a net reset is initiated. The net reset may be initiated by removing a node or subnet of the interconnect or adding a node or subnet to the interconnect.
At processing block 2215, a primary bus is acquired. In one embodiment, the primary bus may be the bus on which the rest is initiated. A bus bridge initially sends a reset acquire message to its next neighbor bus bridge Next neighbor topologies are described in reference to Figure 7 The first of these ~~ messages is sent from the prime portal and circulates through secondary portals on the primary bus As each bus bridges receives the acquire message, it determines whether it is a candidate for being the prime portal In one embodiment, the best prime portal candidate is determined by the highest EUI on the primary bus. After the acquire messages are circulated through the topology, the prime portal is determined. The acquisition of the primary bus completes when the acquire message of the candidate (initiating bus bridge) returns to the portal with the highest EUI
At processing block 2220, adjacent buses are breached After the primary bus has been acquired, the prime portal transmits a breach message to its next neighbor. The receipt of the breach message by the receiving portal causes the portal to breach onto an adjacent bus. The breach commands trigger sequential acquisitions of each adjacent bus. The reset breach message initiated by the initiating bus bridge causes the acquisition of the first remote bus. The prime portal acquires all buses adjacent to itself by sending breach messages to each of the attached bus bridges The next portal on the adjacent bus observes the returning reset acquire indication and propagates a reset breach indication to its adjacent bus. That reset circulates and acquires the subsequent buses.
The breach messages eventually circulate through all remote buses. The breach messages establish tentative busID assignments and routes. However, these tentative assignments are not activated until the commit phase, as discussed below. During remote bus acquisition, the breach packets avoid previously acquired buses. As in the acquiring of the primary bus, all bus acquisitions complete when the breach message returns to the initiating bus bridge portal. After the breach is completed, the addresses that may be reclaimed, which addresses are free, and how many nodes are trying to claim free addresses are all known.
At processing block 2225, the commit phase of new bus identifier assignments is performed. Breach packets return bridge routing tables to the prime portal. During the commit phase, the bridge routing tables are updated and the busID assignments are finalized. The commit phase changes the bus bridge paths and opens closed bridges. During the commit phase, all portals ~~ receive assignments and routing information. Commit packets are sent initiating the prime portal and traverse the interconnect topology. The commit completes when the commit packets return to the prime portal. Normal operation of the net is possible at this time, as the sending of the commit messages stops and the bridges become operational.
The specific arrangements and methods herein are merely illustrative of the principles of this invention. Numerous modifications in form and detail may be made by those skilled in the art without departing from the true spirit and scope of the invention.

Claims

CLAIMS What is claimed is: ~~
1. A method for a multi-phase net refresh on a bus bridge interconnect, the interconnect comprising a plurality of nodes, at least one bus bridge, and a plurality of buses, the method comprising: acquiring a primary bus by communicating with other bus bridges on the plurality of buses; breaching to at least one secondary bus of the plurality of buses to acquire the secondary bus; and committing the primary bus and the secondary bus.
2. The method of claim 1 wherein acquiring further comprises: assigning bus identifiers; and collecting the bus identifiers.
3. The method of claim 1 wherein committing further comprises: resolving bus assignment conflicts; and assigning bus identifiers.
4. The method of claim 1 further comprising: refreshing bus identifiers by determining an adjacent neighbor bus bridge topology.
5. The method of claim 4 wherein determining an adjacent neighbor comprises: determining a self identifier for each of the plurality of nodes; mapping the self identifier to a ring identifier for each of the plurality of nodes; and saving the ring identifier of at least one adjacent neighbor node.
6. The method of claim 1 further comprising: initiating a net reset.
7. The method of claim 6 wherein initiating a net reset comprises removing a subnet or adding a node.
8. The method of claim 1 wherein acquiring the primary bus further comprises: sending a reset acquire message from the initiating bus bridge to its adjacent neighbor bus bridge; and selecting a prime portal from the at least one bus bridge connected to the primary bus.
9. The method of claim 8 wherein selecting a prime portal comprises: monitoring an incoming prime portal selection identifier by each of the at least one bus bridge on the primary bus; overriding the incoming prime portal selection identifier with a prime portal selection identifier of a first bus bridge of the at least one bus bridge if the prime portal selection identifier of the first bus bridge is larger than the incoming prime portal selection identifier; and selecting one of the at least one bus bridge with a largest prime portal selection identifier as the prime portal.
10. The method of claim 1 further comprising: generating a spanning tree of the primary bus by circumscribing a path through the at least one bus bridge connected to the primary bus.
11. The method of claim 1 wherein each of the at least one bus bridge on the primary bus transfers the acquire message to its own adjacent neighbor bus bridge.
12. The method of claim 1 wherein acquiring completes when the acquire message returns to the initiating bus bridge.
13. The method of claim 1 wherein breaching further comprises: transmitting a breach message from a prime portal to an adjacent neighbor bus bridge of the prime portal; and acquiring the at least one secondary bus by the adjacent neighbor bus bridge.
14. The method of claim 13 iterativelv performing transmitting and acquiring for each bus of the plurality of busses.
15. The method of claim 13 wherein acquiring avoids previously acquired busses.
16. The method of claim 13 further comprising: completing secondary bus acquisition upon receipt of an acquire bus message by an initiating breach bus bridge.
17. The method of claim 1 wherein committing further comprises: returning remote bridge routing tables to the initiating bus bridge; updating bridge routing tables on the prime portal with the remote bridge routing tables; and finalizing bus identifier assignments.
18. The method of claim 1 wherein committing further comprises: sending commit packets from the prime portal to its adjacent neighbor; traversing the interconnect topology with the commit packets; and receiving the commit packets back by the prime portal.
19. The method of claim 1 wherein committing further comprises: opening closed bus bridges; and commencing interconnect bus traffic.
20. The method of claim 1 wherein at least one bus of the plurality of buses conforms substantially to the IEEE 1394 standard serial bus.
21. A system for a multi-phase net refresh on a bus bridge interconnect, the interconnect comprising a plurality of nodes, at least one bus bridge, and a plurality of buses, the system comprising: means for acquiring a primary bus by communicating with other bus bridges on the plurality of buses; means for breaching to at least one secondary bus of the plurality of buses to acquire the secondary bus; and means for committing the primary bus and the secondary bus.
22. A computer-readable medium comprising program instructions for encoding a block of data by performing the steps of: acquiring a primary bus by communicating with other bus bridges on the plurality of buses; breaching to at least one secondary bus of the plurality of buses to acquire the secondary bus; and committing the primary bus and the secondary bus.
23. A system for a multi-phase net refresh on a bus bridge interconnect, the system comprising: a primary bus; at least one secondary bus; at least one bus bridge connected to the primary bus and the secondary bus; a primary node to acquire the primary bus by communicating with the at least one bus bridge, breach to the at least one secondary bus to acquire the secondary bus, and commit the primary bus and the secondary bus.
-V)-
24. The system of claim 23 wherein the primary node further assigns bus identifiers, and collects the bus identifiers.
25. The system of claim 23 wherein the primary node further resolves bus assignment conflicts, and assigns bus identifiers.
26. The system of claim 23 wherein the primary node further refreshes bus identifiers by determining an adjacent neighbor bus bridge topology.
27. The system of claim 26 wherein the primary node further determines a self identifier for each of a plurality of nodes, maps the self identifier to a ring identifier for each of the plurality of nodes, and saves the ring identifier of an adjacent neighbor node.
28. The system of claim 23 wherein the primary node initiates a net reset.
29. The system of claim 28 wherein the primary node removes a subnet or adds a subnet.
30. The system of claim 23 wherein the primary bus further sends a reset acquire message from an initiating bus bridge to an adjacent neighbor bus bridge.
31. The system of claim 30 further comprising: a prime portal selected from the at least one bus bridge connected to the primary bus.
32. The system of claim 30 wherein the primary node further monitors an incoming prime portal selection identifier of the at least one bus bridge, overrides the incoming prime portal selection identifier with a prime portal selection identifier if the prime portal selection identifier of a first bus bridge is larger than the incoming prime portal selection identifier.
33. The system of claim 32 further comprising: a prime portal, selected from the at least one of bus bridge, the prime portal having a largest prime portal selection identifier.
34. The system of claim 23 wherein the primary node further generates a spanning tree of the primary bus by circumscribing a path through the at least one bus bridge.
35. The system of claim 23 wherein the at least one bus bridge transfers the acquire message to its own adjacent neighbor bus bridge.
36. The system of claim 23 wherein the primary node completes acquiring when the acquire message returns to the initiating bus bridge.
37. The system of claim 23 further comprising: an initiating bus bridge to transmit a breach message from a prime portal to an adjacent neighbor bus bridge of the prime portal, and acquire the at least one secondary bus by the adjacent neighbor bus bridge.
38. The system of claim 37 wherein the initiating bus bridge avoids previously acquired busses.
39. The system of claim 37 wherein the initiating bus bridge further completes secondary bus acquisition upon receipt of an acquire bus message.
40. The system of claim 23 further comprising: an initiating bus bridge to receive remote bridge routing tables; a prime portal to update its bridge routing tables with the remote bridge routing tables, and finalize bus identifier assignments.
41. The system of claim 23 wherein further comprising: a prime portal to send commit packets to an adjacent neighbor node, traverse the interconnect topology with the commit packets, and receive the commit packets back.
42. The system of claim 23 wherein the primary node further opens closed bus bridges, and commences interconnect bus traffic.
43. The system of claim 23 wherein at least one bus of a plurality of buses conforms substantially to the IEEE 1394 standard serial bus.
PCT/US2000/007516 1999-03-19 2000-03-20 A method and system for a multi-phase net refresh on a bus bridge interconnect WO2000057263A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU40187/00A AU4018700A (en) 1999-03-19 2000-03-20 A method and system for a multi-phase net refresh on a bus bridge interconnect

Applications Claiming Priority (22)

Application Number Priority Date Filing Date Title
US12532199P 1999-03-19 1999-03-19
US60/125,321 1999-03-19
US13069899P 1999-04-23 1999-04-23
US60/130,698 1999-04-23
US13791699P 1999-06-07 1999-06-07
US60/137,916 1999-06-07
US14410199P 1999-07-16 1999-07-16
US60/144,101 1999-07-16
US15039399P 1999-08-23 1999-08-23
US60/150,393 1999-08-23
US15530599P 1999-09-21 1999-09-21
US60/155,305 1999-09-21
US15872299P 1999-10-11 1999-10-11
US60/158,722 1999-10-11
US16795899P 1999-11-29 1999-11-29
US60/167,958 1999-11-29
US17096299P 1999-12-15 1999-12-15
US60/170,962 1999-12-15
US17707700P 2000-01-19 2000-01-19
US60/177,077 2000-01-19
US53127900A 2000-03-18 2000-03-18
US09/531,279 2000-03-18

Publications (1)

Publication Number Publication Date
WO2000057263A1 true WO2000057263A1 (en) 2000-09-28

Family

ID=27582664

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2000/007516 WO2000057263A1 (en) 1999-03-19 2000-03-20 A method and system for a multi-phase net refresh on a bus bridge interconnect

Country Status (2)

Country Link
AU (1) AU4018700A (en)
WO (1) WO2000057263A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1193915A2 (en) * 2000-09-29 2002-04-03 Sony Corporation Data transfer
US6647446B1 (en) * 2000-03-18 2003-11-11 Sony Corporation Method and system for using a new bus identifier resulting from a bus topology change
EP1480416A1 (en) * 2003-05-21 2004-11-24 Matsushita Electric Industrial Co., Ltd. Optimisation of routing table updates
EP1509004A1 (en) * 2003-08-21 2005-02-23 Robert Bosch Gmbh Method of operating two bus-like subnets and corresponding network topology
EP1864227A1 (en) * 2005-03-30 2007-12-12 Echelon Corporation Simple installation of devices on a network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5724517A (en) * 1994-09-27 1998-03-03 International Business Machines Corporation Method for generating a topology map for a serial bus
US5764930A (en) * 1996-04-01 1998-06-09 Apple Computer, Inc. Method and apparatus for providing reset transparency on a reconfigurable bus
US5875301A (en) * 1994-12-19 1999-02-23 Apple Computer, Inc. Method and apparatus for the addition and removal of nodes from a common interconnect
US5883621A (en) * 1996-06-21 1999-03-16 Sony Corporation Device control with topology map in a digital network
US6038625A (en) * 1998-01-06 2000-03-14 Sony Corporation Of Japan Method and system for providing a device identification mechanism within a consumer audio/video network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5724517A (en) * 1994-09-27 1998-03-03 International Business Machines Corporation Method for generating a topology map for a serial bus
US5875301A (en) * 1994-12-19 1999-02-23 Apple Computer, Inc. Method and apparatus for the addition and removal of nodes from a common interconnect
US5935208A (en) * 1994-12-19 1999-08-10 Apple Computer, Inc. Incremental bus reconfiguration without bus resets
US5764930A (en) * 1996-04-01 1998-06-09 Apple Computer, Inc. Method and apparatus for providing reset transparency on a reconfigurable bus
US5883621A (en) * 1996-06-21 1999-03-16 Sony Corporation Device control with topology map in a digital network
US6038625A (en) * 1998-01-06 2000-03-14 Sony Corporation Of Japan Method and system for providing a device identification mechanism within a consumer audio/video network

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6647446B1 (en) * 2000-03-18 2003-11-11 Sony Corporation Method and system for using a new bus identifier resulting from a bus topology change
EP1193915A2 (en) * 2000-09-29 2002-04-03 Sony Corporation Data transfer
EP1193915A3 (en) * 2000-09-29 2005-01-19 Sony Corporation Data transfer
US7321938B2 (en) 2000-09-29 2008-01-22 Sony Corporation Data transfer apparatus, network system, and data transfer method
EP1480416A1 (en) * 2003-05-21 2004-11-24 Matsushita Electric Industrial Co., Ltd. Optimisation of routing table updates
US7539739B2 (en) 2003-05-21 2009-05-26 Panasonic Corporation Self-configuring network system and routers for use therein
EP1509004A1 (en) * 2003-08-21 2005-02-23 Robert Bosch Gmbh Method of operating two bus-like subnets and corresponding network topology
EP1864227A1 (en) * 2005-03-30 2007-12-12 Echelon Corporation Simple installation of devices on a network
EP1864227A4 (en) * 2005-03-30 2014-07-09 Echelon Corp Simple installation of devices on a network

Also Published As

Publication number Publication date
AU4018700A (en) 2000-10-09

Similar Documents

Publication Publication Date Title
US6810452B1 (en) Method and system for quarantine during bus topology configuration
US6374316B1 (en) Method and system for circumscribing a topology to form ring structures
US6445711B1 (en) Method of and apparatus for implementing and sending an asynchronous control mechanism packet used to control bridge devices within a network of IEEE STD 1394 serial buses
US6389547B1 (en) Method and apparatus to synchronize a bus bridge to a master clock
US6647446B1 (en) Method and system for using a new bus identifier resulting from a bus topology change
US6539450B1 (en) Method and system for adjusting isochronous bandwidths on a bus
EP0930747A1 (en) IEEE 1394 Serial bus system using a mapping table for identifying nodes having required capabilities to establish isochronous connections
JPH08249263A (en) Method and apparatus for constitution of fabric at inside of fiber channel system
US6631415B1 (en) Method and system for providing a communication connection using stream identifiers
US6751697B1 (en) Method and system for a multi-phase net refresh on a bus bridge interconnect
US6728821B1 (en) Method and system for adjusting isochronous bandwidths on a bus
EP1327328B1 (en) Method for linking several communication busses using wireless links
US6584539B1 (en) Method and system for message broadcast flow control on a bus bridge interconnect
KR100746900B1 (en) Electronic equipment, and method for controlling state of physical layer circuit thereof
US6910090B1 (en) Maintaining communications in a bus bridge interconnect
US6286067B1 (en) Method and system for the simplification of leaf-limited bridges
JP2002111704A (en) Data transmission/reception device and method therefor
KR20010018894A (en) method for controlling bus in digital interface
US6502158B1 (en) Method and system for address spaces
WO2000057263A1 (en) A method and system for a multi-phase net refresh on a bus bridge interconnect
US7139853B2 (en) Data transmission/reception system, connection establishing method and information transmission/reception apparatus
US6633943B1 (en) Method and system for the simplification of leaf-limited bridges
WO2000057289A1 (en) A method and system for message broadcast flow control on a bus bridge interconnect
WO2001038951A2 (en) A method and system for circumscribing a topology to form ring structures
WO2001038996A9 (en) Method and system for adjusting isochronous bandwidths on a bus

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY CA CH CN CR CU CZ DE DK DM DZ EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT TZ UA UG US UZ VN YU ZA ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH GM KE LS MW SD SL SZ TZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI CM GA GN GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

122 Ep: pct application non-entry in european phase