Thread (19 messages) flat view 19 messages, 6 authors, 2017-01-18

Re: [PATCH net-next v4 1/2] net sched actions: Add support for user cookies

From: Simon Horman <hidden>
Date: 2017-01-17 14:59:50

On Tue, Jan 17, 2017 at 06:11:48AM -0500, Jamal Hadi Salim wrote:
From: Jamal Hadi Salim <jhs@mojatatu.com>

Introduce optional 128-bit action cookie.
Like all other cookie schemes in the networking world (eg in protocols
like http or existing kernel fib protocol field, etc) the idea is to save
user state that when retrieved serves as a correlator. The kernel
_should not_ intepret it.  The user can store whatever they wish in the
128 bits.

Sample exercise(showing variable length use of cookie)
Hi Jamal,

I think that Daniel made some worthwhile comments regarding the
implementation but schematically I like what I see:

Reviewed-by: Simon Horman <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help