Thread (31 messages) flat view 31 messages, 5 authors, 2016-03-02

Re: [PATCH net-next 1/8] net/flower: Introduce hardware offload support

From: Amir Vadai <hidden>
Date: 2016-03-01 16:46:22

On Tue, Mar 01, 2016 at 03:53:44PM +0100, Jiri Pirko wrote:
Tue, Mar 01, 2016 at 03:24:43PM CET, amir@vadai.me wrote:
quoted
This patch is based on a patch made by John Fastabend.
It adds support for offloading cls_flower.
A filter that is offloaded successfuly by hardware, will not be added to
the hashtable and won't be processed by software.
<snip>
quoted
+enum {
+	TC_CLSFLOWER_REPLACE,
+	TC_CLSFLOWER_DESTROY,
+};
Name this enum
Right,
Thanks
quoted
+
+struct tc_cls_flower_offload {
+	int command;
        ^^^ and use it here
quoted
+	u64 cookie;
+	struct flow_dissector *dissector;
+	struct fl_flow_key *mask;
+	struct fl_flow_key *key;
+	struct tcf_exts *exts;
+};
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help