stratum / fabric-tna

The SD-Fabric data plane
https://docs.sd-fabric.org/
30 stars 15 forks source link

[SDFAB-1097] Do not generate INT report for pruned packets #502

Closed Yi-Tseng closed 2 years ago

Yi-Tseng commented 2 years ago

When sending multicast/broadcast traffic, we always drop packets if the egress port is equal to the ingress port. This caused the INT pipeline to generate unnecessary INT drop reports. To avoid this, we can set the report type to NO_REPORT for this case.

codecov[bot] commented 2 years ago

Codecov Report

Merging #502 (92aa560) into main (b8b43eb) will not change coverage. The diff coverage is n/a.

:exclamation: Current head 92aa560 differs from pull request most recent head 0fe43cf. Consider uploading reports for the commit 0fe43cf to get more accurate results

Impacted file tree graph

@@            Coverage Diff            @@
##               main     #502   +/-   ##
=========================================
  Coverage     69.85%   69.85%           
+ Complexity      730      729    -1     
=========================================
  Files            63       63           
  Lines          4771     4771           
  Branches        528      528           
=========================================
  Hits           3333     3333           
  Misses         1161     1161           
  Partials        277      277           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b8b43eb...0fe43cf. Read the comment docs.