From 938e899ca0b5fa31a16172efb2f0124414a3858b Mon Sep 17 00:00:00 2001 From: Nisar Sayed Date: Mon, 11 Sep 2017 17:43:11 +0000 Subject: [PATCH] smsc95xx: Configure pause time to 0xffff when tx flow control enabled commit 9c0827317f235865ae421293f8aecf6cb327a63e upstream. Configure pause time to 0xffff when tx flow control enabled Set pause time to 0xffff in the pause frame to indicate the partner to stop sending the packets. When RX buffer frees up, the device sends pause frame with pause time zero for partner to resume transmission. Fixes: 2f7ca802bdae ("Add SMSC LAN9500 USB2.0 10/100 ethernet adapter driver") Signed-off-by: Nisar Sayed Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-format-patch failed