mlxsw: Mirroring cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | mlxsw: spectrum_span: Reduce nesting in mlxsw_sp_span_entry_configure()drivers/ | +19 | 0 replies | |
| 2/5 | mlxsw: spectrum_span: Rename parms() to parms_set()drivers/ drivers/ | +9 | 0 replies | |
| 3/5 | mlxsw: spectrum_span: Remove unnecessary debug printsdrivers/ | +0 | 0 replies | |
| 4/5 | mlxsw: spectrum_span: Use 'refcount_t' for reference countingdrivers/ drivers/ | +10 | 0 replies | |
| 5/5 | mlxsw: spectrum_span: Replace zero-length array with flexible-array memberdrivers/ | +1 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Jiri Pirko |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | R-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/5] mlxsw: Mirroring cleanups
From: Ido Schimmel <[email protected]>
This patch set contains various cleanups in SPAN (mirroring) code noticed by Amit and I while working on future enhancements in this area. No functional changes intended. Tested by current mirroring selftests.
Patches #1-#2 from Amit reduce nesting in a certain function and rename a callback to a more meaningful name.
Patch #3 removes debug prints that have little value.
Patch #4 converts a reference count to 'refcount_t' in order to catch over/under flows.
Patch #5 replaces a zero-length array with flexible-array member in order to get a compiler warning in case the flexible array does not occur last in the structure.
Amit Cohen (2):
mlxsw: spectrum_span: Reduce nesting in
mlxsw_sp_span_entry_configure()
mlxsw: spectrum_span: Rename parms() to parms_set()
Ido Schimmel (3):
mlxsw: spectrum_span: Remove unnecessary debug prints
mlxsw: spectrum_span: Use 'refcount_t' for reference counting
mlxsw: spectrum_span: Replace zero-length array with flexible-array
member
.../ethernet/mellanox/mlxsw/spectrum_span.c | 66 ++++++++++--------- .../ethernet/mellanox/mlxsw/spectrum_span.h | 7 +- 2 files changed, 39 insertions(+), 34 deletions(-)
Signature · 1 line
2.24.1