2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 14:25:26 +00:00

datapath: Eliminate 'flags' member from odp_flow.

Nothing was productively using the 'flags' member of odp_flow, so this
commit removes it.

ODPFF_ZERO_TCP_FLAGS isn't used at all (as of the previous commit).

ODPFF_EOF has been replaced by a special case of the 'key_len' member.
This will go away, too, once AF_NETLINK starts being used.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
This commit is contained in:
Ben Pfaff
2011-01-17 14:43:30 -08:00
parent c33087b850
commit 693c4a0112
9 changed files with 25 additions and 46 deletions

View File

@@ -731,7 +731,7 @@ dpif_flow_flush(struct dpif *dpif)
* If 'stats' is nonnull, then on success it will be updated with the flow's
* statistics. */
int
dpif_flow_get(const struct dpif *dpif, int flags,
dpif_flow_get(const struct dpif *dpif,
const struct nlattr *key, size_t key_len,
struct ofpbuf **actionsp, struct dpif_flow_stats *stats)
{
@@ -739,8 +739,7 @@ dpif_flow_get(const struct dpif *dpif, int flags,
COVERAGE_INC(dpif_flow_get);
error = dpif->dpif_class->flow_get(dpif, flags, key, key_len, actionsp,
stats);
error = dpif->dpif_class->flow_get(dpif, key, key_len, actionsp, stats);
if (error) {
if (actionsp) {
*actionsp = NULL;