[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180709154409.GC8880@localhost.localdomain>
Date: Mon, 9 Jul 2018 12:44:09 -0300
From: Marcelo Ricardo Leitner <marcelo.leitner@...il.com>
To: Nishanth Devarajan <ndev2021@...il.com>
Cc: xiyou.wangcong@...il.com, jhs@...atatu.com, jiri@...nulli.us,
davem@...emloft.net, netdev@...r.kernel.org, doucette@...edu,
michel@...irati.com.br
Subject: Re: [PATCH v3 net-next] net/sched: add skbprio scheduler
On Sat, Jul 07, 2018 at 03:43:55PM +0530, Nishanth Devarajan wrote:
> net/sched: add skbprio scheduer
>
> Skbprio (SKB Priority Queue) is a queueing discipline that prioritizes packets
> according to their skb->priority field. Under congestion, already-enqueued lower
> priority packets will be dropped to make space available for higher priority
> packets. Skbprio was conceived as a solution for denial-of-service defenses that
> need to route packets with different priorities as a means to overcome DoS
> attacks.
Why can't we implement this as a new flag for sch_prio.c?
I don't see why this duplication is needed, especially because it will
only be "slower" (as in, it will do more work) when qdisc is already
full and dropping packets anyway.
Marcelo
Powered by blists - more mailing lists