]> git.proxmox.com Git - ovs.git/commit - lib/dpif-netdev.c
conntrack: Add 'dl_type' parameter to conntrack_execute().
authorDaniele Di Proietto <diproiettod@vmware.com>
Thu, 26 May 2016 01:10:09 +0000 (18:10 -0700)
committerDaniele Di Proietto <diproiettod@vmware.com>
Thu, 28 Jul 2016 01:53:29 +0000 (18:53 -0700)
commit66e4ad8aa44fa14b6f38e85a8869f2dc3292e48a
tree5e79aa3e7acc6f78bd669cb608df64af5f23bd91
parentb269a1229df2329deb3c292c22a6bdd0ce3f02ff
conntrack: Add 'dl_type' parameter to conntrack_execute().

Now that dpif_execute has a 'flow' member, it's pretty easy to access a
the flow (or the matching megaflow) in dp_execute_cb().

This means that's not necessary anymore for the connection tracker to
reextract 'dl_type' from the packet, it can be passed as a parameter.

This change means that we have to complicate sightly test-conntrack to
group the packets by dl_type before passing them to the connection
tracker.

Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
Acked-by: Joe Stringer <joe@ovn.org>
lib/conntrack.c
lib/conntrack.h
lib/dpif-netdev.c
tests/test-conntrack.c