On Sat, 24 Aug 2019 17:24:07 +0200 Andrew Lunn <and...@lunn.ch> wrote:
> So this is all about transmit from the host out the switch. What about > receive? How do you tell the switch which CPU interface it should use > for a port? Andrew, we use the same. The DSA slave implementation of ndo_set_iflink will also tell the switch driver to change the CPU port for that port. Patch 3 also adds operation port_change_cpu_port to the DSA switch operations. This is called from dsa_slave_set_iflink (at least in this first proposal). Marek