From: Saeed Mahameed <saeedm@mellanox.com>
To: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org, Or Gerlitz <ogerlitz@mellanox.com>,
Eran Ben Elisha <eranbe@mellanox.com>,
Tal Alon <talal@mellanox.com>,
Saeed Mahameed <saeedm@mellanox.com>
Subject: [PATCH net-next 0/2] Introduce mlx5 ethernet timestamping
Date: Wed, 16 Dec 2015 18:46:32 +0200 [thread overview]
Message-ID: <1450284394-32386-1-git-send-email-saeedm@mellanox.com> (raw)
Hi Dave,
This patch series introduces the support for ConnectX-4 timestamping
and the PTP kernel interface.
First patch fixes a bug in SKB data pointer in device xmit function.
Second patch adds the needed low level helpers for:
- Fetching the hardware clock (hardware internal timer)
- Parsing CQEs timestamps
- Device frequency capability
Added new en_clock.c file that handles all needed timestamping
operations:
- Internal clock structure initialization.
- PTP registration and cleanup.
- PTP callbacks implementation.
Added the needed ioctl for setting/getting the current timestamping
configuration, and used this configuration in RX/TX data path to
fill the SKB with the timestamp.
Eran Ben Elisha (2):
net/mlx5_en: Restore the skb data pointer after xmit is finished
net/mlx5_en: Add HW timestamping (TS) support
drivers/net/ethernet/mellanox/mlx5/core/Kconfig | 1 +
drivers/net/ethernet/mellanox/mlx5/core/Makefile | 2 +-
drivers/net/ethernet/mellanox/mlx5/core/en.h | 25 +++
drivers/net/ethernet/mellanox/mlx5/core/en_clock.c | 226 ++++++++++++++++++++
.../net/ethernet/mellanox/mlx5/core/en_ethtool.c | 32 +++
drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 103 +++++++++-
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c | 9 +
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c | 16 ++
drivers/net/ethernet/mellanox/mlx5/core/main.c | 31 +++
.../net/ethernet/mellanox/mlx5/core/mlx5_core.h | 1 +
include/linux/mlx5/device.h | 20 ++-
include/linux/mlx5/mlx5_ifc.h | 5 +-
12 files changed, 464 insertions(+), 7 deletions(-)
create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/en_clock.c
next reply other threads:[~2015-12-16 16:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-16 16:46 Saeed Mahameed [this message]
2015-12-16 16:46 ` [PATCH net-next 1/2] net/mlx5_en: Restore the skb data pointer after xmit is finished Saeed Mahameed
2015-12-16 16:46 ` [PATCH net-next 2/2] net/mlx5_en: Add HW timestamping (TS) support Saeed Mahameed
2015-12-16 19:16 ` Richard Cochran
2015-12-16 21:38 ` Or Gerlitz
2015-12-16 21:41 ` Or Gerlitz
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=1450284394-32386-1-git-send-email-saeedm@mellanox.com \
--to=saeedm@mellanox.com \
--cc=davem@davemloft.net \
--cc=eranbe@mellanox.com \
--cc=netdev@vger.kernel.org \
--cc=ogerlitz@mellanox.com \
--cc=talal@mellanox.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).