Re: [PATCH] can: j1939: convert PGN structure to a table

2020-10-27 Thread Yegor Yefremov
On Thu, Oct 22, 2020 at 2:25 PM Kurt Van Dijck wrote: > > On Thu, 22 Oct 2020 12:33:45 +0200, Marc Kleine-Budde wrote: > > On 10/22/20 12:29 PM, yegorsli...@googlemail.com wrote: > > > From: Yegor Yefremov > > > > > > Use table markup to show the PGN stru

Re: [PATCH] can: j1939: use backquotes for code samples

2020-10-26 Thread Yegor Yefremov
Hi Marc, On Mon, Oct 26, 2020 at 11:23 AM Marc Kleine-Budde wrote: > > On 10/26/20 10:44 AM, yegorsli...@googlemail.com wrote: > > From: Yegor Yefremov > > > > Signed-off-by: Yegor Yefremov > > Please add a patch description for upcoming patches. > Please don&

Re: [PATCH] can: ti_hecc: add missing prepare and unprepare of the clock

2017-01-18 Thread Yegor Yefremov
On Wed, Jan 18, 2017 at 11:01 AM, Marc Kleine-Budde wrote: > On 01/18/2017 10:43 AM, yegorsli...@googlemail.com wrote: >> From: Yegor Yefremov >> >> In order to make the driver work with the common clock framework, this >> patch converts the clk_enable()/clk_disable

Re: [PATCH net-next v4 0/4] Fix OdroidC2 Gigabit Tx link issue

2017-01-05 Thread Yegor Yefremov
Hi Russel, On Fri, Jan 6, 2017 at 12:25 AM, Russell King - ARM Linux wrote: > On Mon, Nov 28, 2016 at 09:54:28AM -0800, Florian Fainelli wrote: >> If we start supporting generic "enable", "disable" type of properties >> with values that map directly to register definitions of the HW, we >> leave

Re: [PATCH] cpsw: ethtool: add support for nway reset

2016-11-30 Thread Yegor Yefremov
Hi David, On Wed, Nov 30, 2016 at 1:41 AM, David Miller wrote: > From: yegorsli...@googlemail.com > Date: Mon, 28 Nov 2016 10:47:52 +0100 > >> From: Yegor Yefremov >> >> This patch adds support for ethtool's '-r' command. Restarting >> N-WAY neg

Re: [PATCH] cpsw: ethtool: add support for nway reset

2016-11-28 Thread Yegor Yefremov
On Mon, Nov 28, 2016 at 10:47 AM, wrote: > From: Yegor Yefremov > > This patch adds support for ethtool's '-r' command. Restarting > N-WAY negotiation can be useful to activate newly changed EEE > settings etc. > > Signed-off-by: Yegor Yefremov This patch a

Re: [PATCH net-next v3 1/4] net: phy: add an option to disable EEE advertisement

2016-11-28 Thread Yegor Yefremov
dle seems to be causing issues, even > breaking the link some cases. The patch provides a convenient way for these > platforms to disable EEE advertisement and work around the issue. > > Signed-off-by: Jerome Brunet Tested using Baltos ir2110 device (cpsw + at8035 PHY). Tested-by: Yegor

Re: [PATCH net-next v3 2/4] dt-bindings: net: add EEE capability constants

2016-11-28 Thread Yegor Yefremov
On Mon, Nov 28, 2016 at 10:46 AM, Jerome Brunet wrote: > Signed-off-by: Jerome Brunet Tested using Baltos ir2110 device (cpsw + at8035 PHY). Tested-by: Yegor Yefremov > --- > include/dt-bindings/net/mdio.h | 19 +++ > 1 file changed, 19 insertions(+) > cre

Re: [PATCH v2] cpsw: ethtool: add support for getting/setting EEE registers

2016-11-24 Thread Yegor Yefremov
On Wed, Nov 23, 2016 at 9:15 PM, Florian Fainelli wrote: > On 11/23/2016 12:08 PM, Yegor Yefremov wrote: >> On Wed, Nov 23, 2016 at 6:33 PM, Florian Fainelli >> wrote: >>> On 11/23/2016 06:38 AM, yegorsli...@googlemail.com wrote: >>>> From: Yegor Yefremov &g

Re: [PATCH v2] cpsw: ethtool: add support for getting/setting EEE registers

2016-11-23 Thread Yegor Yefremov
On Wed, Nov 23, 2016 at 6:33 PM, Florian Fainelli wrote: > On 11/23/2016 06:38 AM, yegorsli...@googlemail.com wrote: >> From: Yegor Yefremov >> >> Add the ability to query and set Energy Efficient Ethernet parameters >> via ethtool for applicable devices. > &g

Re: [PATCH] cpsw: ethtool: add support for getting/setting EEE registers

