|
|
4aca6e |
From dd5789f30937ba9161c0fe4726650a5db4226164 Mon Sep 17 00:00:00 2001
|
|
|
4aca6e |
From: Phil Sutter <psutter@redhat.com>
|
|
|
4aca6e |
Date: Fri, 17 Mar 2017 13:23:54 +0100
|
|
|
4aca6e |
Subject: [PATCH] tc/cls_flower: Add to the usage encapsulation dest UDP port
|
|
|
4aca6e |
|
|
|
4aca6e |
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1422629
|
|
|
4aca6e |
Upstream Status: iproute2.git commit bf73c650ac93a
|
|
|
4aca6e |
Conflicts: Changes applied manually due to context changes from previous
|
|
|
4aca6e |
backports.
|
|
|
4aca6e |
|
|
|
4aca6e |
commit bf73c650ac93ae673291c584fe592ea70686e37e
|
|
|
4aca6e |
Author: Hadar Hen Zion <hadarh@mellanox.com>
|
|
|
4aca6e |
Date: Thu Dec 22 10:14:40 2016 +0200
|
|
|
4aca6e |
|
|
|
4aca6e |
tc/cls_flower: Add to the usage encapsulation dest UDP port
|
|
|
4aca6e |
|
|
|
4aca6e |
Encapsulation dest UDP port is part of the classifier matching
|
|
|
4aca6e |
parameters, add it to the usage.
|
|
|
4aca6e |
|
|
|
4aca6e |
Fixes: 41aa17ff4668 ("tc/cls_flower: Add dest UDP port to tunnel params")
|
|
|
4aca6e |
Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
|
|
|
4aca6e |
Reported-by: Simon Horman <simon.horman@netronome.com>
|
|
|
4aca6e |
---
|
|
|
4aca6e |
tc/f_flower.c | 5 +++--
|
|
|
4aca6e |
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
|
4aca6e |
|
|
|
4aca6e |
diff --git a/tc/f_flower.c b/tc/f_flower.c
|
|
|
4aca6e |
index 2774905..c3e0249 100644
|
|
|
4aca6e |
--- a/tc/f_flower.c
|
|
|
4aca6e |
+++ b/tc/f_flower.c
|
|
|
4aca6e |
@@ -53,10 +53,11 @@ static void explain(void)
|
|
|
4aca6e |
" dst_port PORT-NUMBER |\n"
|
|
|
4aca6e |
" src_port PORT-NUMBER |\n"
|
|
|
4aca6e |
" type ICMP-TYPE |\n"
|
|
|
4aca6e |
- " code ICMP-CODE }\n"
|
|
|
4aca6e |
+ " code ICMP-CODE |\n"
|
|
|
4aca6e |
" enc_dst_ip [ IPV4-ADDR | IPV6-ADDR ] |\n"
|
|
|
4aca6e |
" enc_src_ip [ IPV4-ADDR | IPV6-ADDR ] |\n"
|
|
|
4aca6e |
- " enc_key_id [ KEY-ID ] }\n"
|
|
|
4aca6e |
+ " enc_key_id [ KEY-ID ] |\n"
|
|
|
4aca6e |
+ " enc_dst_port [ UDP-PORT ] }\n"
|
|
|
4aca6e |
" FILTERID := X:Y:Z\n"
|
|
|
4aca6e |
" MASKED_LLADDR := { LLADDR | LLADDR/MASK | LLADDR/BITS }\n"
|
|
|
4aca6e |
" ACTION-SPEC := ... look at individual actions\n"
|
|
|
4aca6e |
--
|
|
|
4aca6e |
1.8.3.1
|
|
|
4aca6e |
|