All of lore.kernel.org
 help / color / mirror / Atom feed
* Various questions regarding action parameters
@ 2016-01-29 17:07 Phil Sutter
  2016-01-29 19:14 ` Andrew Beverley
  2016-02-07 16:48 ` Martin A. Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Phil Sutter @ 2016-01-29 17:07 UTC (permalink / raw)
  To: lartc

Hi,

I'm in the process of writing man pages for tc actions. Sadly I wasn't
able to figure everything out by searching the web, grepping Git log or
reading kernel/iproute2 code. Therefore I present a number of open
questions here, hoping for you to help me work things out. Please feel
free to answer selected questions as well, any input is highly
appreciated.

connmark action
---------------
I struggle with the effect of the different branch targets. My
understanding so far is:

reclassify - restart classification by jumping back to the first filter
             on the same level.
pipe       - continue with the next action in line.
drop/shot  - drop packet without calling any further filters/actions

Is this correct so far? Could you please explain 'continue' and 'pass'
branches (and what distinguishes each from the others if questionable)?

Further, this action supports an 'index' option which seems to specify
the index at which this action is put into the list of actions attached
to the same filter. Is this correct? So is it just there as an
alternative to reordering the action list upon tc invocation? Or are
there other uses of that index?

police action
-------------
OK, this is lame: I failed to find out what distinguishes rate, peakrate
and avrate and what influence burst and mtu values have. That cell size
parameter to the latter was also completely obscure to me. I could
probably steal from tc-htb.8 for most of them, but writing things
without understanding them is usually not a good idea (actually
remembers me of some of my old professors at university ;).
Could you maybe point me to some documentation which applies to police
as well? Even though I finally understood what the rate precalculation
does, the respective kernel code looked pretty weird to me.

OK, that's it for now. (At least these are my 'XXX' entries right now,
review will probably arise more questions later.)

Thanks, Phil

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-07 16:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-29 17:07 Various questions regarding action parameters Phil Sutter
2016-01-29 19:14 ` Andrew Beverley
2016-02-07 16:48 ` Martin A. Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.