]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'Fixes-for-SJA1105-DSA-tc-gate-action'
authorDavid S. Miller <davem@davemloft.net>
Thu, 25 Jun 2020 23:06:56 +0000 (16:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jun 2020 23:06:56 +0000 (16:06 -0700)
commit369f77178c9577f393b59bd599fe7519eb7e7b68
treeb018a46d8d216b8e33e2398293abf0db562c6786
parentb5638041e111207fada4c2e6ac8de7276c7f66a4
parent15764c279f718d4c1a2a45568ae2b8eab305a093
Merge branch 'Fixes-for-SJA1105-DSA-tc-gate-action'

Vladimir Oltean says:

====================
Fixes for SJA1105 DSA tc-gate action

This small series fixes 2 bugs in the tc-gate implementation:
1. The TAS state machine keeps getting rescheduled even after removing
   tc-gate actions on all ports.
2. tc-gate actions with only one gate control list entry are installed
   to hardware with an incorrect interval of zero, which makes the
   switch erroneously drop those packets (since the configuration is
   invalid).

To keep the code palatable, a forward-declaration was avoided by moving
some code around in patch 1/4. I hope that isn't too much of an issue.
====================

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