Re: [PATCH] net: mvpp2: clear flow control modes in 10G mode

2019-02-09 Thread David Miller
From: Russell King - ARM Linux admin Date: Sat, 9 Feb 2019 16:07:08 + > Please ignore this one - subject line is not correct. Thanks. Aha, ok I'll apply the correct one.

Re: [PATCH] net: mvpp2: clear flow control modes in 10G mode

2019-02-09 Thread Russell King - ARM Linux admin
Please ignore this one - subject line is not correct. Thanks. On Sat, Feb 09, 2019 at 04:06:13PM +, Russell King wrote: > When mvpp2 configures the flow control modes in mvpp2_xlg_config() for > 10G mode, it only ever set the flow control enable bits. There is no > mechanism to clear these b

[PATCH] net: mvpp2: clear flow control modes in 10G mode

2019-02-09 Thread Russell King
When mvpp2 configures the flow control modes in mvpp2_xlg_config() for 10G mode, it only ever set the flow control enable bits. There is no mechanism to clear these bits, which means that userspace is unable to use standard APIs to disable flow control (the only way is to poke the register directl