From: Igor Russkikh <Igor.Russkikh@aquantia.com> To: "netdev@vger.kernel.org" <netdev@vger.kernel.org> Cc: "richardcochran@gmail.com" <richardcochran@gmail.com>, "davem@davemloft.net" <davem@davemloft.net>, Egor Pomozov <Egor.Pomozov@aquantia.com>, Sergey Samoilenko <Sergey.Samoilenko@aquantia.com>, Dmitry Bezrukov <Dmitry.Bezrukov@aquantia.com>, Igor Russkikh <Igor.Russkikh@aquantia.com> Subject: [PATCH net-next 00/11] net: aquantia: PTP support for AQC devices Date: Mon, 9 Sep 2019 13:38:35 +0000 Message-ID: <cover.1568034880.git.igor.russkikh@aquantia.com> (raw) This patches introduce PTP feature support in Aquantia AQC atlantic driver. This implementation is a joined effort from a number of aquantia developers: Egor and Sergey are included as co-developers, Dmitry has implemented PIN control functionality and helped me in the overall patchset preparation. Feature was verified on AQC hardware with testptp tool, linuxptp, gptp and with Motu hardware unit. Dmitry Bezrukov (11): net: aquantia: PTP skeleton declarations and callbacks net: aquantia: unify styling of bit enums net: aquantia: add basic ptp_clock callbacks net: aquantia: add PTP rings infrastructure net: aquantia: styling fixes on ptp related functions net: aquantia: implement data PTP datapath net: aquantia: rx filters for ptp net: aquantia: add support for ptp ioctls net: aquantia: implement get_ts_info ethtool net: aquantia: add support for Phy access net: aquantia: add support for PIN funcs .../net/ethernet/aquantia/atlantic/Makefile | 2 + .../net/ethernet/aquantia/atlantic/aq_cfg.h | 4 +- .../ethernet/aquantia/atlantic/aq_ethtool.c | 35 +- .../ethernet/aquantia/atlantic/aq_filters.c | 17 +- .../net/ethernet/aquantia/atlantic/aq_hw.h | 45 +- .../net/ethernet/aquantia/atlantic/aq_main.c | 103 +- .../net/ethernet/aquantia/atlantic/aq_nic.c | 96 +- .../net/ethernet/aquantia/atlantic/aq_nic.h | 16 +- .../ethernet/aquantia/atlantic/aq_pci_func.c | 5 +- .../net/ethernet/aquantia/atlantic/aq_phy.c | 147 ++ .../net/ethernet/aquantia/atlantic/aq_phy.h | 32 + .../net/ethernet/aquantia/atlantic/aq_ptp.c | 1396 +++++++++++++++++ .../net/ethernet/aquantia/atlantic/aq_ptp.h | 57 + .../net/ethernet/aquantia/atlantic/aq_ring.c | 63 +- .../net/ethernet/aquantia/atlantic/aq_ring.h | 7 +- .../aquantia/atlantic/hw_atl/hw_atl_b0.c | 318 +++- .../atlantic/hw_atl/hw_atl_b0_internal.h | 9 +- .../aquantia/atlantic/hw_atl/hw_atl_llh.c | 96 +- .../aquantia/atlantic/hw_atl/hw_atl_llh.h | 58 +- .../atlantic/hw_atl/hw_atl_llh_internal.h | 223 ++- .../aquantia/atlantic/hw_atl/hw_atl_utils.c | 7 +- .../aquantia/atlantic/hw_atl/hw_atl_utils.h | 172 +- .../atlantic/hw_atl/hw_atl_utils_fw2x.c | 97 +- 23 files changed, 2871 insertions(+), 134 deletions(-) create mode 100644 drivers/net/ethernet/aquantia/atlantic/aq_phy.c create mode 100644 drivers/net/ethernet/aquantia/atlantic/aq_phy.h create mode 100644 drivers/net/ethernet/aquantia/atlantic/aq_ptp.c create mode 100644 drivers/net/ethernet/aquantia/atlantic/aq_ptp.h -- 2.17.1
next reply index Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-09-09 13:38 Igor Russkikh [this message] 2019-09-09 13:38 ` [PATCH net-next 01/11] net: aquantia: PTP skeleton declarations and callbacks Igor Russkikh 2019-09-10 19:10 ` Andrew Lunn 2019-09-11 11:41 ` Igor Russkikh 2019-09-09 13:38 ` [PATCH net-next 02/11] net: aquantia: unify styling of bit enums Igor Russkikh 2019-09-09 13:38 ` [PATCH net-next 03/11] net: aquantia: add basic ptp_clock callbacks Igor Russkikh 2019-09-09 23:27 ` kbuild test robot 2019-09-10 2:45 ` kbuild test robot 2019-09-10 19:20 ` Andrew Lunn 2019-09-09 13:38 ` [PATCH net-next 04/11] net: aquantia: add PTP rings infrastructure Igor Russkikh 2019-09-09 13:38 ` [PATCH net-next 05/11] net: aquantia: styling fixes on ptp related functions Igor Russkikh 2019-09-09 13:38 ` [PATCH net-next 06/11] net: aquantia: implement data PTP datapath Igor Russkikh 2019-09-09 13:38 ` [PATCH net-next 07/11] net: aquantia: rx filters for ptp Igor Russkikh 2019-09-09 13:38 ` [PATCH net-next 08/11] net: aquantia: add support for ptp ioctls Igor Russkikh 2019-09-09 13:38 ` [PATCH net-next 09/11] net: aquantia: implement get_ts_info ethtool Igor Russkikh 2019-09-09 13:38 ` [PATCH net-next 10/11] net: aquantia: add support for Phy access Igor Russkikh 2019-09-09 13:39 ` [PATCH net-next 11/11] net: aquantia: add support for PIN funcs Igor Russkikh 2019-09-10 2:45 ` kbuild test robot 2019-09-10 13:03 ` kbuild test robot
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=cover.1568034880.git.igor.russkikh@aquantia.com \ --to=igor.russkikh@aquantia.com \ --cc=Dmitry.Bezrukov@aquantia.com \ --cc=Egor.Pomozov@aquantia.com \ --cc=Sergey.Samoilenko@aquantia.com \ --cc=davem@davemloft.net \ --cc=netdev@vger.kernel.org \ --cc=richardcochran@gmail.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
Netdev Archive on lore.kernel.org Archives are clonable: git clone --mirror https://lore.kernel.org/netdev/0 netdev/git/0.git git clone --mirror https://lore.kernel.org/netdev/1 netdev/git/1.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 netdev netdev/ https://lore.kernel.org/netdev \ netdev@vger.kernel.org public-inbox-index netdev Example config snippet for mirrors Newsgroup available over NNTP: nntp://nntp.lore.kernel.org/org.kernel.vger.netdev AGPL code for this site: git clone https://public-inbox.org/public-inbox.git