Home
last modified time | relevance | path

Searched hist:"99 f93a15" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/arc/
H A Demac_main.c99f93a15 Tue Feb 09 09:20:39 CST 2016 Alexander Kochetkov <al.kochet@gmail.com> net: arc_emac: reset txbd_curr and txbd_dirty pointers to zero

EMAC reset internal tx ring pointer to zero at statup.
txbd_curr and txbd_dirty can be different from zero.
That cause ethernet transfer hang (no packets transmitted).

In order to reproduce, run on device:
ifconfig eth0 down
ifconfig eth0 up

Signed-off-by: Alexander Kochetkov <al.kochet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
99f93a15 Tue Feb 09 09:20:39 CST 2016 Alexander Kochetkov <al.kochet@gmail.com> net: arc_emac: reset txbd_curr and txbd_dirty pointers to zero

EMAC reset internal tx ring pointer to zero at statup.
txbd_curr and txbd_dirty can be different from zero.
That cause ethernet transfer hang (no packets transmitted).

In order to reproduce, run on device:
ifconfig eth0 down
ifconfig eth0 up

Signed-off-by: Alexander Kochetkov <al.kochet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>