Re: [PATCH net-next 1/3] net: ethtool: add support for forward error correction modes

2017-07-06 Thread Dave Olson
Andrew Lunn wrote: > And when we are talking about SFP modules, we are not talking about > somebody who can just about boiling an egg and put bread in the > toaster. > > Anybody using these SFP modules knows a lot about networking, is a > power user, and probably does not rely on

Re: [PATCH net-next 1/3] net: ethtool: add support for forward error correction modes

2017-07-06 Thread Andrew Lunn
> If you choose to think of a cable unplug/plug event as "hot plug", then > the "reset" is the model that feels right. But I'll note that this is also > presupposing what the right model is for users. This is akin > to trying to decide what to make for dinner and deciding that a > hammer is the

Re: [PATCH net-next 1/3] net: ethtool: add support for forward error correction modes

2017-07-06 Thread Casey Leedom
| From: Andrew Lunn | Sent: Thursday, July 6, 2017 4:15 PM |   | > Even this feels too extreme for me.  I think users would hate it.  They | > did an ifup and swapped cables.  They expect the OS/Driver/Firmware | > to continue trying to honor their ifup request. | | Lets take

Re: [PATCH net-next 1/3] net: ethtool: add support for forward error correction modes

2017-07-06 Thread Jakub Kicinski
On Fri, 7 Jul 2017 01:15:50 +0200, Andrew Lunn wrote: > > Even this feels too extreme for me. I think users would hate it. They > > did an ifup and swapped cables. They expect the OS/Driver/Firmware > > to continue trying to honor their ifup request. > > Lets take a look around at other

Re: [PATCH net-next 1/3] net: ethtool: add support for forward error correction modes

2017-07-06 Thread Andrew Lunn
> Even this feels too extreme for me. I think users would hate it. They > did an ifup and swapped cables. They expect the OS/Driver/Firmware > to continue trying to honor their ifup request. Lets take a look around at other subsystems What happens if you hot-unplug a SATA drive? An MMC

Re: [PATCH net-next 1/3] net: ethtool: add support for forward error correction modes

2017-07-06 Thread Casey Leedom
| From: Jakub Kicinski | Sent: Thursday, July 6, 2017 3:43 PM |   | On Thu, 6 Jul 2017 21:53:46 +, Casey Leedom wrote: | > | > But, and far more importantly, ideally _*ANY*_ such decision is made at an | > architectural level to apply to all Link Parameters

Re: [PATCH net-next 1/3] net: ethtool: add support for forward error correction modes

2017-07-06 Thread Casey Leedom
| From: Andrew Lunn | Sent: Thursday, July 6, 2017 3:33 PM |   | On Thu, Jul 06, 2017 at 09:53:46PM +, Casey Leedom wrote: | > | > But, and far more importantly, ideally _*ANY*_ such decision is made at an | > architectural level to apply to all Link Parameters and Vendor

Re: [PATCH net-next 1/3] net: ethtool: add support for forward error correction modes

2017-07-06 Thread Jakub Kicinski
On Thu, 6 Jul 2017 21:53:46 +, Casey Leedom wrote: > | From: Jakub Kicinski > | Sent: Thursday, July 6, 2017 12:02 PM > | > | IMHO if something gets replugged all the settings should be reset. > | I feel that it's not entirely unlike replugging a USB adapter. Perhaps > | we

Re: [PATCH net-next 1/3] net: ethtool: add support for forward error correction modes

2017-07-06 Thread Casey Leedom
| From: Wyborny, Carolyn | Sent: Thursday, July 6, 2017 3:16 PM | | Agree with your points generally, but other networking hw vendors have | dealt with this since SFP variant and other modules arrived on the scene.  The only case of this of which I'm aware is the SFP+

Re: [PATCH net-next 1/3] net: ethtool: add support for forward error correction modes

2017-07-06 Thread Andrew Lunn
> Agree with your points generally, but other networking hw vendors > have dealt with this since SFP variant and other modules arrived on > the scene. It seems like there is interest now in consolidating this, in the same way that copper PHYs got consolidated. Yes, there are some MAC drivers

