]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
net: ethernet: xilinx: Fix ping not working after ifdown and ifup
authorKedareswara rao Appana <appana.durga.rao@xilinx.com>
Sat, 17 Jun 2017 11:25:23 +0000 (16:55 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 21 Jun 2017 10:26:15 +0000 (12:26 +0200)
commit8b9398cefef530d063f250b92944fb2dd1349411
tree30d01f97cc47a7481c9d4522230c9e96dc5cfc17
parent6589fe807c56e6f4dee12c1ea52a7f6ea8cbb9c4
net: ethernet: xilinx: Fix ping not working after ifdown and ifup

With the existing driver if user does a ifdown and ifup
of the ethernet interface data integrity is not working.
We are stoping the ndev in the close/down but not starting
the ndev in the open/up.

This patch fixes this issue by starting the ndev in the open/up().

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Acked-by: Harini Katakam <harinik@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/ethernet/xilinx/xilinx_axienet_main.c