Cleanup to main DSA structures
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest7 patches 18 repliesIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | net: dsa: move dsa_port :: stp_state near dsa_port :: macinclude/ | +3 | 1 reply | |
| 2/7 | net: dsa: merge all bools of struct dsa_port into a single u8include/ | +10 | 6 replies | |
| 3/7 | net: dsa: move dsa_port :: type near dsa_port :: indexinclude/ | +4 | 1 reply | |
| 4/7 | net: dsa: merge all bools of struct dsa_switch into a single u32include/ | +51 | 1 reply | |
| 5/7 | net: dsa: make dsa_switch :: num_ports an unsigned intinclude/ net/ | +2 | 1 reply | |
| 6/7 | net: dsa: move dsa_switch_tree :: ports and lags to first cache lineinclude/ | +9 | 1 reply | |
| 7/7 | net: dsa: combine two holes in struct dsa_switch_treeinclude/ | +3 | 1 reply |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Florian Fainelli |
|---|---|
| 1/7 | R-b |
| 2/7 | R-b |
| 3/7 | R-b |
| 4/7 | R-b |
| 5/7 | R-b |
| 6/7 | R-b |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 net-next 0/7] Cleanup to main DSA structures
This series contains changes that do the following:
- struct dsa_port reduced from 576 to 544 bytes, and first cache line a bit better organized
- struct dsa_switch from 160 to 136 bytes, and first cache line a bit better organized
- struct dsa_switch_tree from 112 to 104 bytes, and first cache line a bit better organized
No changes compared to v1, just split into a separate patch set.
Vladimir Oltean (7):
net: dsa: move dsa_port :: stp_state near dsa_port :: mac
net: dsa: merge all bools of struct dsa_port into a single u8
net: dsa: move dsa_port :: type near dsa_port :: index
net: dsa: merge all bools of struct dsa_switch into a single u32
net: dsa: make dsa_switch :: num_ports an unsigned int
net: dsa: move dsa_switch_tree :: ports and lags to first cache line
net: dsa: combine two holes in struct dsa_switch_tree
include/net/dsa.h | 146 +++++++++++++++++++++++++--------------------- net/dsa/dsa2.c | 2 +- 2 files changed, 81 insertions(+), 67 deletions(-)
Signature · 1 line
2.25.1