Re: [RFC PATCH 07/16] dsa: Remove dynamic allocate of routing table
Hi Andrew, Andrew Lunnwrites: > /* > - * An array (with nr_chips elements) of which element [a] > - * indicates which port on this switch should be used to > - * send packets to that are destined for switch a. Can be > - * NULL if there is only one
[RFC PATCH 07/16] dsa: Remove dynamic allocate of routing table
With a maximum of four switches, the size of the routing table is the same as the pointer to it. Removing it makes the code simpler. Signed-off-by: Andrew Lunn--- drivers/net/dsa/mv88e6xxx.c | 3 +-- include/net/dsa.h | 10 +- net/dsa/dsa.c | 12