]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: atlantic: fix PTP on AQC10X
authorEgor Pomozov <epomozov@marvell.com>
Wed, 22 Jul 2020 19:09:58 +0000 (22:09 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Jul 2020 01:15:07 +0000 (18:15 -0700)
commit901f3cc1639e5103a8997f6ab243785d292e2074
tree5f7146fea293a2c98437c74a922063ee693cdaa2
parent8885bb0621f01a6c82be60a91e5fc0f6e2f71186
net: atlantic: fix PTP on AQC10X

This patch fixes PTP on AQC10X.
PTP support on AQC10X requires FW involvement and FW configures the
TPS data arb mode itself.
So we must make sure driver doesn't touch TPS data arb mode on AQC10x
if PTP is enabled. Otherwise, there are no timestamps even though
packets are flowing.

Fixes: 2deac71ac492a ("net: atlantic: QoS implementation: min_rate")
Signed-off-by: Egor Pomozov <epomozov@marvell.com>
Signed-off-by: Mark Starovoytov <mstarovoitov@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c