]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit102dda6ca3fee8e7c6d89275729a2a04b6d0df83
tree1457508ad1d7a35be2d88236c870d6c0b4765a76
parent0b80b7706804ea28caf389151795009b4f958af1
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: 3dc367f01e1f ("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