diff options
author | Vladimir Oltean | 2019-12-27 03:03:54 +0200 |
---|---|---|
committer | David S. Miller | 2019-12-30 20:13:11 -0800 |
commit | d00bdc0a8839de9a5c9be5af2a79dbf8e0087689 (patch) | |
tree | 26c6c6a7419b10d6b1f5ce390bba3949f1ea6170 /drivers/net/macvtap.c | |
parent | 5a47f588ee2366b2febdc822cdfdcf856cb0a777 (diff) |
net: dsa: sja1105: Remove restriction of zero base-time for taprio offload
The check originates from the initial implementation which was not based
on PTP time but on a standalone clock source. In the meantime we can now
program the PTPSCHTM register at runtime with the dynamic base time
(actually with a value that is 200 ns smaller, to avoid writing DELTA=0
in the Schedule Entry Points Parameters Table). And we also have logic
for moving the actual base time in the future of the PHC's current time
base, so the check for zero serves no purpose, since even if the user
will specify zero, that's not what will end up in the static config
table where the limitation is.
Fixes: 86db36a347b4 ("net: dsa: sja1105: Implement state machine for TAS with PTP clock source")
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/macvtap.c')
0 files changed, 0 insertions, 0 deletions