From: Subbaraya Sundeep <sbhatta@marvell.com>
To: <davem@davemloft.net>, <kuba@kernel.org>, <netdev@vger.kernel.org>
Cc: <sgoutham@marvell.com>, <hkelam@marvell.com>,
<gakula@marvell.com>, <naveenm@marvell.com>,
<rsaladi2@marvell.com>, Subbaraya Sundeep <sbhatta@marvell.com>
Subject: [net-next PATCH 0/2] Add PTP support for VFs
Date: Tue, 28 Sep 2021 23:13:44 +0530 [thread overview]
Message-ID: <1632851026-5415-1-git-send-email-sbhatta@marvell.com> (raw)
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
next reply other threads:[~2021-09-28 17:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-28 17:43 Subbaraya Sundeep [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1632851026-5415-1-git-send-email-sbhatta@marvell.com \
--to=sbhatta@marvell.com \
--cc=davem@davemloft.net \
--cc=gakula@marvell.com \
--cc=hkelam@marvell.com \
--cc=kuba@kernel.org \
--cc=naveenm@marvell.com \
--cc=netdev@vger.kernel.org \
--cc=rsaladi2@marvell.com \
--cc=sgoutham@marvell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).