dpif-netdev: Store actions data and size contiguously.
authorDaniele Di Proietto <diproiettod@vmware.com>
Wed, 15 Apr 2015 18:11:46 +0000 (19:11 +0100)
committerEthan Jackson <ethan@nicira.com>
Mon, 20 Apr 2015 19:49:41 +0000 (12:49 -0700)
commit9ff55ae284809bd63fe1c9c9a90b1733193e76cd
treec34160c86bfbb9b5f97e870ef7e5e2b8f24826d3
parentb937e116da2cf64973248123a57a68261797b7dd
dpif-netdev: Store actions data and size contiguously.

As stated by the comment above the structure, the 'action' pointer does not
change during the 'dp_netdev_actions' lifetime: we might as well embed
the pointed memory into the structure.

The commit also updates the description of dp_netdev_actions_create().

Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
lib/dpif-netdev.c