mlxsw: SPAN cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mlxsw: spectrum: Fix a coding style nitdrivers/ | +2 | 0 replies | |
| 2/3 | mlxsw: spectrum: Drop struct span_entry.useddrivers/ drivers/ | +2 | 0 replies | |
| 3/3 | mlxsw: spectrum: Move SPAN code to separate moduledrivers/ drivers/ drivers/ +3 more | +433 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch net-next 0/3] mlxsw: SPAN cleanups
From: Jiri Pirko <[email protected]>
In patch one of this short series, a misplaced pointer star is moved to the correct place.
In the second patch, we observe that if SPAN entries carry their reference count anyway, it's redundant to also carry a "used" flag.
In the third patch, SPAN support code is moved to a separate module.
Petr Machata (3):
mlxsw: spectrum: Fix a coding style nit
mlxsw: spectrum: Drop struct span_entry.used
mlxsw: spectrum: Move SPAN code to separate module
drivers/net/ethernet/mellanox/mlxsw/Makefile | 2 +- drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 322 +------------------ drivers/net/ethernet/mellanox/mlxsw/spectrum.h | 30 +- .../mellanox/mlxsw/spectrum_acl_flex_actions.c | 1 + .../net/ethernet/mellanox/mlxsw/spectrum_span.c | 356 +++++++++++++++++++++ .../net/ethernet/mellanox/mlxsw/spectrum_span.h | 73 +++++ 6 files changed, 433 insertions(+), 351 deletions(-) create mode 100644 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c create mode 100644 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.h
Signature · 1 line
2.14.3