On 15.06.2020 01:26, Michal Kubecek wrote:
> On Mon, Jun 15, 2020 at 12:35:30AM +0200, Heiner Kallweit wrote:
>> Seems that disabling ETHTOOL_NETLINK for PHYLIB=m has (at least) one
>> more side effect. I just saw that ifconfig doesn't report LOWER_UP
>> any longer. Reason seems to be that the ioctl fallback supports
>> 16 bits for the flags only (and IFF_LOWER_UP is bit 16).
>> See dev_ifsioc_locked().
> 
> I don't think this is related to CONFIG_ETHTOOL_NETLINK; AFAIK ifconfig
> does not use netlink at all and device flags are certainly not passed
> via ethtool netlink.
> 
Right, my bad. Just mixed up the output of ifconfig and "ip link",
ip link says LOWER_UP whilst ifconfig says RUNNING.

> Michal
> 
Heiner

Reply via email to