Net core changed implementation upstream. This results in nss-dp
printing confusing info log to the user as it does print
the netdev name before netdev is registered. Move the old log to dbg
and add an additional info log after netdev_register to give the user
feedback of correct driver probe.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Codeaurora is now in archive-only mode as everything has been moved to the
Gitlab based git.codelinaro.org
So, update all of the source URL-s as well as update to the latest 11.4
commit if there is a newer one.
Refresh patches as well if any have offsets or fuzzes.
Signed-off-by: Robert Marko <robimarko@gmail.com>
Try and solve the roaming issue by trying to replicate what NSS bridge
module is doing, but by utilizing switchdev FDB notifiers instead of
adding new notifiers to the bridge code.
We register a new non-blocking switchdev notifier and simply wait for
notification, and then process the SWITCHDEV_FDB_DEL_TO_DEVICE
notifications.
Those tell us that a certain FDB entry should be removed, then a VSI ID
is fetched for the physical PPE port and using that VSI ID and the
notification provided MAC adress existing FDB entry gets removed.
Mark qca-nss-dp as conflicting with the old NSS bridge module so
both cant be installed at the same time.
Signed-off-by: Robert Marko <robimarko@gmail.com>
Mark the NSS-DP kmod as required for preinit, thus it gets loaded before
preinit.
This finally allows using failsafe as now the network interfaces are
available for preinit to configure them.
Its still required to set the correct interface in preinit script for
each board.
Signed-off-by: Robert Marko <robimarko@gmail.com>
Since kernel 5.15 ethernet/PHY related IOCTL-s have been split from the
generic IOCTL netdev op.
So, implement the new op instead of the generic one which is considered
for private IOCTL-s only now for 5.15+.
Signed-off-by: Robert Marko <robimarko@gmail.com>
Recently OpenWrt backported the updated of_get_mac_address()
function which returns and error code instead.
So, patch the SSDK to use it and fix the compilation error.
Signed-off-by: Robert Marko <robimarko@gmail.com>
Add NSS-DP from QSDK11.4.
NSS-DP is the ethernet driver kernel module.
It can be used in standalone mode or with NSS offloading.
It includes patches to it in order to work under kernel 5.10.
Made for and tested only for IPQ807x.
Signed-off-by: Robert Marko <robimarko@gmail.com>