summaryrefslogtreecommitdiffstats
path: root/src/plugins/avf/avf.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-07-25 00:32:44 +0200
committerDamjan Marion <dmarion@me.com>2018-07-26 07:19:56 +0000
commit351b3a0c3ee735c5f759ce3fef7951d0a2e5b34a (patch)
treeeee4cfc353b54b343622d1bcc2d536fbec075c4b /src/plugins/avf/avf.h
parent3451d98550228b9742e8ff4577dd4a1ee6791efc (diff)
avf: fix interrupt mode
- assign rx thread on interface create, not on admin up - keep interrupts unmasked all the time as they are needed for writeback - forward interrupt to graph dispatcher only if queue is in the interrupt mode Change-Id: I5cc5afe24960143bef08f12d59fbd80ae0c6ccf8 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/avf/avf.h')
-rw-r--r--src/plugins/avf/avf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/avf/avf.h b/src/plugins/avf/avf.h
index 14d78195f76..d8c64737c32 100644
--- a/src/plugins/avf/avf.h
+++ b/src/plugins/avf/avf.h
@@ -85,6 +85,7 @@ typedef struct
avf_rx_desc_t *descs;
u32 *bufs;
u16 n_enqueued;
+ u8 int_mode;
} avf_rxq_t;
typedef struct