Re: [PATCH net-next 1/3] net: ethtool: add support for forward error correction modes

2017-07-06 Thread Andrew Lunn
On Thu, Jul 06, 2017 at 09:53:46PM +, Casey Leedom wrote: > | From: Jakub Kicinski > | Sent: Thursday, July 6, 2017 12:02 PM > | > | IMHO if something gets replugged all the settings should be reset. > | I feel that it's not entirely unlike replugging a USB adapter. Perhaps >

RE: [PATCH net-next 1/3] net: ethtool: add support for forward error correction modes

2017-07-06 Thread Wyborny, Carolyn
chelsio.com>; > yuval.mi...@qlogic.com; od...@mellanox.com; ari...@mellanox.com; > g...@mellanox.com; Kirsher, Jeffrey T <jeffrey.t.kirs...@intel.com> > Subject: Re: [PATCH net-next 1/3] net: ethtool: add support for forward error > correction modes > > | From: Jakub Kicinski

Re: [PATCH net-next 1/3] net: ethtool: add support for forward error correction modes

2017-07-06 Thread Casey Leedom
| From: Jakub Kicinski | Sent: Thursday, July 6, 2017 12:02 PM | | IMHO if something gets replugged all the settings should be reset. | I feel that it's not entirely unlike replugging a USB adapter. Perhaps | we should introduce some (devlink) notifications for SFP module events

RE: [PATCH net-next 1/3] net: ethtool: add support for forward error correction modes

2017-07-06 Thread Wyborny, Carolyn
t...@chelsio.com>; > yuval.mi...@qlogic.com; od...@mellanox.com; ari...@mellanox.com; > g...@mellanox.com; Kirsher, Jeffrey T <jeffrey.t.kirs...@intel.com> > Subject: Re: [PATCH net-next 1/3] net: ethtool: add support for forward error > correction modes > [..]

Re: [PATCH net-next 1/3] net: ethtool: add support for forward error correction modes

2017-07-06 Thread Jakub Kicinski
On Thu, 6 Jul 2017 18:53:42 +, Casey Leedom wrote: > However, the first question which pops up is: what happens if a user > explicitly selects a particular FEC for from the set offered by the > current Transceiver Module, and then swap out Transceiver Modules to > one which doesn't support

Re: [PATCH net-next 1/3] net: ethtool: add support for forward error correction modes

2017-07-06 Thread Casey Leedom
| From: Jakub Kicinski | Sent: Wednesday, June 28, 2017 6:00 PM |   | On Wed, 28 Jun 2017 14:47:51 -0700, Dustin Byford wrote: | > | > You're not the first, or the second to ask that question.  I agree it | > could use clarification. | > | > I always read auto in this context

Re: [PATCH net-next 1/3] net: ethtool: add support for forward error correction modes

2017-06-29 Thread Gal Pressman
> Hi Gal, > > ... >> What is the difference between the information in ethtool DEVNAME and >> ethtool --show-fec DEVNAME? > I think there are two questions there. First, how does the FEC-related > information from glinksettings differ from what's retrieved via > gfecparam. Second, how is that

Re: [PATCH net-next 1/3] net: ethtool: add support for forward error correction modes

2017-06-29 Thread Andrew Lunn
On Wed, Jun 28, 2017 at 02:47:51PM -0700, Dustin Byford wrote: > Hi Andrew, > > On Wed Jun 28 15:41, Andrew Lunn wrote: > > On Tue, Jun 27, 2017 at 03:22:39AM -0700, Jakub Kicinski wrote: > > > On Sat, 24 Jun 2017 12:19:43 -0700, Roopa Prabhu wrote: > > > > Encoding: Types of encoding > > > > Off

Re: [PATCH net-next 1/3] net: ethtool: add support for forward error correction modes

2017-06-28 Thread Jakub Kicinski
On Wed, 28 Jun 2017 14:47:51 -0700, Dustin Byford wrote: > Hi Andrew, > > On Wed Jun 28 15:41, Andrew Lunn wrote: > > On Tue, Jun 27, 2017 at 03:22:39AM -0700, Jakub Kicinski wrote: > > > On Sat, 24 Jun 2017 12:19:43 -0700, Roopa Prabhu wrote: > > > > Encoding: Types of encoding > > > > Off

