* [PATCH iproute2 0/2] Fix the usage of TC tunnel key
@ 2016-12-22 8:14 Hadar Hen Zion
2016-12-22 8:14 ` [PATCH iproute2 1/2] tc/cls_flower: Add to the usage encapsulation dest UDP port Hadar Hen Zion
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Hadar Hen Zion @ 2016-12-22 8:14 UTC (permalink / raw)
To: Stephen Hemminger
Cc: netdev, Simon Horman, Or Gerlitz, Roi Dayan, Hadar Hen Zion
Add dest UDP port parameter to the usage of tc tunnle key action and
classifcation.
Hadar Hen Zion (2):
tc/cls_flower: Add to the usage encapsulation dest UDP port
tc/m_tunnel_key: Add to the usage encapsulation dest UDP port
tc/f_flower.c | 5 +++--
tc/m_tunnel_key.c | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
--
1.8.3.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH iproute2 1/2] tc/cls_flower: Add to the usage encapsulation dest UDP port
2016-12-22 8:14 [PATCH iproute2 0/2] Fix the usage of TC tunnel key Hadar Hen Zion
@ 2016-12-22 8:14 ` Hadar Hen Zion
2016-12-22 8:14 ` [PATCH iproute2 2/2] tc/m_tunnel_key: " Hadar Hen Zion
2016-12-22 19:03 ` [PATCH iproute2 0/2] Fix the usage of TC tunnel key Stephen Hemminger
2 siblings, 0 replies; 4+ messages in thread
From: Hadar Hen Zion @ 2016-12-22 8:14 UTC (permalink / raw)
To: Stephen Hemminger
Cc: netdev, Simon Horman, Or Gerlitz, Roi Dayan, Hadar Hen Zion
Encapsulation dest UDP port is part of the classifier matching
parameters, add it to the usage.
Fixes: 41aa17ff4668 ("tc/cls_flower: Add dest UDP port to tunnel params")
Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
Reported-by: Simon Horman <simon.horman@netronome.com>
---
tc/f_flower.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tc/f_flower.c b/tc/f_flower.c
index 653dfef..71e9515 100644
--- a/tc/f_flower.c
+++ b/tc/f_flower.c
@@ -53,10 +53,11 @@ static void explain(void)
" dst_port PORT-NUMBER |\n"
" src_port PORT-NUMBER |\n"
" type ICMP-TYPE |\n"
- " code ICMP-CODE }\n"
+ " code ICMP-CODE |\n"
" enc_dst_ip [ IPV4-ADDR | IPV6-ADDR ] |\n"
" enc_src_ip [ IPV4-ADDR | IPV6-ADDR ] |\n"
- " enc_key_id [ KEY-ID ] }\n"
+ " enc_key_id [ KEY-ID ] |\n"
+ " enc_dst_port [ UDP-PORT ] }\n"
" FILTERID := X:Y:Z\n"
" ACTION-SPEC := ... look at individual actions\n"
"\n"
--
1.8.3.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH iproute2 2/2] tc/m_tunnel_key: Add to the usage encapsulation dest UDP port
2016-12-22 8:14 [PATCH iproute2 0/2] Fix the usage of TC tunnel key Hadar Hen Zion
2016-12-22 8:14 ` [PATCH iproute2 1/2] tc/cls_flower: Add to the usage encapsulation dest UDP port Hadar Hen Zion
@ 2016-12-22 8:14 ` Hadar Hen Zion
2016-12-22 19:03 ` [PATCH iproute2 0/2] Fix the usage of TC tunnel key Stephen Hemminger
2 siblings, 0 replies; 4+ messages in thread
From: Hadar Hen Zion @ 2016-12-22 8:14 UTC (permalink / raw)
To: Stephen Hemminger
Cc: netdev, Simon Horman, Or Gerlitz, Roi Dayan, Hadar Hen Zion
tunnel key set parameters includes also dest UDP port, add it to the
usage.
Fixes: 449c709c3868 ("tc/m_tunnel_key: Add dest UDP port to tunnel key action")
Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
Reported-by: Simon Horman <simon.horman@netronome.com>
---
tc/m_tunnel_key.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tc/m_tunnel_key.c b/tc/m_tunnel_key.c
index 58a3042..3ceec1c 100644
--- a/tc/m_tunnel_key.c
+++ b/tc/m_tunnel_key.c
@@ -22,7 +22,7 @@
static void explain(void)
{
fprintf(stderr, "Usage: tunnel_key unset\n");
- fprintf(stderr, " tunnel_key set id TUNNELID src_ip IP dst_ip IP\n");
+ fprintf(stderr, " tunnel_key set id TUNNELID src_ip IP dst_ip IP dst_port UDP_PORT\n");
}
static void usage(void)
--
1.8.3.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH iproute2 0/2] Fix the usage of TC tunnel key
2016-12-22 8:14 [PATCH iproute2 0/2] Fix the usage of TC tunnel key Hadar Hen Zion
2016-12-22 8:14 ` [PATCH iproute2 1/2] tc/cls_flower: Add to the usage encapsulation dest UDP port Hadar Hen Zion
2016-12-22 8:14 ` [PATCH iproute2 2/2] tc/m_tunnel_key: " Hadar Hen Zion
@ 2016-12-22 19:03 ` Stephen Hemminger
2 siblings, 0 replies; 4+ messages in thread
From: Stephen Hemminger @ 2016-12-22 19:03 UTC (permalink / raw)
To: Hadar Hen Zion; +Cc: netdev, Simon Horman, Or Gerlitz, Roi Dayan
On Thu, 22 Dec 2016 10:14:39 +0200
Hadar Hen Zion <hadarh@mellanox.com> wrote:
> Add dest UDP port parameter to the usage of tc tunnle key action and
> classifcation.
>
>
> Hadar Hen Zion (2):
> tc/cls_flower: Add to the usage encapsulation dest UDP port
> tc/m_tunnel_key: Add to the usage encapsulation dest UDP port
>
> tc/f_flower.c | 5 +++--
> tc/m_tunnel_key.c | 2 +-
> 2 files changed, 4 insertions(+), 3 deletions(-)
>
Looks good, both applied
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-12-22 19:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-22 8:14 [PATCH iproute2 0/2] Fix the usage of TC tunnel key Hadar Hen Zion
2016-12-22 8:14 ` [PATCH iproute2 1/2] tc/cls_flower: Add to the usage encapsulation dest UDP port Hadar Hen Zion
2016-12-22 8:14 ` [PATCH iproute2 2/2] tc/m_tunnel_key: " Hadar Hen Zion
2016-12-22 19:03 ` [PATCH iproute2 0/2] Fix the usage of TC tunnel key 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).