Worst-Case TCAM Rule Expansion.

Ori Rottenstreich, I. Keslassy
2010
2 references

Abstract

Designers of TCAMs (Ternary CAMs) for packet classification deal with unpredictable sets of rules, resulting in highly variable rule expansions, and rely on heuristic encoding algorithms with no reasonable expansion guarantees. In this paper, given several types of rules, we provide new upper bounds on the TCAM worst-case rule expansions. In particular, we prove that a W-bit range can be encoded using W TCAM entries, improving upon the previously-known bound of 2W-5. We also propose a modified TCAM architecture that uses additional logic to significantly reduce the rule expansions, both in the worst case and in experiments with real-life classification databases.

1 repository
2 references

Code References

torvalds/linux
1 file
net/netfilter/nft_set_pipapo.c
2
* can be converted into b * 2 netmasks, from Theorem 3 in [Rottenstreich 2010],
* [Rottenstreich 2010]
Link copied to clipboard!