]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: bcm_sf2: Split rule handling from HW operation
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 6 Nov 2018 20:58:38 +0000 (12:58 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Nov 2018 23:05:22 +0000 (15:05 -0800)
commit80d2d8eb20928366958f66327ee48ca753e47437
treed2b8cfcc5883330a5f6205e63def76db4a0fa679
parent116603e5f9a3222880a12588a84ef2e9eb64b7f2
net: dsa: bcm_sf2: Split rule handling from HW operation

In preparation for restoring CFP rules during system wide system
suspend/resume where the hardware loses its context, split the rule
validation from its actual insertion as well as the rule removal from
its actual hardware deletion operation.

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