]> 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>
Thu, 15 Mar 2018 14:18:10 +0000 (15:18 +0100)
commit8e73144c3daaf87fc90dab474065da16fada8415
tree41a74a4f8b47f559c6d92d3fd0354937af4d9750
parentdf43b23c70913285f2542d5f5f524242b0273384
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