Issues have been reported with NAT loopback and ECM,
caused by the ECM init script enabling bridge filtering
too early. Introduce a config option to enable bridge
filtering (on by default).
Package tool that allow mathematically calculating the current CPU
frequency to validate the values read by kernel.
Signed-off-by: Robert Marko <robimarko@gmail.com>
This "newer" version allows using 3rd party PHYs that are already
supported in the upstream kernel. Some devices use non-QCA PHYs, and
thus must rely on the kernel PHY drivers instead.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Signed-off-by: Robert Marko <robimarko@gmail.com>
This reverts commit abdc8ff534, reversing
changes made to 76602b9c18.
It looks like this needs to be further refined as users are reporting
reduced performance and we also see spurious NAPI over-budget warnings.
Signed-off-by: Robert Marko <robimarko@gmail.com>
2e82c51 nss-dp: edma-v1: improve napi and irq handling for rx/tx
92aa9ba nss-dp: edma-v1: add support for threaded napi
75129b9 nss-dp: edma-v1: split tx/rx path to specific napi and irq
2c27cb4 nss-dp: edma-v1: convert rx/tx store to idr implementation
Utilize napi_gro_receive instead of plain netif_receive_skb on EDMA v1.
It provides significant performance improvements when testing with iperf3.
Signed-off-by: Robert Marko <robimarko@gmail.com>
A phy-handle is a more intuitive way to declare the PHY connection
when compared to the abomination that qualcomm implemented. In the
interest of maintaing the sanity of developers porting hardware,
shield them from the abomination wth the use of 'phy-handle.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Add patch to permit more modularization and disable
additional module not used. PPPOE is disabled by default.
Will be enabled later if PPPOE offload will be reintroduced.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
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>
Drop use of dmac_{inv/clean}_range and use generic dma sync api.
This should permit us to compile nss-drv without adding additional
patch to the upstream kernel.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Without this, the "net.bridge.bridge" will append into /etc/sysctl.d/qca-nss-ecm.conf in every system reboot/startup.
Signed-off-by: Xiaoli Chan <2209553467@qq.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>