I have a couple of Solid Run ClearFog pro boards https://www.solid-run.com/marvell-armada-family/clearfog/ they have a switch chipset in them The driver in 4.8 is chip and prior to 4.8 was mv88e6xxx it is switchdev related the device I have has lan1-6 devices that are attached to eth1 cat /sys/class/net/lan1/uevent DEVTYPE=dsa OF_NAME=port OF_FULLNAME=/dsa@0/switch@0/port@0 OF_COMPATIBLE_N=0 INTERFACE=lan1 IFINDEX=5 NetworkManager shows # nmcli device DEVICE TYPE STATE CONNECTION bridge0 bridge connected bridge0 eth0 ethernet connected eth0 eth2 ethernet connecting (getting IP configuration) Wired connection 1 eth1 ethernet disconnected -- lo loopback unmanaged -- lan1 unknown unmanaged -- lan2 unknown unmanaged -- lan3 unknown unmanaged -- lan4 unknown unmanaged -- lan5 unknown unmanaged -- lan6 unknown unmanaged -- I have attempted to add in NM the lan devices to bridge0 however I have to bring the link up and manually add them all to the bridge. I should be able to put the ports on different vlans and assign ips to them or put them in a bridge and use them as a switch with or without addressing The devices are detected as NMDeviceGeneric rather than NMDeviceEthernet which is likely due to NetworkManager not recognising DEVTYPE=dsa as ethernet
just tested with suggested patch https://koji.fedoraproject.org/koji/taskinfo?taskID=22272514 on f27 with esspressobin should we get it to f27 also?
nmcli c modify Wired\ connection\ 1 ipv4.method disabled ipv6.method ignore connection.id eth0 nmcli c add con-name wan ifname wan type ethernet ipv4.method auto ipv6.method ignore ########## [root@localhost ~]# nmcli con NAME UUID TYPE DEVICE eth0 e27ef1c8-6927-3c3b-822a-2d2c2db7701c 802-3-ethernet eth0 wan 76d63904-70d7-4489-8a5a-97525cdfc3f8 802-3-ethernet wan [root@localhost ~]# nmcli dev DEVICE TYPE STATE CONNECTION eth0 ethernet connected eth0 wan ethernet connected wan lan0 ethernet unavailable -- lan1 ethernet unavailable -- bond0 bond unmanaged -- lo loopback unmanaged -- [root@localhost ~]#
fixed upstream https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=5c2ee8b26e540e0afaae2063d6e6121f9dce7c7f
NetworkManager-1.8.4-6.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-55996a5a4f
NetworkManager-1.8.4-6.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-55996a5a4f
NetworkManager-1.8.4-6.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.