mbox series

[net-next,0/4] ipv4: Prepare core ipv4 files to future .flowi4_tos conversion.

Message ID cover.1729530028.git.gnault@redhat.com (mailing list archive)
Headers show
Series ipv4: Prepare core ipv4 files to future .flowi4_tos conversion. | expand

Message

Guillaume Nault Oct. 22, 2024, 9:47 a.m. UTC
Continue preparing users of ->flowi4_tos (struct flowi4) to the future
conversion of this field (from __u8 to dscp_t). The objective is to
have type annotation to properly separate DSCP bits from ECN ones. This
way we'll ensure that ECN doesn't interfere with DSCP and avoid
regressions where it break routing descisions (fib rules in particular).

This series concentrates on some easy IPv4 conversions where
->flowi4_tos is set directly from an IPv4 header, so we can get the
DSCP value using the ip4h_dscp() helper function.

Guillaume Nault (4):
  ipv4: Prepare fib_compute_spec_dst() to future .flowi4_tos conversion.
  ipv4: Prepare icmp_reply() to future .flowi4_tos conversion.
  ipv4: Prepare ipmr_rt_fib_lookup() to future .flowi4_tos conversion.
  ipv4: Prepare ip_rt_get_source() to future .flowi4_tos conversion.

 net/ipv4/fib_frontend.c | 2 +-
 net/ipv4/icmp.c         | 2 +-
 net/ipv4/ipmr.c         | 2 +-
 net/ipv4/route.c        | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Oct. 29, 2024, 6:50 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 22 Oct 2024 11:47:52 +0200 you wrote:
> Continue preparing users of ->flowi4_tos (struct flowi4) to the future
> conversion of this field (from __u8 to dscp_t). The objective is to
> have type annotation to properly separate DSCP bits from ECN ones. This
> way we'll ensure that ECN doesn't interfere with DSCP and avoid
> regressions where it break routing descisions (fib rules in particular).
> 
> This series concentrates on some easy IPv4 conversions where
> ->flowi4_tos is set directly from an IPv4 header, so we can get the
> DSCP value using the ip4h_dscp() helper function.
> 
> [...]

Here is the summary with links:
  - [net-next,1/4] ipv4: Prepare fib_compute_spec_dst() to future .flowi4_tos conversion.
    https://git.kernel.org/netdev/net-next/c/b76ebf22c578
  - [net-next,2/4] ipv4: Prepare icmp_reply() to future .flowi4_tos conversion.
    https://git.kernel.org/netdev/net-next/c/0ed373390c5c
  - [net-next,3/4] ipv4: Prepare ipmr_rt_fib_lookup() to future .flowi4_tos conversion.
    https://git.kernel.org/netdev/net-next/c/6ab04392dd08
  - [net-next,4/4] ipv4: Prepare ip_rt_get_source() to future .flowi4_tos conversion.
    https://git.kernel.org/netdev/net-next/c/85ef52e8693c

You are awesome, thank you!