Re: [PATCH net-next 1/3] net: ethtool: add support for forward error correction modes

2017-06-28 Thread Dustin Byford
Hi Andrew, On Wed Jun 28 15:41, Andrew Lunn wrote: > On Tue, Jun 27, 2017 at 03:22:39AM -0700, Jakub Kicinski wrote: > > On Sat, 24 Jun 2017 12:19:43 -0700, Roopa Prabhu wrote: > > > Encoding: Types of encoding > > > Off: Turning off any encoding > > > RS : enforcing RS-FEC encoding on

Re: [PATCH net-next 1/3] net: ethtool: add support for forward error correction modes

2017-06-28 Thread Andrew Lunn
On Tue, Jun 27, 2017 at 03:22:39AM -0700, Jakub Kicinski wrote: > On Sat, 24 Jun 2017 12:19:43 -0700, Roopa Prabhu wrote: > > Encoding: Types of encoding > > Off: Turning off any encoding > > RS : enforcing RS-FEC encoding on supported speeds > > BaseR : enforcing Base R encoding on

Re: [PATCH net-next 1/3] net: ethtool: add support for forward error correction modes

2017-06-28 Thread Jakub Kicinski
On Tue, 27 Jun 2017 23:27:34 -0700, Dustin Byford wrote: > On Tue Jun 27 03:22, Jakub Kicinski wrote: > > On Sat, 24 Jun 2017 12:19:43 -0700, Roopa Prabhu wrote: > > > Encoding: Types of encoding > > > Off: Turning off any encoding > > > RS : enforcing RS-FEC encoding on supported

Re: [PATCH net-next 1/3] net: ethtool: add support for forward error correction modes

2017-06-28 Thread Dustin Byford
Hi Jakub, On Tue Jun 27 03:22, Jakub Kicinski wrote: > On Sat, 24 Jun 2017 12:19:43 -0700, Roopa Prabhu wrote: > > Encoding: Types of encoding > > Off: Turning off any encoding > > RS : enforcing RS-FEC encoding on supported speeds > > BaseR : enforcing Base R encoding on supported

Re: [PATCH net-next 1/3] net: ethtool: add support for forward error correction modes

2017-06-27 Thread Dustin Byford
Hi Gal, On Sun Jun 25 16:38, Gal Pressman wrote: > > > ... > > > > SHOW FEC option: > > root@tor: ethtool --show-fec swp1 > > FEC parameters for swp1: > > Active FEC encodings: RS > > Configured FEC encodings: RS | BaseR > > > > ETHTOOL DEVNAME output modification: > > > > ethtool devname

Re: [PATCH net-next 1/3] net: ethtool: add support for forward error correction modes

2017-06-27 Thread Jakub Kicinski
On Sat, 24 Jun 2017 12:19:43 -0700, Roopa Prabhu wrote: > Encoding: Types of encoding > Off: Turning off any encoding > RS : enforcing RS-FEC encoding on supported speeds > BaseR : enforcing Base R encoding on supported speeds > Auto : IEEE defaults for the speed/medium combination

Re: [PATCH net-next 1/3] net: ethtool: add support for forward error correction modes

2017-06-25 Thread Gal Pressman
> ... > > SHOW FEC option: > root@tor: ethtool --show-fec swp1 > FEC parameters for swp1: > Active FEC encodings: RS > Configured FEC encodings: RS | BaseR > > ETHTOOL DEVNAME output modification: > > ethtool devname output: > root@tor:~# ethtool swp1 > Settings for swp1: > root@hpe-7712-03:~#

[PATCH net-next 1/3] net: ethtool: add support for forward error correction modes

2017-06-24 Thread Roopa Prabhu
From: Vidya Sagar Ravipati Forward Error Correction (FEC) modes i.e Base-R and Reed-Solomon modes are introduced in 25G/40G/100G standards for providing good BER at high speeds. Various networking devices which support 25G/40G/100G provides ability to manage supported