interface: remove the input_node_thread_index_by_queue 30/33930/2
authorMohsin Kazmi <sykazmi@cisco.com>
Fri, 1 Oct 2021 17:01:48 +0000 (19:01 +0200)
committerBeno�t Ganne <bganne@cisco.com>
Mon, 4 Oct 2021 07:41:52 +0000 (07:41 +0000)
Type: fix

input_node_thread_index_by_queue is not being used anymore.

Change-Id: I0141fa0d024affb39771acf7516e064c5c8acfe9
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
src/vnet/interface.c
src/vnet/interface.h

index d0f94b1..56eff35 100644 (file)
@@ -1113,7 +1113,6 @@ vnet_delete_hw_interface (vnet_main_t * vnm, u32 hw_if_index)
   hash_unset_mem (im->hw_interface_by_name, hw->name);
   vec_free (hw->name);
   vec_free (hw->hw_address);
-  vec_free (hw->input_node_thread_index_by_queue);
   vec_free (hw->rx_queue_indices);
   pool_put (im->hw_interfaces, hw);
 }
index 92a43c5..0a30239 100644 (file)
@@ -717,9 +717,6 @@ typedef struct vnet_hw_interface_t
   /* Input node */
   u32 input_node_index;
 
-  /* input node cpu index by queue */
-  u32 *input_node_thread_index_by_queue;
-
   vnet_hw_if_rx_mode default_rx_mode;
 
   /* rx queues */