Skip to content

Commit abb48f8

Browse files
xiaofeisdavem330
authored andcommitted
net: dsa: qca8k: enable port flow control
Set phy device advertising to enable MAC flow control. Signed-off-by: Xiaofei Shen <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 055d882 commit abb48f8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

drivers/net/dsa/qca8k.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*
33
* Copyright (C) 2009 Felix Fietkau <[email protected]>
44
* Copyright (C) 2011-2012 Gabor Juhos <[email protected]>
5-
* Copyright (c) 2015, The Linux Foundation. All rights reserved.
5+
* Copyright (c) 2015, 2019, The Linux Foundation. All rights reserved.
66
* Copyright (c) 2016 John Crispin <[email protected]>
77
*/
88

@@ -935,6 +935,8 @@ qca8k_port_enable(struct dsa_switch *ds, int port,
935935
qca8k_port_set_status(priv, port, 1);
936936
priv->port_sts[port].enabled = 1;
937937

938+
phy_support_asym_pause(phy);
939+
938940
return 0;
939941
}
940942

0 commit comments

Comments
 (0)