• PFC Watchdog in SONiC
  • High Level Design Document
  • Rev 0.1
  • Table of Contents
  • List of Tables
  • Revision
  • About this Manual
  • Scope
  • Definitions/Abbreviation
  • Table 2: Abbreviations
  • 1 PFC Watchdog Requirements Overview
  • 1.1 Overview
  • 1.2 Functional Specification
  • 1.2.1 PFC storm detection
  • 1.2.2 PFC storm mitigation
  • 1.2.3 PFC storm restoration
  • 2 Modules Design
  • 2.1 Config DB
  • 2.1.1 PFC WD Table
  • 2.2 FLEX_COUNTER DB
  • 2.2.1 PFC WD FLEX_COUNTER_GROUP_TABLE entry
  • 2.2.2 PFC WD FLEX_COUNTER_TABLE entry for each port
  • 2.2.3 PFC WD FLEX_COUNTER_TABLE entry for each lossless queue
  • 2.3 COUNTERS DB
  • 2.3.1 COUNTERS table
  • 2.4 Criteria for storm detection
  • 2.5 Action Handlers
  • 2.6 Events for Resetting PFC WD
  • 2.6.1 Counters Reset
  • 2.6.2 Port Going Down
  • 2.6.3 Queue Reconfiguration or Removal
  • 2.7 CLI
  • 3 Flows
  • 3.1 General Overview
  • 3.2 Reading SAI Counters
  • 3.3 Watchdog Orchagent
  • 3.4 WD Drop Action
  • 3.4.1 Detect Handler
  • 3.4.2 Restore Handler
  • 3.5 WD Forward Action
  • 3.5.1 Detect Handler
  • 3.5.2 WD Restore Handler