netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: fw@strlen.de
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH v2 net-next 0/5] sched, cbq: remove OVL_STRATEGY/POLICE support
Date: Wed, 08 Jun 2016 23:59:11 -0700 (PDT)	[thread overview]
Message-ID: <20160608.235911.2037615285346040712.davem@davemloft.net> (raw)
In-Reply-To: <1465424863-18456-1-git-send-email-fw@strlen.de>

From: Florian Westphal <fw@strlen.de>
Date: Thu,  9 Jun 2016 00:27:38 +0200

> iproute2 does not implement any options that result in the
> TCA_CBQ_OVL_STRATEGY/TCA_CBQ_POLICE attributes being set/used.
> 
> This series removes these two attributes from cbq and makes kernel reject
>  them via EOPNOTSUPP in case they are present.
> 
> The two followup changes then remove several features from qdisc
> infrastructure that are then no longer used/needed.  These are:
>  - The 'drop' method provided by most qdiscs
>  - the 'reshape_fail' function used by some qdiscs
>  - the __parent member in struct Qdisc
> 
> I tested this with allmod and allyesconfig builds and also with
> a brief cbq script:
> 
>   tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 10Mbit avpkt 1000 cell 8
>   tc class add dev eth0 parent 1:0 classid 1:1 est 1sec 8sec cbq bandwidth 10Mbit rate 5Mbit prio 1 allot 1514 maxburst 20 cell 8 avpkt 1000 bounded split 1:0 defmap 3f
>   tc class add dev eth0 parent 1:0 classid 1:2 est 1sec 8sec cbq bandwidth 10Mbit rate 5Mbit prio 1 allot 1514 maxburst 20 cell 8 avpkt 1000 bounded split 1:0 defmap 3f
>   tc filter add dev eth0 parent 1:0 protocol ip prio 1 u32 match ip tos 0x10 0xff classid 1:1 police rate 2Mbit burst 10K reclassify
>   tc filter add dev eth0 parent 1:0 protocol ip prio 1 u32 match ip tos 0x0c 0xff classid 1:2
>   tc filter add dev eth0 parent 1:0 protocol ip prio 2 u32 match ip tos 0x10 0xff classid 1:2
>   tc filter add dev eth0 parent 1:0 protocol ip prio 3 u32 match ip tos 0x0 0x0 classid 1:2
> 
> No changes since v1 except patch #5 to fix up struct Qdisc layout.

Looks good, series applied, thanks.

      parent reply	other threads:[~2016-06-09  6:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-08 22:27 [PATCH v2 net-next 0/5] sched, cbq: remove OVL_STRATEGY/POLICE support Florian Westphal
2016-06-08 22:27 ` [PATCH v2 -next 1/5] cbq: remove TCA_CBQ_OVL_STRATEGY support Florian Westphal
2016-06-08 22:27 ` [PATCH v2 -next 2/5] cbq: remove TCA_CBQ_POLICE support Florian Westphal
2016-06-08 22:27 ` [PATCH v2 -next 3/5] sched: remove qdisc_rehape_fail Florian Westphal
2016-06-08 22:27 ` [PATCH v2 -next 4/5] sched: remove qdisc->drop Florian Westphal
2016-06-08 22:27 ` [PATCH -next 5/5] sched: place state, next_sched and gso_skb in same cacheline again Florian Westphal
2016-06-09  6:59 ` David Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160608.235911.2037615285346040712.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=fw@strlen.de \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).