netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net-next PATCH 0/2] Add PTP support for VFs
@ 2021-09-28 17:43 Subbaraya Sundeep
  2021-09-28 17:43 ` [net-next PATCH 1/2] octeontx2-pf: Enable promisc/allmulti match MCAM entries Subbaraya Sundeep
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Subbaraya Sundeep @ 2021-09-28 17:43 UTC (permalink / raw)
  To: davem, kuba, netdev
  Cc: sgoutham, hkelam, gakula, naveenm, rsaladi2, Subbaraya Sundeep

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(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-09-29  9:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-28 17:43 [net-next PATCH 0/2] Add PTP support for VFs Subbaraya Sundeep
2021-09-28 17:43 ` [net-next PATCH 1/2] octeontx2-pf: Enable promisc/allmulti match MCAM entries Subbaraya Sundeep
2021-09-28 17:43 ` [net-next PATCH 2/2] octeontx2-nicvf: Add PTP hardware clock support to NIX VF Subbaraya Sundeep
2021-09-29  9:40 ` [net-next PATCH 0/2] Add PTP support for VFs patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).