Design and Verification of a Layer-2 MAC Classification Engine for a Gigabit Ethernet Switch Jorge Tonfat Ricardo Reis Universidade Federal do Rio Grande.

Slides:



Advertisements
Similar presentations
IP Router Architectures. Outline Basic IP Router Functionalities IP Router Architectures.
Advertisements

Topic 7 Local Area Networks (LAN)
A Search Memory Substrate for High Throughput and Low Power Packet Processing Sangyeun Cho, Michel Hanna and Rami Melhem Dept. of Computer Science University.
NetFPGA Project: 4-Port Layer 2/3 Switch Ankur Singla Gene Juknevicius
A Scalable and Reconfigurable Search Memory Substrate for High Throughput Packet Processing Sangyeun Cho and Rami Melhem Dept. of Computer Science University.
Design Methodology for High-Level Model Based on an Eight Bit Entertainment System Alejandro Lizaola, Ricardo D. Castro, Gilberto Beltran. Manuel Salim.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 3 Underlying Technology.
CIM 2465 Fundamentals of Ethernet1 Fundamentals of Ethernet (Topic 3) Textbook: Networking Basics, CCNA 1 Companion Guide, Cisco Press Cisco Networking.
13.1 Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
t Popularity of the Internet t Provides universal interconnection between individual groups that use different hardware suited for their needs t Based.
TDC 461 Basic Communications Systems Local Area Networks 29 May, 2001.
TCP/IP Protocol Suite 1 Chapter 3 Objectives Upon completion you will be able to: Underlying Technology Understand the different versions of wired Ethernet.
1 25\10\2010 Unit-V Connecting LANs Unit – 5 Connecting DevicesConnecting Devices Backbone NetworksBackbone Networks Virtual LANsVirtual LANs.
DataLink Layer1 Ethernet Technologies: 10Base2 10: 10Mbps; 2: 200 meters (actual is 185m) max distance between any two nodes without repeaters thin coaxial.
Department of Electrical and Computer Engineering Kekai Hu, Harikrishnan Chandrikakutty, Deepak Unnikrishnan, Tilman Wolf, and Russell Tessier Department.
Paper Review Building a Robust Software-based Router Using Network Processors.
InterVLAN Routing Design and Implementation. What Routers Do Intelligent, dynamic routing protocols for packet transport Packet filtering capabilities.
ECE 526 – Network Processing Systems Design Network Processor Architecture and Scalability Chapter 13,14: D. E. Comer.
Elastic-Buffer Flow-Control for On-Chip Networks
The Layered Protocol Wrappers 1 Florian Braun, Henry Fu The Layered Protocol Wrappers: A Solution to Streamline Networking Functions to Process ATM Cells,
High-Level Interconnect Architectures for FPGAs An investigation into network-based interconnect systems for existing and future FPGA architectures Nick.
Applied research laboratory David E. Taylor Users Guide: Fast IP Lookup (FIPL) in the FPX Gigabit Kits Workshop 1/2002.
High-Level Interconnect Architectures for FPGAs Nick Barrow-Williams.
The Medium Access Control Sublayer Chapter 4. The Channel Allocation Problem Static Channel Allocation Dynamic Channel Allocation  Delay for the divided.
Microelectronic Systems Institute Leandro Soares Indrusiak Manfred Glesner Ricardo Reis Lookup-based Remote Laboratory for FPGA Digital Design Prototyping.
Agenda 1. QUIZ 2. HOMEWORK 3. LOCAL AREA NETWORKS 4. WIDE AREA NETWORKS.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Local Area Networks.
The Medium Access Control Sublayer Chapter 4. The Channel Allocation Problem Static Channel Allocation in LANs and MANs Dynamic Channel Allocation in.
1 Semester 2 Module 9 Basic Router Troubleshooting Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology.
Chapter 7 Backbone Network. Announcements and Outline Announcements Outline Backbone Network Components  Switches, Routers, Gateways Backbone Network.
StrideBV: Single chip 400G+ packet classification Author: Thilan Ganegedara, Viktor K. Prasanna Publisher: HPSR 2012 Presenter: Chun-Sheng Hsueh Date:
4/19/20021 TCPSplitter: A Reconfigurable Hardware Based TCP Flow Monitor David V. Schuehler.
Hot Interconnects TCP-Splitter: A Reconfigurable Hardware Based TCP/IP Flow Monitor David V. Schuehler
Cisco S3C3 Virtual LANS. Why VLANs? You can define groupings of workstations even if separated by switches and on different LAN segments –They are one.
Field Programmable Port Extender (FPX) 1 Modular Design Techniques for the FPX.
Network On Chip Platform
Efficient Cache Structures of IP Routers to Provide Policy-Based Services Graduate School of Engineering Osaka City University
STORE AND FORWARD & CUT THROUGH FORWARD Switches can use different forwarding techniques— two of these are store-and-forward switching and cut-through.
TCAM –BASED REGULAR EXPRESSION MATCHING SOLUTION IN NETWORK Phase-I Review Supervised By, Presented By, MRS. SHARMILA,M.E., M.ARULMOZHI, AP/CSE.
The Medium Access Control Sublayer Chapter 4 12/13/2015www.ishuchita.com1.
Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 4 Version 1 Virtual LANs. Introduction By default, switches forward broadcasts, this means that all segments connected to a switch are in one.
Project Description. NetFGPA-based Virtual Router Implement a Virtual Router with using NetFPGA Box. an open source hardware and software platform for.
Identify basic switching concepts and the operation of Cisco switches.
OpenFlow MPLS and the Open Source Label Switched Router Department of Computer Science and Information Engineering, National Cheng Kung University, Tainan,
Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs
Lecture Note on Switch Architectures. Function of Switch.
Fast Lookup for Dynamic Packet Filtering in FPGA REPORTER: HSUAN-JU LI 2014/09/18 Design and Diagnostics of Electronic Circuits & Systems, 17th International.
1 A quick tutorial on IP Router design Optics and Routing Seminar October 10 th, 2000 Nick McKeown
The Medium Access Control Sublayer Chapter 4. The Channel Allocation Problem Static Channel Allocation in LANs and MANs Dynamic Channel Allocation in.
Packet Switch Architectures The following are (sometimes modified and rearranged slides) from an ACM Sigcomm 99 Tutorial by Nick McKeown and Balaji Prabhakar,
Field Programmable Port Extender (FPX) 1 Modular Design Techniques for the Field Programmable Port Extender John Lockwood and David Taylor Washington University.
CS/CoE 536 : Lockwood 1 CS/CoE 536 Reconfigurable System On Chip Design Lecture 10 : MP3 Working Draft Washington University Fall 2002
ECE 526 – Network Processing Systems Design Network Address Translator II.
CCNA3 v3 Module 4 v3 CCNA 3 Module 4 JEOPARDY K. Martin.
+ Lecture#2: Ethernet Asma ALOsaimi. + Objectives In this chapter, you will learn to: Describe the operation of the Ethernet sublayers. Identify the major.
Virtual Local Area Networks In Security By Mark Reed.
Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 16– Connecting LANs
Chapter 13 Wired LANs: Ethernet
Virtual LANs.
The Medium Access Control Sublayer
Chapter 13 Wired LANs: Ethernet
Network Core and QoS.
Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs
Implementing an OpenFlow Switch on the NetFPGA platform
Project proposal: Questions to answer
NetFPGA - an open network development platform
Packet Switch Architectures
Network Core and QoS.
Presentation transcript:

