]> 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)
commit97bc12cd9a1279c3796ab7c8115ba8908cf0685a
tree65a7024f27e45bd827c2f161d2ce1314525babbb
parent6ebaef66c1853107410835cf0ec63be116314563
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