All of lore.kernel.org
 help / color / mirror / Atom feed
From: Igor Russkikh <irusskikh@marvell.com>
To: <netdev@vger.kernel.org>
Cc: "David S . Miller" <davem@davemloft.net>,
	Jakub Kicinski <kuba@kernel.org>, Andrew Lunn <andrew@lunn.ch>,
	Igor Russkikh <irusskikh@marvell.com>
Subject: [PATCH v2 net-next 0/3] net: atlantic: phy tunables from mac driver
Date: Fri, 2 Oct 2020 16:39:20 +0300	[thread overview]
Message-ID: <20201002133923.1677-1-irusskikh@marvell.com> (raw)

This series implements phy tunables settings via MAC driver callbacks.

AQC 10G devices use integrated MAC+PHY solution, where PHY is fully controlled
by MAC firmware. Therefore, it is not possible to implement separate phy driver
for these.

We use ethtool ops callbacks to implement downshift and EDPC tunables.

v2: comments from Andrew

Igor Russkikh (3):
  ethtool: allow netdev driver to define phy tunables
  net: atlantic: implement phy downshift feature
  net: atlantic: implement media detect feature via phy tunables

 .../ethernet/aquantia/atlantic/aq_ethtool.c   | 53 +++++++++++++++++++
 .../net/ethernet/aquantia/atlantic/aq_hw.h    |  6 +++
 .../net/ethernet/aquantia/atlantic/aq_nic.c   | 49 +++++++++++++++++
 .../net/ethernet/aquantia/atlantic/aq_nic.h   |  4 ++
 .../atlantic/hw_atl/hw_atl_utils_fw2x.c       | 37 +++++++++++++
 .../atlantic/hw_atl2/hw_atl2_utils_fw.c       | 13 +++++
 include/linux/ethtool.h                       |  4 ++
 net/ethtool/ioctl.c                           | 37 ++++++++-----
 8 files changed, 190 insertions(+), 13 deletions(-)

-- 
2.17.1


             reply	other threads:[~2020-10-02 13:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-02 13:39 Igor Russkikh [this message]
2020-10-02 13:39 ` [PATCH v2 net-next 1/3] ethtool: allow netdev driver to define phy tunables Igor Russkikh
2020-10-02 14:25   ` Andrew Lunn
2020-10-02 13:39 ` [PATCH v2 net-next 2/3] net: atlantic: implement phy downshift feature Igor Russkikh
2020-10-02 14:20   ` Andrew Lunn
2020-10-02 13:39 ` [PATCH v2 net-next 3/3] net: atlantic: implement media detect feature via phy tunables Igor Russkikh
2020-10-02 14:24   ` Andrew Lunn
2020-10-02 14:41     ` [EXT] " Igor Russkikh

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=20201002133923.1677-1-irusskikh@marvell.com \
    --to=irusskikh@marvell.com \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    /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.