On Mon, 23 Nov 2020 23:55:05 +0100
Guillaume Nault wrote:
> On Sat, Nov 21, 2020 at 06:24:46PM +1000, Russell Strong wrote:
> > From 2f27f92d5a6f4dd69ac4af32cdb51ba8d2083606 Mon Sep 17 00:00:00 2001
> > From: Russell Strong
> > Date: Sat, 21 Nov 2020 18:12:43 +1000
> &g
>From 2f27f92d5a6f4dd69ac4af32cdb51ba8d2083606 Mon Sep 17 00:00:00 2001
From: Russell Strong
Date: Sat, 21 Nov 2020 18:12:43 +1000
Subject: [PATCH] DSCP in IPv4 routing v2
This patch allows the use of DSCP values in routing
The following macros define the scope of IPv4 TOS
bits used in rout
IPTOS_RT_MASK -> iptos_rt_mask
Signed-off-by: Russell Strong
---
.../ethernet/mellanox/mlx5/core/en/tc_tun.c | 3 +-
drivers/net/geneve.c | 4 +--
drivers/net/ipvlan/ipvlan_core.c | 2 +-
drivers/net/ppp/pptp.c| 2 +-
d
[PATCH 1/2] DSCP in IPv4 routing
TOS handling in ipv4 routing does not use all the bits in a DSCP
value. This change introduces a sysctl "route_tos_as_dscp" control
that, when enabled, widens masks to used the 6 DSCP bits in routing.
This commit adds the sysctl
Signed-off-by: Russ
On Fri, 13 Nov 2020 10:02:25 +0100
Guillaume Nault wrote:
> On Thu, Nov 12, 2020 at 07:36:56PM -0800, Stephen Hemminger wrote:
> > On Fri, 13 Nov 2020 12:06:37 +1000
> > Russell Strong wrote:
> >
> > > diff --git a/include/uapi/linux/in_route.h
> > >
default
and verified that lookups are indeed performed from the
correct table.
This now works instead of failing with "Error: Invalid tos."
Signed-off-by: Russell Strong
---
include/net/route.h | 2 +-
include/uapi/linux/in_route.h | 2 +-
include/uapi/linux/ip.h | 2 ++
Hello,
After needing to do policy based routing based on DSCP, I discovered
that IPv4 does not support this. It does support TOS, but this has
never been upgraded to the new ( now quite old ) DSCP interpretation.
Is there a historical reason why the interpretation has not changed?
I could copy
On Mon, 13 Jul 2020 09:52:28 -0700
Stephen Hemminger wrote:
> On Sun, 12 Jul 2020 11:40:01 +1000
> Russell Strong wrote:
>
> > On Wed, 8 Jul 2020 23:26:34 -0700
> > Stephen Hemminger wrote:
> >
> > > On Thu, 9 Jul 2020 16:10:34 +1000
> > >
On Wed, 8 Jul 2020 23:26:34 -0700
Stephen Hemminger wrote:
> On Thu, 9 Jul 2020 16:10:34 +1000
> Russell Strong wrote:
>
> > Hi,
> >
> > I'm attempting to fill a link with background traffic that is sent
> > whenever the link is idle. To do this I'
Identifier: GPL-2.0-or-later
/*
* net/sched/sch_amp.c amplifying qdisc
*
* Authors: Russell Strong
*/
#include
#include
#include
#include
#include
#include
#include
struct amp_sched_data {
u32 duplicates;
u32 remaining;
};
static int amp_enqueue(struct sk_buff *s
10 matches
Mail list logo