netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jamal Hadi Salim <jhs@mojatatu.com>
To: stephen@networkplumber.org
Cc: netdev@vger.kernel.org, Roman Mashak <mrv@mojatatu.com>,
	Jamal Hadi Salim <jhs@mojatatu.com>
Subject: [PATCH iproute2 3/9] ife: improve help text
Date: Sat,  1 Oct 2016 16:48:31 -0400	[thread overview]
Message-ID: <1475354917-7912-4-git-send-email-jhs@emojatatu.com> (raw)
In-Reply-To: <1475354917-7912-1-git-send-email-jhs@emojatatu.com>

From: Roman Mashak <mrv@mojatatu.com>

Signed-off-by: Roman Mashak <mrv@mojatatu.com>
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
---
 tc/m_ife.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tc/m_ife.c b/tc/m_ife.c
index 588bad7..862461b 100644
--- a/tc/m_ife.c
+++ b/tc/m_ife.c
@@ -29,12 +29,13 @@
 static void ife_explain(void)
 {
 	fprintf(stderr,
-		"Usage:... ife {decode|encode} {ALLOW|USE} [dst DMAC] [src SMAC] [type TYPE] [CONTROL] [index INDEX]\n");
+		"Usage:... ife {decode|encode} [{ALLOW|USE} ATTR] [dst DMAC] [src SMAC] [type TYPE] [CONTROL] [index INDEX]\n");
 	fprintf(stderr,
 		"\tALLOW := Encode direction. Allows encoding specified metadata\n"
 		"\t\t e.g \"allow mark\"\n"
 		"\tUSE := Encode direction. Enforce Static encoding of specified metadata\n"
 		"\t\t e.g \"use mark 0x12\"\n"
+		"\tATTR := mark (32-bit), prio (32-bit), tcindex (16-bit)\n"
 		"\tDMAC := 6 byte Destination MAC address to encode\n"
 		"\tSMAC := optional 6 byte Source MAC address to encode\n"
 		"\tTYPE := optional 16 bit ethertype to encode\n"
-- 
1.9.1

  parent reply	other threads:[~2016-10-01 20:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-01 20:48 [PATCH iproute2 0/9] Cleanup backlog Jamal Hadi Salim
2016-10-01 20:48 ` [PATCH iproute2 1/9] ife action: allow specifying index in hex Jamal Hadi Salim
2016-10-01 20:48 ` [PATCH iproute2 2/9] ife: print prio, mark and hash as unsigned Jamal Hadi Salim
2016-10-01 20:48 ` Jamal Hadi Salim [this message]
2016-10-01 20:48 ` [PATCH iproute2 4/9] actions ife: Introduce encoding and decoding of tcindex metadata Jamal Hadi Salim
2016-10-01 20:48 ` [PATCH iproute2 5/9] action gact: list pipe as a valid action Jamal Hadi Salim
2016-10-01 20:48 ` [PATCH iproute2 6/9] actions: add skbmod action Jamal Hadi Salim
2016-10-10  2:08   ` Stephen Hemminger
2016-10-01 20:48 ` [PATCH iproute2 7/9] man pages: update ife action to include tcindex Jamal Hadi Salim
2016-10-01 20:48 ` [PATCH iproute2 8/9] man pages: Add tc-ife to Makefile Jamal Hadi Salim
2016-10-01 20:48 ` [PATCH iproute2 9/9] man pages: add man page for skbmod action Jamal Hadi Salim

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=1475354917-7912-4-git-send-email-jhs@emojatatu.com \
    --to=jhs@mojatatu.com \
    --cc=mrv@mojatatu.com \
    --cc=netdev@vger.kernel.org \
    --cc=stephen@networkplumber.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).