diff options
author | Damjan Marion <damarion@cisco.com> | 2019-06-17 22:55:44 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2019-06-18 02:08:27 +0000 |
commit | 39488c8d3064f8940ec4f826629ebb700649e6b5 (patch) | |
tree | 3168e17c74aa92d518c678dcfa619862fb0a0a32 /src/plugins/avf/avf.h | |
parent | 217e7c9741596e3ad424f80b3f746faf050c2161 (diff) |
avf: fix adminq enqueue errors
Type: fix
Fixes: b4ff07a
Change-Id: I2578ae3e093961fa8765568b5fedcf75ae9487f6
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/avf/avf.h')
-rw-r--r-- | src/plugins/avf/avf.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/avf/avf.h b/src/plugins/avf/avf.h index b0779f2706b..2efdfcd4823 100644 --- a/src/plugins/avf/avf.h +++ b/src/plugins/avf/avf.h @@ -22,6 +22,9 @@ #include <vlib/log.h> +#define AVF_AQ_ENQ_SUSPEND_TIME 50e-6 +#define AVF_AQ_ENQ_MAX_WAIT_TIME 50e-3 + #define AVF_RXD_STATUS(x) (1ULL << x) #define AVF_RXD_STATUS_DD AVF_RXD_STATUS(0) #define AVF_RXD_STATUS_EOP AVF_RXD_STATUS(1) |