Merge branch 'octeontx2-ptp-vf'
authorDavid S. Miller <davem@davemloft.net>
Wed, 29 Sep 2021 09:27:33 +0000 (10:27 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Sep 2021 09:27:33 +0000 (10:27 +0100)
commit096d19f3156dd8843c48677931f9a563afd22143
tree572399fc49608364304d1e1bfbec765805852634
parenta365023a76f231cc2fc6e33797e66f3bcaa9f9a9
parent43510ef4ddad39d815f0f9396521a139d69b0baf
Merge branch 'octeontx2-ptp-vf'

Subbaraya Sundeep <sbhatta@marvell.com>

====================
octeontx2: Add PTP support for VFs

PTP is a shared hardware block which can prepend
RX timestamps to packets before directing packets to
PFs or VFs and can notify the TX timestamps to PFs or VFs
via TX completion queue descriptors. Hence adding PTP
support for VFs is exactly similar to PFs with minimal changes.
This patchset adds that PTP support for VFs.

Patch 1 - When an interface is set in promisc/multicast
the same setting is not retained when changing mtu or channels.
This is due to toggling of the interface by driver but not
calling set_rx_mode in the down-up sequence. Since setting
an interface to multicast properly is required for ptp this is
addressed in this patch.

Patch 2 - Changes in VF driver for registering timestamping
ethtool ops and ndo_ioctl.
====================

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