Hi Andrew
quoted
Do you know how to switch between master/slave?
There was a patch to ethtool merged for this:
commit 558f7cc33daf82f945af432c79db40edcbe0dad0
Author: Oleksij Rempel [off-list ref]
Date: Wed Jun 10 10:37:43 2020 +0200
netlink: add master/slave configuration support
I know this.
--
# ./ethtool --version
ethtool version 5.10
# ./ethtool -s eth1 master-slave slave-force
ethtool (-s): invalid value 'slave-force' for parameter 'master-slave'
--
As I wrote in the previous e-mail, it doesn't work because it doesn't
include the process to parse the master-slave argument.
The help of the ethtool command can show about the "master-slave"
option, but it doesn't seem to handle the arguments.
I checked ethtool.c and it seems that do_sset () doesn't implement the
process of parsing master-slave arguments...
Once ethtool works properly, I will test the master-slave switching behavior.