mirror of
https://github.com/openvswitch/ovs
synced 2025-09-01 06:45:17 +00:00
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>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user