From: Saeed Mahameed <saeedm@mellanox.com>
To: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org,
Richard Cochran <richardcochran@gmail.com>,
Or Gerlitz <ogerlitz@mellanox.com>,
Eran Ben Elisha <eranbe@mellanox.com>,
Tal Alon <talal@mellanox.com>, Majd Dibbiny <majd@mellanox.com>,
Achiad Shochat <achiad@mellanox.com>,
saeedm@dev.mellanox.co.il, Saeed Mahameed <saeedm@mellanox.com>
Subject: [PATCH net-next V3 0/4] Introduce mlx5 ethernet timestamping
Date: Tue, 29 Dec 2015 14:58:28 +0200 [thread overview]
Message-ID: <1451393912-13736-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.
Changes from V2:
net/mlx5_core: Introduce access function to read internal_timer
- Remove one line function
- Change function name
net/mlx5e: Add HW timestamping (TS) support:
- Data path performance optimization (caching tstamp struct in rq,sq)
- Change read/write_lock_irqsave to read/write_lock
- Move ioctl functions to en_clock file
- Changed overflow start algorithm according to comments from Richard
- Move timestamp init/cleanup to open/close ndos.
In details:
1st patch prevents the driver from modifying skb->data and SKB CB in
device xmit function.
2nd patch adds the needed low level helpers for:
- Fetching the hardware clock (hardware internal timer)
- Parsing CQEs timestamps
- Device frequency capability
3rd patch adds new en_clock.c file that handles all needed timestamping
operations:
- Internal clock structure initialization and other helper functions
- Added the needed ioctl for setting/getting the current timestamping
configuration.
- used this configuration in RX/TX data path to fill the SKB with
the timestamp.
4th patch Introduces PTP (PHC) support.
Achiad Shochat (1):
net/mlx5e: Do not modify the TX SKB
Eran Ben Elisha (3):
net/mlx5_core: Introduce access function to read internal timer
net/mlx5e: Add HW timestamping (TS) support
net/mlx5e: Add PTP Hardware Clock (PHC) 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 | 31 ++-
drivers/net/ethernet/mellanox/mlx5/core/en_clock.c | 287 ++++++++++++++++++++
.../net/ethernet/mellanox/mlx5/core/en_ethtool.c | 30 ++
drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 24 ++-
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c | 9 +
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c | 85 ++++--
drivers/net/ethernet/mellanox/mlx5/core/main.c | 13 +
.../net/ethernet/mellanox/mlx5/core/mlx5_core.h | 1 +
include/linux/mlx5/device.h | 20 ++-
include/linux/mlx5/mlx5_ifc.h | 6 +-
12 files changed, 467 insertions(+), 42 deletions(-)
create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/en_clock.c
next reply other threads:[~2015-12-29 12:59 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-29 12:58 Saeed Mahameed [this message]
2015-12-29 12:58 ` [PATCH net-next V3 1/4] net/mlx5e: Do not modify the TX SKB Saeed Mahameed
2015-12-29 12:58 ` [PATCH net-next V3 2/4] net/mlx5_core: Introduce access function to read internal timer Saeed Mahameed
2015-12-29 12:58 ` [PATCH net-next V3 3/4] net/mlx5e: Add HW timestamping (TS) support Saeed Mahameed
2016-01-05 12:43 ` Richard Cochran
2015-12-29 12:58 ` [PATCH net-next V3 4/4] net/mlx5e: Add PTP Hardware Clock (PHC) support Saeed Mahameed
2016-01-05 12:49 ` Richard Cochran
2016-01-04 21:47 ` [PATCH net-next V3 0/4] Introduce mlx5 ethernet timestamping David Miller
2016-01-05 12:51 ` Richard Cochran
2016-01-05 19:02 ` David Miller
2016-01-04 21:57 ` Saeed Mahameed
2016-01-04 21:59 ` Saeed Mahameed
2016-01-05 19:12 ` David Miller
2016-01-05 19:15 ` Saeed Mahameed
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=1451393912-13736-1-git-send-email-saeedm@mellanox.com \
--to=saeedm@mellanox.com \
--cc=achiad@mellanox.com \
--cc=davem@davemloft.net \
--cc=eranbe@mellanox.com \
--cc=majd@mellanox.com \
--cc=netdev@vger.kernel.org \
--cc=ogerlitz@mellanox.com \
--cc=richardcochran@gmail.com \
--cc=saeedm@dev.mellanox.co.il \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.