diff options
author | Pravin B Shelar <pshelar@nicira.com> | 2015-03-02 17:29:44 -0800 |
---|---|---|
committer | Pravin B Shelar <pshelar@nicira.com> | 2015-03-03 13:37:39 -0800 |
commit | 6fd6ed71cb9f2dba8307da371d5e86c34695783c (patch) | |
tree | f531082ec70f33a24c7d7e62c615d8234a0145f3 /lib/bundle.c | |
parent | cf62fa4c7074121184a1f1d07980990113657612 (diff) | |
download | openvswitch-6fd6ed71cb9f2dba8307da371d5e86c34695783c.tar.gz |
ofpbuf: Simplify ofpbuf API.
ofpbuf was complicated due to its wide usage across all
layers of OVS, Now we have introduced independent dp_packet
which can be used for datapath packet, we can simplify ofpbuf.
Following patch removes DPDK mbuf and access API of ofpbuf
members.
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/bundle.c')
-rw-r--r-- | lib/bundle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundle.c b/lib/bundle.c index e66ceed06..ee8079c81 100644 --- a/lib/bundle.c +++ b/lib/bundle.c @@ -175,7 +175,7 @@ bundle_parse__(const char *s, char **save_ptr, } ofpbuf_put(ofpacts, &slave_port, sizeof slave_port); - bundle = ofpacts->frame; + bundle = ofpacts->header; bundle->n_slaves++; } ofpact_update_len(ofpacts, &bundle->ofpact); |