net/mlx5: Memory optimizations
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest7 patches 2 repliesIn review
- v37 patches 5 repliesSuperseded
- v26 patches 2 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 4 patches | 6 replies | Superseded |
Changes in v4 from the cover letter
- align devlink_param doc of EQ size params to u32. v2->v3:
- change type of EQ size params to u32 per Jiri suggestion.
- separate ifc changes to new patch
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | net/mlx5: Introduce log_max_current_uc_list_wr_supported bitinclude/ | +1 | 0 replies | |
| 2/7 | devlink: Add new "io_eq_size" generic device paramDocumentation/ include/ net/ | +12 | 1 reply | |
| 3/7 | net/mlx5: Let user configure io_eq_size paramDocumentation/ drivers/ drivers/ | +35 | 0 replies | |
| 4/7 | devlink: Add new "event_eq_size" generic device paramDocumentation/ include/ net/ | +12 | 1 reply | |
| 5/7 | net/mlx5: Let user configure event_eq_size paramDocumentation/ drivers/ drivers/ | +25 | 0 replies | |
| 6/7 | devlink: Clarifies max_macs generic devlink paramDocumentation/ | +4 | 0 replies | |
| 7/7 | net/mlx5: Let user configure max_macs generic paramDocumentation/ drivers/ drivers/ | +91 | 0 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Moshe Shemesh | Jiri Pirko | Parav Pandit |
|---|---|---|---|
| 1/7 | R-b | ||
| 2/7 | R-b | R-b | |
| 3/7 | R-b | ||
| 4/7 | R-b | R-b | |
| 5/7 | R-b | ||
| 6/7 | R-b | ||
| 7/7 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH net-next v4 0/7] net/mlx5: Memory optimizations
This series provides knobs which will enable users to minimize memory consumption of mlx5 Functions (PF/VF/SF). mlx5 exposes two new generic devlink params for EQ size configuration and uses devlink generic param max_macs.
Patches summary:
- Patch-1 Introduce log_max_current_uc_list_wr_supported bit
- Patches-2-3 Provides I/O EQ size param which enables to save up to 128KB.
- Patches-4-5 Provides event EQ size param which enables to save up to 512KB.
- Patch-6 Clarify max_macs param.
- Patch-7 Provides max_macs param which enables to save up to 70KB
In total, this series can save up to 700KB per Function.
---
changelog:v3->v4:
- align devlink_param doc of EQ size params to u32. v2->v3:
- change type of EQ size params to u32 per Jiri suggestion.
- separate ifc changes to new patchv1->v2:
- convert io_eq_size and event_eq_size from devlink_resources to generic devlink_params
Shay Drory (7):
net/mlx5: Introduce log_max_current_uc_list_wr_supported bit
devlink: Add new "io_eq_size" generic device param net/mlx5: Let user configure io_eq_size param
devlink: Add new "event_eq_size" generic device param net/mlx5: Let user configure event_eq_size param
devlink: Clarifies max_macs generic devlink param net/mlx5: Let user configure max_macs generic param
.../networking/devlink/devlink-params.rst | 12 ++- Documentation/networking/devlink/mlx5.rst | 10 +++ .../net/ethernet/mellanox/mlx5/core/devlink.c | 88 +++++++++++++++++++ drivers/net/ethernet/mellanox/mlx5/core/eq.c | 34 ++++++- .../net/ethernet/mellanox/mlx5/core/main.c | 21 +++++ include/linux/mlx5/mlx5_ifc.h | 2 +- include/net/devlink.h | 8 ++ net/core/devlink.c | 10 +++ 8 files changed, 180 insertions(+), 5 deletions(-)
Signature · 1 line
2.21.3