SN2000 series max tc rules

Hi

How many tc rules can you install on an SN2010 using the mlxsw hardware tc offload features?

Hi Joe

About 5600 rules with default settings.

There are two limiting factors:

  1. Size of TCAM

  2. Number of counters

To mitigate the first, use chain templates with only the keys you need:

https://github.com/Mellanox/mlxsw/wiki/ACLs#chain-templates

This will result in each rule occupying less space in the TCAM

To mitigate the second, disable statistics:

https://github.com/Mellanox/mlxsw/wiki/ACLs#suppressing-per-filter-statistics