[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1481027579-23195-2-git-send-email-ogerlitz@mellanox.com>
Date: Tue, 6 Dec 2016 14:32:57 +0200
From: Or Gerlitz <ogerlitz@...lanox.com>
To: "David S. Miller" <davem@...emloft.net>
Cc: netdev@...r.kernel.org, Jiri Pirko <jiri@...lanox.com>,
Roi Dayan <roid@...lanox.com>,
Hadar Har-Zion <hadarh@...lanox.com>,
Or Gerlitz <ogerlitz@...lanox.com>,
Tom Herbert <tom@...bertland.com>
Subject: [PATCH net-next 1/3] net/flow_dissector: Enable matching on flags for TC filter consumers
This is a pre-step to allow TC classifiers that makes use of the
flow-dissector (e.g Flower) to match on flow-dissector flags which
are located in the control struct.
Signed-off-by: Or Gerlitz <ogerlitz@...lanox.com>
---
include/net/flow_dissector.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/net/flow_dissector.h b/include/net/flow_dissector.h
index c4f3166..a679e6c 100644
--- a/include/net/flow_dissector.h
+++ b/include/net/flow_dissector.h
@@ -154,8 +154,8 @@ struct flow_dissector {
};
struct flow_keys {
+#define FLOW_KEYS_HASH_START_FIELD control
struct flow_dissector_key_control control;
-#define FLOW_KEYS_HASH_START_FIELD basic
struct flow_dissector_key_basic basic;
struct flow_dissector_key_tags tags;
struct flow_dissector_key_vlan vlan;
--
2.3.7
Cc: Tom Herbert <tom@...bertland.com>
Powered by blists - more mailing lists