Switch API optimizations
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest7 patches 8 repliesIn review
- v27 patches 3 repliesSuperseded
- v16 patches 10 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | ice: Remove unused struct ice_prot_lkup_ext membersdrivers/ drivers/ | +19 | 1 reply | |
| 2/7 | ice: Remove reading all recipes before adding a new onedrivers/ | +2 | 1 reply | |
| 3/7 | ice: Simplify bitmap setting in adding recipedrivers/ | +9 | 1 reply | |
| 4/7 | ice: remove unused recipe bookkeeping datadrivers/ drivers/ drivers/ | +15 | 1 reply | |
| 5/7 | ice: Optimize switch recipe creationdrivers/ drivers/ drivers/ | +212 | 1 reply | |
| 6/7 | ice: Remove unused members from switch APIdrivers/ drivers/ drivers/ +1 more | +10 | 1 reply | |
| 7/7 | ice: Add tracepoint for adding and removing switch rulesdrivers/ drivers/ drivers/ +1 more | +43 | 2 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Przemek Kitszel | Michal Swiatkowski | Simon Horman | Sujai Buvaneswaran |
|---|---|---|---|---|
| 1/7 | R-b | T-b | ||
| 2/7 | R-b | T-b | ||
| 3/7 | R-b | T-b | ||
| 4/7 | R-b | T-b | ||
| 5/7 | R-b | T-b | ||
| 6/7 | R-b | T-b | ||
| 7/7 | R-b | R-b | R-b | T-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 4 reviewers.
Cover letter [PATCH iwl-next v3 0/7] Switch API optimizations
Optimize the process of creating a recipe in the switch block by removing duplicate switch ID words and changing how result indexes are fitted into recipes. In many cases this can decrease the number of recipes required to add a certain set of rules, potentially allowing a more varied set of rules to be created. Total rule count will also increase, since less words will be left unused/wasted. There are only 64 rules available in total, so every one counts.
After this modification, many fields and some structs became unused or were simplified, resulting in overall simpler implementation.
Marcin Szycik (4):
ice: Remove unused struct ice_prot_lkup_ext members
ice: Optimize switch recipe creation
ice: Remove unused members from switch API
ice: Add tracepoint for adding and removing switch rules
Michal Swiatkowski (3):
ice: Remove reading all recipes before adding a new one
ice: Simplify bitmap setting in adding recipe
ice: remove unused recipe bookkeeping data
drivers/net/ethernet/intel/ice/ice_common.c | 11 +- .../ethernet/intel/ice/ice_protocol_type.h | 43 +- drivers/net/ethernet/intel/ice/ice_switch.c | 674 ++++++------------ drivers/net/ethernet/intel/ice/ice_switch.h | 20 +- drivers/net/ethernet/intel/ice/ice_trace.h | 18 + drivers/net/ethernet/intel/ice/ice_type.h | 2 + 6 files changed, 272 insertions(+), 496 deletions(-)
---
v3: Add tracepoint usage and exapmle output (patch 7) v2 [2]:
* Nicify checking sizeof struct field
* Add a tracepoint for tracking recipe/rule utilization (patch 7)
v1: [1]
[1] https://lore.kernel.org/intel-wired-lan/[email protected]/T/#t
[2] https://lore.kernel.org/intel-wired-lan/[email protected]/T/#t
Signature · 1 line
2.45.0