ipv4: Convert several tos fields to dscp_t
Status from this message: This series was applied to netdev/net-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 5 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | ipv4: Use dscp_t in struct fib_rt_infodrivers/ drivers/ drivers/ +4 more | +17 | 2 replies | Applied |
| 2/5 | ipv4: Use dscp_t in struct fib_entry_notifier_infodrivers/ drivers/ drivers/ +2 more | +11 | 2 replies | Applied |
| 3/5 | netdevsim: Use dscp_t in struct nsim_fib4_rtdrivers/ | +3 | 3 replies | Applied |
| 4/5 | mlxsw: Use dscp_t in struct mlxsw_sp_fib4_entrydrivers/ | +6 | 1 reply | Applied |
| 5/5 | net: marvell: prestera: Use dscp_t in struct prestera_kern_fib_cachedrivers/ | +3 | 1 reply | Applied |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Jakub Kicinski | Ido Schimmel | David Ahern | Yevhen Orlov |
|---|---|---|---|---|
| 1/5 | R-b | R-b | ||
| 2/5 | R-b | R-b | ||
| 3/5 | A-b | R-b | 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. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH net-next 0/5] ipv4: Convert several tos fields to dscp_t
Continue the work started with commit a410a0cf9885 ("ipv6: Define dscp_t and stop taking ECN bits into account in fib6-rules") and convert more structure fields and variables to dscp_t. This series focuses on struct fib_rt_info, struct fib_entry_notifier_info and their users (networking drivers).
The purpose of dscp_t is to ensure that ECN bits don't influence IP route lookups. It does so by ensuring that dscp_t variables have the ECN bits cleared.
Notes:
* This series is entirely about type annotation and isn't supposed
to have any user visible effect.
* The first two patches have to introduce a few dsfield <-> dscp
conversions in the affected drivers, but those are then removed when converting the internal driver structures (patches 3-5). In the end, drivers don't have to handle any conversion.
Guillaume Nault (5):
ipv4: Use dscp_t in struct fib_rt_info
ipv4: Use dscp_t in struct fib_entry_notifier_info
netdevsim: Use dscp_t in struct nsim_fib4_rt
mlxsw: Use dscp_t in struct mlxsw_sp_fib4_entry
net: marvell: prestera: Use dscp_t in struct prestera_kern_fib_cache
.../ethernet/marvell/prestera/prestera_router.c | 11 ++++++----- .../net/ethernet/mellanox/mlxsw/spectrum_router.c | 15 ++++++++------- drivers/net/netdevsim/fib.c | 9 +++++---- include/net/ip_fib.h | 4 ++-- net/ipv4/fib_semantics.c | 4 ++-- net/ipv4/fib_trie.c | 10 +++++----- net/ipv4/route.c | 4 ++-- 7 files changed, 30 insertions(+), 27 deletions(-)
Signature · 1 line
2.21.3