Design and Verification of a Layer-2 MAC Classification Engine for a Gigabit Ethernet Switch Jorge Tonfat Ricardo Reis Universidade Federal do Rio Grande do Sul (UFRGS) Instituto de Informática - PPGC/PGMicro

2 MotivationObjectives NetFPGA Platform L2 Classification Engine Verification Methodology Implementation Results ConclusionsOutline

3 Ethernet is the most popular layer 2 protocol. Widely used in LANs and MANs. Ethernet best characteristics: It has a low implementation cost compared with other technologies. High performanceMotivation LAN = Local Area Network MAN = Metropolitan Area Network

4 Design of a L2 classification engine for a Gigabit Ethernet switch deployed at an industrial product. The main function of the Layer-2 classification engine is to forward Ethernet frames to their corresponding output ports. The classification engine should be able to process VLAN frames. (compliant with IEEE 802.1Q)Objectives

5 NetFPGA Platform Developed at Stanford University. Enable fast prototyping of networking hardware. Offers basic hardware modular structure.

6 NetFPGA Platform Frames inside the data pipeline have their own header format. Contains information such as frame size, source port and destination port. New modules can add more headers. NetFPGA module headers Ethernet Frame

7 The L2 switching task needs: MAC address Source Port VLAN ID Related solutions: Binary and Ternary CAMs. Not feasible for large L2 tables. Power hungry and high cost per bit. Software-only switching task. Low performance results. L2 Classification Engine

