The new name "packet_batch" is a bit more straight forward. Signed-off-by: Ethan Jackson <et...@nicira.com> --- lib/dpif-netdev.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index 4dcc268..aa9a685 100644 --- a/lib/dpif-netdev.c +++ b/lib/dpif-netdev.c @@ -2002,7 +2002,7 @@ dp_netdev_count_packet(struct dp_netdev *dp, enum dp_stat_type type, int cnt) ovs_mutex_unlock(&bucket->mutex); } -struct batch_pkt_execute { +struct packet_batch { unsigned int packet_count; unsigned int byte_count; uint16_t tcp_flags; @@ -2014,7 +2014,7 @@ struct batch_pkt_execute { }; static inline void -packet_batch_update(struct batch_pkt_execute *batch, +packet_batch_update(struct packet_batch *batch, struct dpif_packet *packet, const struct miniflow *mf) { batch->tcp_flags |= miniflow_get_tcp_flags(mf); @@ -2023,7 +2023,7 @@ packet_batch_update(struct batch_pkt_execute *batch, } static inline void -packet_batch_init(struct batch_pkt_execute *batch, struct dp_netdev_flow *flow, +packet_batch_init(struct packet_batch *batch, struct dp_netdev_flow *flow, struct dpif_packet *packet, struct pkt_metadata *md, const struct miniflow *mf) { @@ -2039,7 +2039,7 @@ packet_batch_init(struct batch_pkt_execute *batch, struct dp_netdev_flow *flow, } static inline void -packet_batch_execute(struct batch_pkt_execute *batch, struct dp_netdev *dp) +packet_batch_execute(struct packet_batch *batch, struct dp_netdev *dp) { struct dp_netdev_actions *actions; struct dp_netdev_flow *flow = batch->flow; @@ -2060,7 +2060,7 @@ static void dp_netdev_input(struct dp_netdev *dp, struct dpif_packet **packets, int cnt, struct pkt_metadata *md) { - struct batch_pkt_execute batch; + struct packet_batch batch; struct netdev_flow_key key; -- 1.8.1.2 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev