Thread (8 messages) flat view 8 messages, 3 authors, 2016-12-06

Re: [PATCH net-next 1/3] net/flow_dissector: Enable matching on flags for TC filter consumers

From: Jiri Pirko <jiri@resnulli.us>
Date: 2016-12-06 12:44:52

Tue, Dec 06, 2016 at 01:32:57PM CET, ogerlitz@mellanox.com wrote:
quoted hunk ↗ jump to hunk
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 <redacted>
---
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
How is this hashing related to cls_flower dissections? What am I
missing?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help