On 5/11/2020 5:24 PM, Doug Berger wrote:
> A comment in uapi/linux/ethtool.h states "Drivers should reject a
> non-zero setting of @autoneg when autoneogotiation is disabled (or
> not supported) for the link".
>
> That check should be added to phy_validate_pause() to consolidate
> the code where possible.
>
> Fixes: 22b7d29926b5 ("net: ethernet: Add helper to determine if pause
> configuration is supported")
> Signed-off-by: Doug Berger <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
--
Florian
- Re: [PATCH net-next 1/4] n... Doug Berger
- Re: [PATCH net-next 1... Russell King - ARM Linux admin
- Re: [PATCH net-ne... Russell King - ARM Linux admin
- Re: [PATCH net-ne... Andrew Lunn
- Re: [PATCH net-ne... Michal Kubecek
- Re: [PATCH net-ne... Russell King - ARM Linux admin
- Re: [PATCH net-ne... Doug Berger
- Re: [PATCH net-ne... Doug Berger
- Re: [PATCH net-next 1/4] net: ... Michal Kubecek
- Re: [PATCH net-next 1/4] n... Doug Berger
- Re: [PATCH net-next 1/4] net: ethernet... Florian Fainelli
- [PATCH net-next 2/4] net: add autoneg param... Doug Berger
- [PATCH net-next 3/4] net: ethernet: introdu... Doug Berger
- Re: [PATCH net-next 3/4] net: ethernet... Andrew Lunn
- Re: [PATCH net-next 3/4] net: ethe... Doug Berger
- Re: [PATCH net-next 3/4] net: ethernet... Florian Fainelli
- Re: [PATCH net-next 3/4] net: ethernet... Russell King - ARM Linux admin
- Re: [PATCH net-next 3/4] net: ethe... Doug Berger
