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 E-Switch DV flow disabling
[dpdk.git]
/
drivers
/
net
/
ark
/
ark_pktgen.c
diff --git
a/drivers/net/ark/ark_pktgen.c
b/drivers/net/ark/ark_pktgen.c
index
515bfe4
..
6195ef9
100644
(file)
--- a/
drivers/net/ark/ark_pktgen.c
+++ b/
drivers/net/ark/ark_pktgen.c
@@
-107,7
+107,7
@@
ark_pktgen_paused(ark_pkt_gen_t handle)
struct ark_pkt_gen_inst *inst = (struct ark_pkt_gen_inst *)handle;
uint32_t r = inst->regs->pkt_start_stop;
- return (((r >>
16) & 1) == 1
);
+ return (((r >>
24) & 1) == 1) || (((r >> 16) & 1) == 1) || (r == 0
);
}
void