From: Jamal Hadi Salim <jhs@mojatatu.com>
To: davem@davemloft.net
Cc: netdev@vger.kernel.org
Subject: Re: [net-next PATCH 0/6] Fix broken late binding of actions
Date: Sun, 8 May 2016 13:21:02 -0400 [thread overview]
Message-ID: <572F757E.4000000@mojatatu.com> (raw)
In-Reply-To: <1462727766-28359-1-git-send-email-jhs@emojatatu.com>
On 16-05-08 01:16 PM, Jamal Hadi Salim wrote:
> From: Jamal Hadi Salim <jhs@mojatatu.com>
>
> Some actions were broken in allowing for late binding of actions.
> Late binding workflow is as follows:
> a) create an action and provide all necessary parameters for it
> Optionally provide an index or let the kernel give you one.
> Example:
> sudo tc actions add action police rate 1kbit burst 90k drop index 1
>
> b) later on bind to the pre-created action from a filter definition
> by merely specifying the index.
> Example:
> sudo tc filter add dev lo parent ffff: protocol ip prio 8 \
> u32 match ip src 127.0.0.8/32 flowid 1:8 action police index 1
Sorry - will resend with proper subject
cheers,
jamal
prev parent reply other threads:[~2016-05-08 17:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-08 17:16 [net-next PATCH 0/6] Fix broken late binding of actions Jamal Hadi Salim
2016-05-08 17:16 ` [net-next PATCH 1/6] tc vlan action fix late binding Jamal Hadi Salim
2016-05-08 17:16 ` [net-next PATCH 2/6] tc ipt " Jamal Hadi Salim
2016-05-08 17:16 ` [net-next PATCH 3/6] tc mirred " Jamal Hadi Salim
2016-05-08 17:16 ` [net-next PATCH 4/6] tc simple " Jamal Hadi Salim
2016-05-08 17:16 ` [net-next PATCH 5/6] tc skbedit " Jamal Hadi Salim
2016-05-08 17:16 ` [net-next PATCH 6/6] tc ife " Jamal Hadi Salim
2016-05-08 17:21 ` Jamal Hadi Salim [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=572F757E.4000000@mojatatu.com \
--to=jhs@mojatatu.com \
--cc=davem@davemloft.net \
--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).