From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Ahern Subject: Re: [PATCH iproute2-next] Add SKB Priority qdisc support in tc(8) Date: Sun, 12 Aug 2018 15:45:29 -0600 Message-ID: <96219f3e-4e14-6800-f24a-1c1993aa4da4@gmail.com> References: <20180808182440.GA5929@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, doucette@bu.edu, michel@digirati.com.br To: Nishanth Devarajan , stephen@networkplumber.org Return-path: Received: from mail-pf1-f194.google.com ([209.85.210.194]:36316 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727734AbeHMAYy (ORCPT ); Sun, 12 Aug 2018 20:24:54 -0400 Received: by mail-pf1-f194.google.com with SMTP id b11-v6so6783815pfo.3 for ; Sun, 12 Aug 2018 14:45:32 -0700 (PDT) In-Reply-To: <20180808182440.GA5929@gmail.com> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 8/8/18 12:24 PM, Nishanth Devarajan wrote: > sch_skbprio is a qdisc that prioritizes packets according to their skb->priority > field. Under congestion, it drops already-enqueued lower priority packets 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. > > Signed-off-by: Nishanth Devarajan > Reviewed-by: Michel Machado > --- > include/uapi/linux/pkt_sched.h | 7 ++++ > man/man8/tc-skbprio.8 | 70 ++++++++++++++++++++++++++++++++++++ > tc/Makefile | 1 + > tc/q_skbprio.c | 81 ++++++++++++++++++++++++++++++++++++++++++ > 4 files changed, 159 insertions(+) > create mode 100644 man/man8/tc-skbprio.8 > create mode 100644 tc/q_skbprio.c > Does not apply cleanly to iproute2-next. Also, you have a couple of lines > 80 columns that can be easily corrected.