Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Survive pfc watchdog storm action across warm-reboot (#794)
* Survive PFC watchdog and storm action in warm-reboot Signed-off-by: Wenda Ni <[email protected]> * Remove logs used for debugging Signed-off-by: Wenda Ni <[email protected]> * Add queue index check before taking storm action during warm-reboot Signed-off-by: Wenda Ni <[email protected]> * Correct log message Signed-off-by: Wenda Ni <[email protected]> * Log storm event for all storm actions not only drop action Signed-off-by: Wenda Ni <[email protected]> * Address review comments Signed-off-by: Wenda Ni <[email protected]> * Address the situation that stoi() may throw an exception Signed-off-by: Wenda Ni <[email protected]> * Fine-gran handling of stoi exceptions Signed-off-by: Wenda Ni <[email protected]> * Shift temporarily to STATE_DB Signed-off-by: Wenda Ni <[email protected]> * Add debugging symbols Signed-off-by: Wenda Ni <[email protected]> * Revert "Shift temporarily to STATE_DB" This reverts commit 1027cc12e22aa201bed59f0ed8cd83cc7ad7ef8d. * Orthogonalize pfc wd table names Signed-off-by: Wenda Ni <[email protected]> * Implement doTask for the new Consumer, which subscribes to APPL_DB PFC_WD_TABLE keyspace Signed-off-by: Wenda Ni <[email protected]> * Clean up and touch-ups Signed-off-by: Wenda Ni <[email protected]> * Delete multiple fields in one hdel call Signed-off-by: Wenda Ni <[email protected]> * Refactor codes with multi-fields hdel Signed-off-by: Wenda Ni <[email protected]> * Address comments: remove unnecessary catch blocks for stoi() call Signed-off-by: Wenda Ni <[email protected]> * Use RedisClient to do hset (previous through Table hset) Signed-off-by: Wenda Ni <[email protected]> * Remove debugging symbols Signed-off-by: Wenda Ni <[email protected]> * Address review comments: Replace PfcWdSwOrch<DropHandler, ForwardHandler>:: with this to shorten the code length Signed-off-by: Wenda Ni <[email protected]> * Address review comments: Refactor existing codes to replace PfcWdSwOrch<DropHandler, ForwardHandler>:: with this to shorten the code length Signed-off-by: Wenda Ni <[email protected]> * Remove unused variable to correct compile error Signed-off-by: Wenda Ni <[email protected]>
- Loading branch information