Do not call watchdog function while frames are received. stable-1.5
authorFlorian Pose <fp@igh.de>
Wed, 14 Feb 2018 11:46:03 +0100
branchstable-1.5
changeset 2723 37d89f56e9f1
parent 2698 9e65f782e8a1
child 2724 b4a109b9e2a8
Do not call watchdog function while frames are received.
devices/igb/igb_main-3.18-ethercat.c
--- a/devices/igb/igb_main-3.18-ethercat.c	Tue Feb 13 17:16:01 2018 +0100
+++ b/devices/igb/igb_main-3.18-ethercat.c	Wed Feb 14 11:46:03 2018 +0100
@@ -6798,6 +6798,7 @@
 			page_address(rx_buffer->page) + rx_buffer->page_offset;
 		unsigned int size = le16_to_cpu(rx_desc->wb.upper.length);
 		ecdev_receive(adapter->ecdev, va, size);
+		adapter->ec_watchdog_jiffies = jiffies;
 		igb_reuse_rx_page(rx_ring, rx_buffer);
 	}
 	else {