]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd1b40ac42405cc404ace8ee008c4b18e3a97ab21
tree572399fc49608364304d1e1bfbec765805852634
parent0887a8663d3440e18d1b1244d3934901537bc1a0
parentb43d73887cd8fbfbcdb4368fa1afb4e0ad9b0338
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>