]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'bcm_sf2-Add-support-for-IPv6-CFP-rules'
authorDavid S. Miller <davem@davemloft.net>
Mon, 23 Oct 2017 02:06:48 +0000 (03:06 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Oct 2017 02:06:48 +0000 (03:06 +0100)
commit351b56e39b31720a5f6e4dd3bb4885dc8660cb1c
tree9da60c9ec6a4b5fee6a59507fedd712d8fc41aed
parent3271992aa484fc35191c1e1eb6908f64d2507f30
parentb8b6bd4d99d2de95e01ced603b26baafe6a6cc96
Merge branch 'bcm_sf2-Add-support-for-IPv6-CFP-rules'

Florian Fainelli says:

====================
net: dsa: bcm_sf2: Add support for IPv6 CFP rules

This patch series adds support for matching IPv6 addresses to the existing CFP
support code. Because IPv6 addresses are four times bigger than IPv4, we can
fit them anymore in a single slice, so we need to chain two in order to have
a complete match. This makes us require a second bitmap tracking unique rules
so we don't over populate the TCAM.

Finally, because the code had to be re-organized, it became a lot easier to
support arbitrary prefix/mask lengths, so the last two patches do just that.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>