Re: [PATCH net-next v4 1/2] ethtool: provide UAPI for PHY master/slave configuration.

2020-05-01 Thread Michal Kubecek
On Fri, May 01, 2020 at 05:52:10PM +0200, Michal Kubecek wrote: > On Fri, May 01, 2020 at 09:46:32AM +0200, Oleksij Rempel wrote: > [...] > > static int ethnl_update_linkmodes(struct genl_info *info, struct nlattr > > **tb, > > struct ethtool_link_ksettings *ksetting

Re: [PATCH net-next v4 1/2] ethtool: provide UAPI for PHY master/slave configuration.

2020-05-01 Thread Michal Kubecek
On Fri, May 01, 2020 at 09:46:32AM +0200, Oleksij Rempel wrote: > This UAPI is needed for BroadR-Reach 100BASE-T1 devices. Due to lack of > auto-negotiation support, we needed to be able to configure the > MASTER-SLAVE role of the port manually or from an application in user > space. > > The same

[PATCH net-next v4 1/2] ethtool: provide UAPI for PHY master/slave configuration.

2020-05-01 Thread Oleksij Rempel
This UAPI is needed for BroadR-Reach 100BASE-T1 devices. Due to lack of auto-negotiation support, we needed to be able to configure the MASTER-SLAVE role of the port manually or from an application in user space. The same UAPI can be used for 1000BASE-T or MultiGBASE-T devices to force MASTER or S