On 2019-05-17 1:14 p.m., Edward Cree wrote:
On 17/05/2019 16:27, Edward Cree wrote:
I'm now leaning towards the
  approach of adding "unsigned long cookie" to struct flow_action_entry
  and populating it with (unsigned long)act in tc_setup_flow_action().

For concreteness, here's what that looks like: patch 1 is replaced with
  the following, the other two are unchanged.
Drivers now have an easier job, as they can just use the cookie directly
  as a hashtable key, rather than worrying about which action types share
  indices.

Per my other email, this will break tc semantics. It doesnt look
possible to specify an index from user space. Did i miss
something?


cheers,
jamal

Reply via email to