git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/mlx5: fix flow director deletion
[dpdk.git]
/
drivers
/
net
/
mlx5
/
mlx5_flow.c
diff --git
a/drivers/net/mlx5/mlx5_flow.c
b/drivers/net/mlx5/mlx5_flow.c
index
3df8fba
..
466d74b
100644
(file)
--- a/
drivers/net/mlx5/mlx5_flow.c
+++ b/
drivers/net/mlx5/mlx5_flow.c
@@
-2915,8
+2915,8
@@
priv_fdir_filter_delete(struct priv *priv,
if (memcmp(spec, flow_spec,
RTE_MIN(attr_h->size, flow_h->size)))
goto wrong_flow;
if (memcmp(spec, flow_spec,
RTE_MIN(attr_h->size, flow_h->size)))
goto wrong_flow;
- spec = (void *)((uintptr_t)
attr
+ attr_h->size);
- flow_spec = (void *)((uintptr_t)flow_
attr
+
+ spec = (void *)((uintptr_t)
spec
+ attr_h->size);
+ flow_spec = (void *)((uintptr_t)flow_
spec
+
flow_h->size);
}
/* At this point, the flow match. */
flow_h->size);
}
/* At this point, the flow match. */