Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1610636 > unrolled thread

Re: [PATCH 1/1] ethtool : added get_phy_stats,get_strings,get_sset_count

Started byAndrew Lunn <andrew@lunn.ch>
First post2017-03-28 14:20 +0200
Last post2017-03-28 14:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 1/1] ethtool : added  get_phy_stats,get_strings,get_sset_count Andrew Lunn <andrew@lunn.ch> - 2017-03-28 14:20 +0200

#1610636 — Re: [PATCH 1/1] ethtool : added get_phy_stats,get_strings,get_sset_count

FromAndrew Lunn <andrew@lunn.ch>
Date2017-03-28 14:20 +0200
SubjectRe: [PATCH 1/1] ethtool : added get_phy_stats,get_strings,get_sset_count
Message-ID<tpYgr-7p2-55@gated-at.bofh.it>
On Tue, Mar 28, 2017 at 11:56:40AM +0530, Thomas Scariah wrote:
> Hello Florian/Andrew,
> 
> 
> On Mon, Mar 27, 2017 at 10:14 PM, Florian Fainelli <f.fainelli@gmail.com>
> wrote:
> 
> > Hello,
> >
> > On 03/27/2017 03:12 AM, Thomas Scariah wrote:
> > > From: "Scariah, Thomas" <thomas.scariah@harman.com>
> > >
> > >  Added functions to support ethtool to print the phy statistics and error
> > >  information along with other ethtool statistics. This will help ethtool
> > >  information to know the error is from physical layer or MAC layer.
> > >  This is an enahancement for ethtool to accommodate phy statistics
> >
> > It sounds like your patch should actually be 3 different patches:
> >
> > - add helper function to the core PHY library
> > - add statistics support to the Micrel PHY driver
> > - hook the proper ndo operations in cpsw to allow querying the PHY
> > driver's statistics
> >
> 
> Yes agreed. This can be 3 different patches .
> Anyway the latest kernel already has the same change.
> I have developed this patch against Kernel 4.4.14 and the similar
> functionality was not available.

Hi Thomas

O.K, using v4.4 explains a lot. However, we only accept patches
against:

git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git

I still suggest you only do the PHY driver parts, and don't touch the
MAC driver.

	Andrew

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web