netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2 0/2] Updates to tc-ematch.8 man page
@ 2019-11-14 18:22 Roman Mashak
  2019-11-14 18:22 ` [PATCH iproute2 1/2] man: tc-ematch.8: update list of filter using extended matches Roman Mashak
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Roman Mashak @ 2019-11-14 18:22 UTC (permalink / raw)
  To: stephen; +Cc: netdev, kernel, jhs, xiyou.wangcong, jiri, Roman Mashak

Update the list of filters using ematch rules, and document canid()
ematch rule.

Roman Mashak (2):
  man: tc-ematch.8: update list of filter using extended matches
  man: tc-ematch.8: documented canid() ematch rule

 man/man8/tc-ematch.8 | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

-- 
2.7.4


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

* [PATCH iproute2 1/2] man: tc-ematch.8: update list of filter using extended matches
  2019-11-14 18:22 [PATCH iproute2 0/2] Updates to tc-ematch.8 man page Roman Mashak
@ 2019-11-14 18:22 ` Roman Mashak
  2019-11-14 18:22 ` [PATCH iproute2 2/2] man: tc-ematch.8: documented canid() ematch rule Roman Mashak
  2019-11-17 20:31 ` [PATCH iproute2 0/2] Updates to tc-ematch.8 man page Stephen Hemminger
  2 siblings, 0 replies; 4+ messages in thread
From: Roman Mashak @ 2019-11-14 18:22 UTC (permalink / raw)
  To: stephen; +Cc: netdev, kernel, jhs, xiyou.wangcong, jiri, Roman Mashak

Extended match rules are currently supported by basic, flow and cgroup
filters, so update the man page.

Signed-off-by: Roman Mashak <mrv@mojatatu.com>
---
 man/man8/tc-ematch.8 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man/man8/tc-ematch.8 b/man/man8/tc-ematch.8
index 042f84045873..4c97044a03db 100644
--- a/man/man8/tc-ematch.8
+++ b/man/man8/tc-ematch.8
@@ -1,7 +1,7 @@
 .TH ematch 8 "6 August 2012" iproute2 Linux
 .
 .SH NAME
-ematch \- extended matches for use with "basic" or "flow" filters
+ematch \- extended matches for use with "basic", "cgroup"  or "flow" filters
 .
 .SH SYNOPSIS
 .sp
-- 
2.7.4


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

* [PATCH iproute2 2/2] man: tc-ematch.8: documented canid() ematch rule
  2019-11-14 18:22 [PATCH iproute2 0/2] Updates to tc-ematch.8 man page Roman Mashak
  2019-11-14 18:22 ` [PATCH iproute2 1/2] man: tc-ematch.8: update list of filter using extended matches Roman Mashak
@ 2019-11-14 18:22 ` Roman Mashak
  2019-11-17 20:31 ` [PATCH iproute2 0/2] Updates to tc-ematch.8 man page Stephen Hemminger
  2 siblings, 0 replies; 4+ messages in thread
From: Roman Mashak @ 2019-11-14 18:22 UTC (permalink / raw)
  To: stephen; +Cc: netdev, kernel, jhs, xiyou.wangcong, jiri, Roman Mashak

tc-ematch.8 was missing the description of canid() ematch rule, so document
this.

Signed-off-by: Roman Mashak <mrv@mojatatu.com>
---
 man/man8/tc-ematch.8 | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/man/man8/tc-ematch.8 b/man/man8/tc-ematch.8
index 4c97044a03db..3df870f03ef4 100644
--- a/man/man8/tc-ematch.8
+++ b/man/man8/tc-ematch.8
@@ -109,6 +109,19 @@ test packet against xtables matches
 
 The flag options are the same as those used by the xtable match used.
 
+.SS canid
+ematch rule to match CAN frames
+
+.IR canid "( " IDLIST " )
+
+.IR IDLIST " :=  " IDSPEC [ IDLIST ]
+
+.IR IDSPEC " := { ’sff’ " CANID " | ’eff’ " CANID " }
+
+.IR CANID " := " ID [ ":MASK" ]
+
+.IR ID ", " MASK " := hexadecimal number (i.e. 0x123)
+
 .SH CAVEATS
 
 The ematch syntax uses '(' and ')' to group expressions. All braces need to be
-- 
2.7.4


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

* Re: [PATCH iproute2 0/2] Updates to tc-ematch.8 man page
  2019-11-14 18:22 [PATCH iproute2 0/2] Updates to tc-ematch.8 man page Roman Mashak
  2019-11-14 18:22 ` [PATCH iproute2 1/2] man: tc-ematch.8: update list of filter using extended matches Roman Mashak
  2019-11-14 18:22 ` [PATCH iproute2 2/2] man: tc-ematch.8: documented canid() ematch rule Roman Mashak
@ 2019-11-17 20:31 ` Stephen Hemminger
  2 siblings, 0 replies; 4+ messages in thread
From: Stephen Hemminger @ 2019-11-17 20:31 UTC (permalink / raw)
  To: Roman Mashak; +Cc: netdev, kernel, jhs, xiyou.wangcong, jiri

On Thu, 14 Nov 2019 13:22:34 -0500
Roman Mashak <mrv@mojatatu.com> wrote:

> Update the list of filters using ematch rules, and document canid()
> ematch rule.
> 
> Roman Mashak (2):
>   man: tc-ematch.8: update list of filter using extended matches
>   man: tc-ematch.8: documented canid() ematch rule
> 
>  man/man8/tc-ematch.8 | 15 ++++++++++++++-
>  1 file changed, 14 insertions(+), 1 deletion(-)
> 

Applied both, thanks.

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

end of thread, other threads:[~2019-11-17 20:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-14 18:22 [PATCH iproute2 0/2] Updates to tc-ematch.8 man page Roman Mashak
2019-11-14 18:22 ` [PATCH iproute2 1/2] man: tc-ematch.8: update list of filter using extended matches Roman Mashak
2019-11-14 18:22 ` [PATCH iproute2 2/2] man: tc-ematch.8: documented canid() ematch rule Roman Mashak
2019-11-17 20:31 ` [PATCH iproute2 0/2] Updates to tc-ematch.8 man page Stephen Hemminger

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).