aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vnet/devices/af_packet/af_packet.c3
-rw-r--r--src/vnet/devices/af_packet/af_packet.h3
2 files changed, 0 insertions, 6 deletions
diff --git a/src/vnet/devices/af_packet/af_packet.c b/src/vnet/devices/af_packet/af_packet.c
index 208537996e3..bc9caac82f2 100644
--- a/src/vnet/devices/af_packet/af_packet.c
+++ b/src/vnet/devices/af_packet/af_packet.c
@@ -105,9 +105,6 @@ af_packet_fd_read_ready (clib_file_t * uf)
u32 idx = uf->private_data;
af_packet_if_t *apif = pool_elt_at_index (apm->interfaces, idx);
- apm->pending_input_bitmap =
- clib_bitmap_set (apm->pending_input_bitmap, idx, 1);
-
/* Schedule the rx node */
vnet_hw_if_rx_queue_set_int_pending (vnm, apif->queue_index);
return 0;
diff --git a/src/vnet/devices/af_packet/af_packet.h b/src/vnet/devices/af_packet/af_packet.h
index 652e173fd2a..d7d16b91c8c 100644
--- a/src/vnet/devices/af_packet/af_packet.h
+++ b/src/vnet/devices/af_packet/af_packet.h
@@ -62,9 +62,6 @@ typedef struct
CLIB_CACHE_LINE_ALIGN_MARK (cacheline0);
af_packet_if_t *interfaces;
- /* bitmap of pending rx interfaces */
- uword *pending_input_bitmap;
-
/* rx buffer cache */
u32 **rx_buffers;