8 One popular solution: Hashing functions Some disadvantages: Hash collisions. Decreased table capacity. Preferred characteristic: relatively uniform distribution of output values (mem addr) This will reduce the hash collisions and improve the table capacity. L2 Classification Engine To deal with hash collisions, the lookup table is organized in buckets that contain multiple entries.

9 Implements the main function of the Gigabit Ethernet Switch: the frame forwarding and learning. This module is part of the datapath. The classification engine is part of the output port lookup module. L2 Classification Engine

Main Tasks: Frame forwarding. Source MAC address learning. Secondary task: MAC address lookup table aging. Since the SRAM is accessed by three different sources (the forwarding/learning module, the aging module and the external access through the register bus) an arbiter is needed.

11 L2 Classification Engine SRAM arbiter FSM cycles, showing only the memory requests. To achieve the bandwidth of 42 Gbps, each frame is needed to be processed in 8 cycles for a 500 MHz clock. Since 11 cycles are needed to process one frame, two frames are processed interleaved. Remembering that for each cycle, only one kind of request (read/write) is possible. Cycle 7 and Cycle 15 are used to process requests from the aging module and for external access.

12  Design a L2 classification engine... Verification Methodology A testbench environment was developed using SystemVerilog and Modelsim. It is organized in layers. DUV: Design Under Verification

The module was synthesized with different MAC Address lookup table sizes: 4K, 32K, 64K and 128K. All of them obtain an operation frequency of 500 MHz and constant bandwidth of 42 Gbps. It was used Cadence tools and a TSMC standard cell library. Implementation Results SolutionOp. Freq. (MHz) Bandwidth (Gbps) Technology Process This work50042TSMC 180nm [Lau03] nm [Mishra03]10180nm [Papaefstathiou06] UMC 130nm [Papaefstathiou06] has a better bandwidth but is important to note that the bandwidth they show is an average one that depends on the number of collisions and on the size of the table. The results shown are for a 64K table. The ones obtained with a 32K table gives a bandwidth reduced by 25%. The bandwidth in our solution is independent of the table size.

14 The architecture presented in this work achieves the necessary throughput for a 42-port Gigabit Ethernet. It is more time-efficient compared with simpler methods such as direct-test. The results are good ones comparing to other solutions. The functional verification stage allows to discover circuit bugs using constrained random stimulus. Conclusions

Design and Verification of a Layer-2 MAC Classification Engine for a Gigabit Ethernet Switch ICECS 2010 – Athens, Greece Jorge Tonfat Ricardo Reis Universidade Federal do Rio Grande do Sul (UFRGS) Instituto de Informática - PPGC/PGMicro

Events to not loose

LASCAS 2011 Second IEEE Latin American Symposium on Circuits and Systems February 23-25, 2011 Bogotá, Colombia webpage: lascas.org

IBERCHIP 2011 XVII Iberchip Workshop February 23-25, 2011 Bogotá, Colombia

22

CHIP ON THE CLIFFS SBCCI2011 SBMicro2011 August 30 - September 2, 2011 João Pessoa, Brazil

25 CHIP ON THE CLIFFS SBCCI2011 SBMicro2011 August 30 - September 2, 2011 João Pessoa, Brazil

26 CHIP ON THE CLIFFS SBCCI2011 SBMicro2011 August 30 - September 2, 2011 João Pessoa, Brazil

27 BACKUP SLIDES

28 Handshake protocol  Based on request and acknowledge signals

29 Memory Organization  Example using a 4k lookup table:

30 Lookup table organization BitsfieldDescription 71:60VIDVLAN ID associated with MAC address 59:12MAC48-bit MAC address 11:4PORTIDPort associated with MAC address (one-hot encoded) 3RESVReserved 2VALID1: entry is valid, 0: entry is empty 1STATIC1: entry is static - is not to be aged out and it is updated by software, 0: entry is dynamically learned and aged 0AGE1: entry has been accessed or learned since last aging, 0: entry has not been accessed since last aging

31 VLAN memory organization