Add PTP support for VFs
Status from this message: This series was applied to netdev/net-next.git (refs/heads/master):
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | octeontx2-pf: Enable promisc/allmulti match MCAM entries.drivers/ | +43 | 0 replies | Applied |
| 2/2 | octeontx2-nicvf: Add PTP hardware clock support to NIX VFdrivers/ drivers/ drivers/ +4 more | +23 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [net-next PATCH 0/2] 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.
Thanks,
Sundeep
Naveen Mamindlapalli (1):
octeontx2-nicvf: Add PTP hardware clock support to NIX VF
Rakesh Babu (1):
octeontx2-pf: Enable promisc/allmulti match MCAM entries.
.../net/ethernet/marvell/octeontx2/af/rvu_cgx.c | 3 + .../net/ethernet/marvell/octeontx2/nic/Makefile | 2 +- .../ethernet/marvell/octeontx2/nic/otx2_common.h | 3 + .../ethernet/marvell/octeontx2/nic/otx2_ethtool.c | 1 + .../net/ethernet/marvell/octeontx2/nic/otx2_pf.c | 84 ++++++++++++---------- .../net/ethernet/marvell/octeontx2/nic/otx2_ptp.c | 5 ++ .../net/ethernet/marvell/octeontx2/nic/otx2_vf.c | 6 ++ 7 files changed, 66 insertions(+), 38 deletions(-)
Signature · 1 line
2.7.4