OSDN Git Service

octeontx2-pf: Dont enable backpressure on LBK links
authorHariprasad Kelam <hkelam@marvell.com>
Sun, 25 Jul 2021 07:59:37 +0000 (13:29 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jul 2021 08:25:03 +0000 (09:25 +0100)
commit4c85e57575fb9e6405d02d55aef8025c60abb824
tree1457508ad1d7a35be2d88236c870d6c0b4765a76
parent69f0aeb13bb548e2d5710a350116e03f0273302e
octeontx2-pf: Dont enable backpressure on LBK links

Avoid configure backpressure for LBK links as they
don't support it and enable lmacs before configuration
pause frames.

Fixes: 75f36270990c ("octeontx2-pf: Support to enable/disable pause frames via ethtool")
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/cgx.c
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c