Re: [PATCH net-next] team: add ethtool get_link_ksettings

2019-06-14 Thread David Miller
From: Jiri Pirko Date: Fri, 14 Jun 2019 10:32:25 +0200 > Long story short, I'm okay with your patch. Thanks! This patch should therefore be reposted.

Re: [PATCH net-next] team: add ethtool get_link_ksettings

2019-06-14 Thread Jiri Pirko
Mon, May 27, 2019 at 05:31:10AM CEST, liuhang...@gmail.com wrote: >Like bond, add ethtool get_link_ksettings to show the total speed. > >Signed-off-by: Hangbin Liu Acked-by: Jiri Pirko

Re: [PATCH net-next] team: add ethtool get_link_ksettings

2019-06-14 Thread Jiri Pirko
Thu, Jun 13, 2019 at 08:16:49AM CEST, liuhang...@gmail.com wrote: >On Tue, May 28, 2019 at 01:24:31PM +0200, Jiri Pirko wrote: >> Tue, May 28, 2019 at 12:02:11PM CEST, liuhang...@gmail.com wrote: >> >On Tue, May 28, 2019 at 11:08:23AM +0200, Jiri Pirko wrote: >> >> >+static int team_ethtool_get_lin

Re: [PATCH net-next] team: add ethtool get_link_ksettings

2019-06-13 Thread Hangbin Liu
On Tue, May 28, 2019 at 01:24:31PM +0200, Jiri Pirko wrote: > Tue, May 28, 2019 at 12:02:11PM CEST, liuhang...@gmail.com wrote: > >On Tue, May 28, 2019 at 11:08:23AM +0200, Jiri Pirko wrote: > >> >+static int team_ethtool_get_link_ksettings(struct net_device *dev, > >> >+

Re: [PATCH net-next] team: add ethtool get_link_ksettings

2019-05-28 Thread Jiri Pirko
Tue, May 28, 2019 at 12:02:11PM CEST, liuhang...@gmail.com wrote: >On Tue, May 28, 2019 at 11:08:23AM +0200, Jiri Pirko wrote: >> >+static int team_ethtool_get_link_ksettings(struct net_device *dev, >> >+ struct ethtool_link_ksettings *cmd) >> >+{ >> >+ struct

Re: [PATCH net-next] team: add ethtool get_link_ksettings

2019-05-28 Thread Hangbin Liu
On Tue, May 28, 2019 at 11:08:23AM +0200, Jiri Pirko wrote: > >+static int team_ethtool_get_link_ksettings(struct net_device *dev, > >+ struct ethtool_link_ksettings *cmd) > >+{ > >+struct team *team= netdev_priv(dev); > >+unsigned long speed = 0; > >+

Re: [PATCH net-next] team: add ethtool get_link_ksettings

2019-05-28 Thread Jiri Pirko
Mon, May 27, 2019 at 05:31:10AM CEST, liuhang...@gmail.com wrote: >Like bond, add ethtool get_link_ksettings to show the total speed. > >Signed-off-by: Hangbin Liu >--- > drivers/net/team/team.c | 25 + > 1 file changed, 25 insertions(+) > >diff --git a/drivers/net/team/team

Re: [PATCH net-next] team: add ethtool get_link_ksettings

2019-05-27 Thread David Miller
From: Hangbin Liu Date: Mon, 27 May 2019 11:31:10 +0800 > Like bond, add ethtool get_link_ksettings to show the total speed. > > Signed-off-by: Hangbin Liu Yeah, this mirrors what bonding does. Jiri, please review.

[PATCH net-next] team: add ethtool get_link_ksettings

2019-05-26 Thread Hangbin Liu
Like bond, add ethtool get_link_ksettings to show the total speed. Signed-off-by: Hangbin Liu --- drivers/net/team/team.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c index 2106045b3e16..5e892ee4c006 100644 --- a