From: Andrew Lunn <andrew@lunn.ch>
To: Jakub Kicinski <kuba@kernel.org>
Cc: Michal Kubecek <mkubecek@suse.cz>,
netdev@vger.kernel.org, David Miller <davem@davemloft.net>,
Florian Fainelli <f.fainelli@gmail.com>,
Heiner Kallweit <hkallweit1@gmail.com>,
Chris Healy <cphealy@gmail.com>,
michael@walle.cc
Subject: Re: [PATCH net-next v3 06/10] net: ethtool: Add infrastructure for reporting cable test results
Date: Sun, 10 May 2020 20:22:52 +0200 [thread overview]
Message-ID: <20200510182252.GA411829@lunn.ch> (raw)
In-Reply-To: <20200510110013.0ae22016@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
On Sun, May 10, 2020 at 11:00:13AM -0700, Jakub Kicinski wrote:
> On Sun, 10 May 2020 18:07:58 +0200 Andrew Lunn wrote:
> > On Sun, May 10, 2020 at 05:12:26PM +0200, Michal Kubecek wrote:
> > > On Sat, May 09, 2020 at 06:28:47PM +0200, Andrew Lunn wrote:
> > > > Provide infrastructure for PHY drivers to report the cable test
> > > > results. A netlink skb is associated to the phydev. Helpers will be
> > > > added which can add results to this skb. Once the test has finished
> > > > the results are sent to user space.
> > > >
> > > > When netlink ethtool is not part of the kernel configuration stubs are
> > > > provided. It is also impossible to trigger a cable test, so the error
> > > > code returned by the alloc function is of no consequence.
> > > >
> > > > v2:
> > > > Include the status complete in the netlink notification message
> > > >
> > > > Signed-off-by: Andrew Lunn <andrew@lunn.ch>
> > >
> > > Reviewed-by: Michal Kubecek <mkubecek@suse.cz>
> > >
> > > It seems you applied the changes to ethnl_cable_test_alloc() suggested
> > > in v2 review as part of patch 7 rather than here. I don't think it's
> > > necessary to fix that unless there is some actual problem that would
> > > require a resubmit.
> >
> > Hi Michal
> >
> > Yes, squashed it into the wrong patch. But since all it does it change
> > one errno for another, it is unlikely to break bisect. As i agree, we
> > can live with this.
>
> Sorry Andrew, would you mind doing one more quick spin? :(
No problem.
> More importantly we should not use the ENOTSUPP error code, AFAIU it's
> for NFS, it's not a standard error code and user space struggles to
> translate it with strerror(). Would you mind replacing all ENOTSUPPs
> with EOPNOTSUPPs?
O.K.
Would it be worth getting checkpatch warning about this?
Andrew
next prev parent reply other threads:[~2020-05-10 18:23 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-09 16:28 [PATCH net-next v3 00/10] Ethernet Cable test support Andrew Lunn
2020-05-09 16:28 ` [PATCH net-next v3 01/10] net: phy: Add cable test support to state machine Andrew Lunn
2020-05-09 16:28 ` [PATCH net-next v3 02/10] net: phy: Add support for polling cable test Andrew Lunn
2020-05-09 16:28 ` [PATCH net-next v3 03/10] net: ethtool: netlink: Add support for triggering a " Andrew Lunn
2020-05-09 16:28 ` [PATCH net-next v3 04/10] net: ethtool: Add attributes for cable test reports Andrew Lunn
2020-05-10 14:53 ` Michal Kubecek
2020-05-09 16:28 ` [PATCH net-next v3 05/10] net: ethtool: Make helpers public Andrew Lunn
2020-05-10 14:54 ` Michal Kubecek
2020-05-09 16:28 ` [PATCH net-next v3 06/10] net: ethtool: Add infrastructure for reporting cable test results Andrew Lunn
2020-05-10 15:12 ` Michal Kubecek
2020-05-10 16:07 ` Andrew Lunn
2020-05-10 18:00 ` Jakub Kicinski
2020-05-10 18:22 ` Andrew Lunn [this message]
2020-05-10 18:39 ` Jakub Kicinski
2020-05-09 16:28 ` [PATCH net-next v3 07/10] net: ethtool: Add helpers for reporting " Andrew Lunn
2020-05-10 15:16 ` Michal Kubecek
2020-05-09 16:28 ` [PATCH net-next v3 08/10] net: phy: marvell: Add cable test support Andrew Lunn
2020-05-09 16:28 ` [PATCH net-next v3 09/10] net: phy: Put interface into oper testing during cable test Andrew Lunn
2020-05-09 16:28 ` [PATCH net-next v3 10/10] net: phy: Send notifier when starting the " Andrew Lunn
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=20200510182252.GA411829@lunn.ch \
--to=andrew@lunn.ch \
--cc=cphealy@gmail.com \
--cc=davem@davemloft.net \
--cc=f.fainelli@gmail.com \
--cc=hkallweit1@gmail.com \
--cc=kuba@kernel.org \
--cc=michael@walle.cc \
--cc=mkubecek@suse.cz \
--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.