odp-util: Pass down flow netlink attributes when translating masks.
authorJesse Gross <jesse@nicira.com>
Fri, 19 Jun 2015 20:54:13 +0000 (13:54 -0700)
committerJesse Gross <jesse@nicira.com>
Thu, 25 Jun 2015 18:08:58 +0000 (11:08 -0700)
commitec1f6f327e379723f5af4eefa46da49f92753976
tree8e4b955d08ddf9f75f831c6ddd292f50af860e15
parent4531547f4a8ae9e5231a021f9345abfe27418584
odp-util: Pass down flow netlink attributes when translating masks.

Sometimes we need to look at flow fields to understand how to parse
an attribute. However, masks don't have this information - just the
mask on the field. We already use the translated flow structure for
this purpose but this isn't always enough since sometimes we actually
need the raw netlink information. Fortunately, that is also readily
available so this passes it down from the appropriate callers.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/dpctl.c
lib/dpif-netdev.c
lib/odp-util.c
lib/odp-util.h
ofproto/ofproto-dpif-upcall.c
tests/test-odp.c