The first patch is for 4.13. It's changes the default behavior of the EMAC driver so that it doesn't send pause frames unless the user enables them.
The second patch is for 4.14, but it can be applied to 4.13 if you want. It adds the ability for the user to enable a special "single pause frame" mode that could be useful in some situations. Timur Tabi (2): [for 4.13] net: qcom/emac: disable flow control autonegotiation by default net: qcom/emac: add software control for pause frame mode drivers/net/ethernet/qualcomm/emac/emac-ethtool.c | 30 +++++++++++++++++++++++ drivers/net/ethernet/qualcomm/emac/emac-mac.c | 22 +++++++++++++++++ drivers/net/ethernet/qualcomm/emac/emac.c | 12 +++++++-- drivers/net/ethernet/qualcomm/emac/emac.h | 3 +++ 4 files changed, 65 insertions(+), 2 deletions(-) -- Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.