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: convert timestamp to completion index
[dpdk.git]
/
drivers
/
net
/
iavf
/
iavf_rxtx.h
diff --git
a/drivers/net/iavf/iavf_rxtx.h
b/drivers/net/iavf/iavf_rxtx.h
index
7396884
..
59625a9
100644
(file)
--- a/
drivers/net/iavf/iavf_rxtx.h
+++ b/
drivers/net/iavf/iavf_rxtx.h
@@
-509,8
+509,8
@@
void iavf_fdir_rx_proc_enable(struct iavf_adapter *ad, bool on)
{
if (on) {
/* enable flow director processing */
- if (ad->fdir_ref_cnt++ == 0)
-
FDIR_PROC_ENABLE_PER_QUEUE(ad, on)
;
+ FDIR_PROC_ENABLE_PER_QUEUE(ad, on);
+
ad->fdir_ref_cnt++
;
} else {
if (ad->fdir_ref_cnt >= 1) {
ad->fdir_ref_cnt--;