Device might have multiple CPU port with DSA based switch and OEM
firmware might set specific port to one CPU port (for example WAN) to
sustain full gigabit traffic with the kernel.
To set them iproute2 tool is currently required.
Add support to set the DSA port conduit directly from network config
using netlink. Example:
config device
option name 'lan1'
option conduit 'eth1'
Conduit option refer to the CPU port interface. Invalid option will
simply be ignored and won't be applied similar to what iproute2 does.
Device might have multiple CPU port with DSA based switch and OEM firmware might set specific port to one CPU port (for example WAN) to sustain full gigabit traffic with the kernel.
To set them iproute2 tool is currently required. Add support to set the DSA port conduit directly from network config using netlink. Example:
config device option name 'lan1' option conduit 'eth1'
Conduit option refer to the CPU port interface. Invalid option will simply be ignored and won't be applied similar to what iproute2 does.
Signed-off-by: Christian Marangi ansuelsmth@gmail.com
I included changes from the GRO patch as they are required for the uci_blob_dirr.