]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: bcm_sf2: Allow looping back CFP rules
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 6 Feb 2019 20:46:00 +0000 (12:46 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Feb 2019 06:11:07 +0000 (22:11 -0800)
commit3a7e643590718a4c075d09c60fbb00fc7e485396
tree65a7024f27e45bd827c2f161d2ce1314525babbb
parentdb462990012ed37f5e4f68cbd01c654dcd38d1e3
net: dsa: bcm_sf2: Allow looping back CFP rules

When the source and destination port of a CFP rule match, we must set
the loopback bit enable to allow that, otherwise the frame is discarded.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/bcm_sf2_cfp.c