From: David S. Miller Date: Thu, 25 Jun 2020 23:06:56 +0000 (-0700) Subject: Merge branch 'Fixes-for-SJA1105-DSA-tc-gate-action' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=29a30bac564252d732f6c387617a3456e038bdf6;p=linux.git 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 --- 29a30bac564252d732f6c387617a3456e038bdf6