lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150412075351.GA2112@nanopsycho.orion>
Date:	Sun, 12 Apr 2015 09:53:51 +0200
From:	Jiri Pirko <jiri@...nulli.us>
To:	Alexei Starovoitov <alexei.starovoitov@...il.com>
Cc:	David Miller <davem@...emloft.net>, netdev@...r.kernel.org,
	jhs@...atatu.com, tgraf@...g.ch, jesse@...ira.com
Subject: Re: [patch net-next v3] tc: introduce OpenFlow classifier

Sat, Apr 11, 2015 at 06:12:25PM CEST, alexei.starovoitov@...il.com wrote:
>On Fri, Apr 10, 2015 at 02:45:17PM +0200, Jiri Pirko wrote:
>> Okay. That was misunderstanding. I was thinking about using existing
>> flow_dissect. There are couple things which I'm scared of:
>> - there are eventually many fields to be added to dissection function and to
>>   the structure as well. Not sure how acceptable that would be for
>>   performance reasons when flow_dissect is used by different users...
>
>I share the same concern. I think flow_dissect is too performance
>critical to reuse by expanding 'struct flow_keys'.
>I think it would be better to generalize ovs's key_extract() into
>common piece of code that TC classifier and ovs datapath can use.
>It uses kernel internal 'struct sw_flow_key' which we can tweak to
>accommodate more users. It's already gigantic at 392 bytes, so
>split and a bit of diet would help too.

Yep, those are few next topics on my agenda.

Thanks

Jiri
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