2016-11-23 Thread Yegor Yefremov
Hi Rami, On Wed, Nov 23, 2016 at 3:31 PM, Rami Rosen wrote: > Hi, Yegor, > > Minor comment: these methods should be static. > > +int cpsw_get_eee(struct net_device *ndev, struct ethtool_eee *edata) > +{ > ... > ... > +int cpsw_set_eee(struct net_device *ndev, struct ethtool_eee *edata) > ... ACK

Re: am335x: cpsw at high broadcast load

2016-04-05 Thread Yegor Yefremov
Hi Mugunthan, On Fri, Jul 31, 2015 at 2:22 PM, Yegor Yefremov wrote: > We experience massive problems, when putting am335x based devices into > high broadcast load environment (customer reports). To reproduce the > issue we've written following Python script > > #!/usr/bin

Re: am335x: no multicast reception over VLAN

2016-04-04 Thread Yegor Yefremov
Grygorii, Mugunthan, On Tue, Apr 5, 2016 at 8:11 AM, Mugunthan V N wrote: > On Friday 01 April 2016 05:39 PM, Grygorii Strashko wrote: >> On 03/31/2016 10:52 AM, Yegor Yefremov wrote: >>> On Thu, Mar 31, 2016 at 8:37 AM, Mugunthan V N wrote: >>>> On Thursday

Re: am335x: no multicast reception over VLAN

2016-03-31 Thread Yegor Yefremov
On Thu, Mar 31, 2016 at 12:02 PM, Mugunthan V N wrote: > On Thursday 31 March 2016 01:22 PM, Yegor Yefremov wrote: >> On Thu, Mar 31, 2016 at 8:37 AM, Mugunthan V N wrote: >>> On Thursday 31 March 2016 01:17 AM, Peter Korsgaard wrote: >>>>>>>>> "

Re: am335x: no multicast reception over VLAN

2016-03-31 Thread Yegor Yefremov
On Thu, Mar 31, 2016 at 8:37 AM, Mugunthan V N wrote: > On Thursday 31 March 2016 01:17 AM, Peter Korsgaard wrote: >>> "Mugunthan" == Mugunthan V N writes: >> >> Hi, >> >> > You had received these packets as tcpdump will enable promiscuous mode >> > so that you receive all the packets from

Re: am335x: no multicast reception over VLAN

2016-03-30 Thread Yegor Yefremov
On Wed, Mar 30, 2016 at 7:33 AM, Mugunthan V N wrote: > On Tuesday 29 March 2016 06:14 PM, Grygorii Strashko wrote: >> On 03/29/2016 03:35 PM, Yegor Yefremov wrote: >>> On Tue, Mar 29, 2016 at 1:05 PM, Grygorii Strashko >>> wrote: >>>> On 03/29/2016 0

Re: am335x: no multicast reception over VLAN

2016-03-29 Thread Yegor Yefremov
On Tue, Mar 29, 2016 at 1:05 PM, Grygorii Strashko wrote: > On 03/29/2016 08:21 AM, Yegor Yefremov wrote: >> Hi Mugunthan, >> >> On Tue, Mar 29, 2016 at 6:00 AM, Mugunthan V N wrote: >>> Hi Yegor >>> >>> On Wednesday 16 March 2016 08:35 PM, Yegor Y

Re: am335x: no multicast reception over VLAN

2016-03-28 Thread Yegor Yefremov
Hi Mugunthan, On Tue, Mar 29, 2016 at 6:00 AM, Mugunthan V N wrote: > Hi Yegor > > On Wednesday 16 March 2016 08:35 PM, Yegor Yefremov wrote: >> I have an am335x based board using CPSW in Dual EMAC mode. Without >> VLAN IDs I can receive and send multicast packets [1]. Whe

Re: [PATCH] net: phy: fix PHY_RUNNING in phy_state_machine

2016-03-20 Thread Yegor Yefremov
On Thu, Mar 17, 2016 at 2:41 PM, Andrew Lunn wrote: > On Thu, Mar 17, 2016 at 09:14:17AM +0100, Yegor Yefremov wrote: >> On Thu, Mar 17, 2016 at 12:05 AM, Andrew Lunn wrote: >> > On Wed, Mar 16, 2016 at 11:23:59PM +0100, Yegor Yefremov wrote: >> >> Hi Andrew, >&

am335x: no multicast reception over VLAN

2016-03-19 Thread Yegor Yefremov
I have an am335x based board using CPSW in Dual EMAC mode. Without VLAN IDs I can receive and send multicast packets [1]. When I create VLAN ID: ip link add link eth1 name eth1.100 type vlan id 100 ip addr add 192.168.100.2/24 brd 192.168.100.255 dev eth1.100 route add -net 224.0.0.0 netmask 224.0

Re: [PATCH] net: phy: fix PHY_RUNNING in phy_state_machine

2016-03-19 Thread Yegor Yefremov
Hi Andrew, On Wed, Mar 16, 2016 at 5:18 PM, Andrew Lunn wrote: > On Wed, Mar 16, 2016 at 04:59:23PM +0100, Yegor Yefremov wrote: > >> This patch breaks my am335x based board, where one of the CPSW slaves >> is connected to IP175D switch chip via RMII interface. Since th

Re: [PATCH] net: phy: fix PHY_RUNNING in phy_state_machine

2016-03-19 Thread Yegor Yefremov
On Thu, Mar 17, 2016 at 12:05 AM, Andrew Lunn wrote: > On Wed, Mar 16, 2016 at 11:23:59PM +0100, Yegor Yefremov wrote: >> Hi Andrew, >> >> On Wed, Mar 16, 2016 at 5:18 PM, Andrew Lunn wrote: >> > On Wed, Mar 16, 2016 at 04:59:23PM +0100, Yegor Yefremov wrote: &

Re: [PATCH] net: phy: fix PHY_RUNNING in phy_state_machine

2016-03-19 Thread Yegor Yefremov
On Fri, Aug 14, 2015 at 6:23 AM, wrote: > From: Shaohui Xie > > Currently, if phy state is PHY_RUNNING, we always register a CHANGE > when phy works in polling or interrupt ignored, this will make the > adjust_link being called even the phy link did Not changed. > > checking the phy link to make

Re: [PATCH] net: phy: fix PHY_RUNNING in phy_state_machine

2016-03-19 Thread Yegor Yefremov
On Thu, Mar 17, 2016 at 4:12 PM, Andrew Lunn wrote: >> After changing cpsw_emac0 entry to: >> >> &cpsw_emac0 { >> phy-mode = "rmii"; >> dual_emac_res_vlan = <1>; >> fixed-link { >> speed = <100>; >> full-duplex; >> }; >> }; >> >> I've

Re: [PATCH] net: phy: fix PHY_RUNNING in phy_state_machine

2016-03-19 Thread Yegor Yefremov
On Thu, Mar 17, 2016 at 4:28 PM, Andrew Lunn wrote: >> > You should however consider writing a DSA driver for the switch. >> >> Do you mean SWITCHDEV or is this more or less the same? From time to >> time I'm looking at DSA/switchdev patches in the mailing list, but >> there seems to be not so man

option driver crashes on modem removal

2015-08-11 Thread Yegor Yefremov
I have following problem. When removing USB dongle 07d1:3e01 or SierraWireless MC7304 I get following messages: option1 ttyUSB10: option_instat_callback: error -71 option1 ttyUSB9: option_instat_callback: error -71 option1 ttyUSB10: option_instat_callback: error -71 option1 ttyUSB9: option_instat_

am335x: cpsw at high broadcast load

2015-07-31 Thread Yegor Yefremov
We experience massive problems, when putting am335x based devices into high broadcast load environment (customer reports). To reproduce the issue we've written following Python script #!/usr/bin/python # Send UDP broadcast packets myport = 5 import sys, time from socket import * if len(sys.

Re: [PATCH iproute2] Replace BSD MAXPATHLEN by POSIX PATH_MAX

2015-07-27 Thread Yegor Yefremov
On Sun, Jul 26, 2015 at 9:25 PM, Felix Janda wrote: > Prefer using the POSIX constant PATH_MAX instead of the legacy BSD > derived MAXPATHLEN. The necessary includes for MAXPATHLEN and PATH_MAX > are and , respectively. > > Signed-off-by: Felix Janda Tested-by: Yegor Yefremov

Re: [PATCH v2 iproute2] tc: fix bpf compilation with old glibc

2015-07-27 Thread Yegor Yefremov
t;> CC: Daniel Borkmann >> Fixes: 88eea5395483 ("tc: {f,m}_bpf: allow to retrieve uds path from env") >> Signed-off-by: Nicolas Dichtel >> --- >> >> v2: rework the fix to use getenv() instead of secure_getenv() > > had the same workaround locall

Re: [PATCH iproute2] Use PATH_MAX instead of MAXPATHLEN

2015-07-21 Thread Yegor Yefremov
On Wed, Apr 29, 2015 at 6:52 PM, Felix Janda wrote: > Florian Fainelli wrote: >> On 27/04/15 09:13, Stephen Hemminger wrote: >> > On Sat, 25 Apr 2015 22:33:28 +0200 >> > Felix Janda wrote: >> > >> >> They are equivalent but the former is more common. PATH_MAX is >> >> specified by POSIX and needs

Re: [PATCH v4 iproute2] ip: Add color output option

2015-04-28 Thread Yegor Yefremov
s > - mac address > - up/down state > > Signed-off-by: Mathias Nyman Tested-by: Yegor Yefremov > --- > > v4 - Remove leading spaces added by email client > > include/color.h | 16 +++ > ip/ip.c | 5 - > ip/ipaddress.c | 43 +