Thread (6 messages) 6 messages, 2 authors, 2017-06-13

Re: [PATCH net-next v4 0/4] net: dsa: Multi-CPU ground work (v4)

flat view

From: David Miller <davem@davemloft.net>
Date: 2017-06-13 20:35:44

From: Florian Fainelli <f.fainelli@gmail.com>
Date: Tue, 13 Jun 2017 13:27:18 -0700
This patch series prepares the ground for adding mutliple CPU port support to
DSA, and starts by removing redundant pieces of information such as
master_netdev which is cpu_dp->ethernet. Finally drivers are moved away from
directly accessing ds->dst->cpu_dp and use appropriate helper functions.

Note that if you have Device Tree blobs/platform configurations that are
currently listing multiple CPU ports, the proposed behavior in
dsa_ds_get_cpu_dp() will be to return the last bit set in ds->cpu_port_mask.

Future plans include:
- making dst->cpu_dp a flexible data structure (array, list, you name it)
- having the ability for drivers to return a default/preferred CPU port (if
  necessary)

Changes in v4:

- fixed build warning with NETPOLL enabled
 ...

Applied, thanks for the quick respin.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help