summaryrefslogtreecommitdiffstats
path: root/RELEASE.md
AgeCommit message (Expand)AuthorFilesLines
2020-02-06misc: VPP 20.01 Release NotesAndrew Yourtchenko1-1/+1297
2020-01-15misc: Initial 20.05-rc0 commitAndrew Yourtchenko1-0/+5
2020-01-11misc: VPP 19.08.1 release notesAndrew Yourtchenko1-0/+69
2019-10-29misc: 19.04.3 Release NotesDave Wallace1-0/+9
2019-08-26misc: VPP 19.08 Release NotesAndrew Yourtchenko1-1/+688
2019-08-07Initial 20.01-rc0 commitv20.01-rc0Andrew Yourtchenko1-0/+5
2019-07-25misc: 19.04.2 Release NotesDave Wallace1-0/+9
2019-07-19misc: 19.01.3 Release NotesAndrew Yourtchenko1-0/+9
2019-05-3019.04.1 Release NotesDave Wallace1-7/+16
2019-05-1719.01.2 Release NotesAndrew Yourtchenko1-0/+9
2019-04-30VPP 19.04 Release NotesDave Wallace1-1/+64
2019-04-19Doxygen cleanup.Dave Wallace1-0/+298
2019-04-10Initial 19.08-rc0 commitv19.08-rc0Dave Wallace1-0/+10
2019-03-0619.01.1 Release NotesDave Wallace1-0/+9
2019-02-1519.01 Release NotesAndrew Yourtchenko1-0/+389
2018-10-23Release Notes for 18.10Marco Varlese1-0/+316
2018-07-30Update Release Notes for 18.07 ReleaseEd Warnicke1-0/+316
2018-05-1818.01.2 Release NotesDave Wallace1-0/+10
2018-04-26VPP 18.04 release notesChris Luke1-252/+1732
2018-04-04Doc updates prior to branchChris Luke1-0/+8
2018-02-02Update 18.01 Release NotesDave Wallace1-0/+1
2018-01-2518.01 Release NotesDave Wallace1-3/+453
2017-10-2617.10 Release NotesFlorin Coras1-0/+251
2017-07-2617.07 Release NoteNeale Ranns1-0/+64
2017-05-161704: Release notes. Cherry pick from 6288.Ole Troan1-2/+111
2017-04-20docs: Forward-port missing 17.01 release notesChris Luke1-1/+83
2017-03-01Initial Release notes for 17.04.Ole Troan1-0/+20
2016-12-21Bump to 17.04 releasev17.04-rc0Damjan Marion1-1/+6
2016-09-21Copy the 16.09 release notes to masterChris Luke1-0/+200
e_main_t; typedef struct { u32 hw_if_index; u32 dev_instance; u16 queue_id; vnet_hw_interface_rx_mode mode; u32 interrupt_pending; } vnet_device_and_queue_t; typedef struct { vnet_device_and_queue_t *devices_and_queues; vlib_node_state_t enabled_node_state; } vnet_device_input_runtime_t; extern vnet_device_main_t vnet_device_main; extern vlib_node_registration_t device_input_node; extern const u32 device_input_next_node_advance[]; extern const u32 device_input_next_node_flags[]; static inline void vnet_hw_interface_set_input_node (vnet_main_t * vnm, u32 hw_if_index, u32 node_index) { vnet_hw_interface_t *hw = vnet_get_hw_interface (vnm, hw_if_index); hw->input_node_index = node_index; } void vnet_hw_interface_assign_rx_thread (vnet_main_t * vnm, u32 hw_if_index, u16 queue_id, uword thread_index); int vnet_hw_interface_unassign_rx_thread (vnet_main_t * vnm, u32 hw_if_index, u16 queue_id); int vnet_hw_interface_set_rx_mode (vnet_main_t * vnm, u32 hw_if_index, u16 queue_id, vnet_hw_interface_rx_mode mode); int vnet_hw_interface_get_rx_mode (vnet_main_t * vnm, u32 hw_if_index, u16 queue_id, vnet_hw_interface_rx_mode * mode); static inline u64 vnet_get_aggregate_rx_packets (void) { vnet_device_main_t *vdm = &vnet_device_main; u64 sum = 0; vnet_device_per_worker_data_t *pwd; vec_foreach (pwd, vdm->workers) sum += pwd->aggregate_rx_packets; return sum; } static inline void vnet_device_increment_rx_packets (u32 thread_index, u64 count) { vnet_device_main_t *vdm = &vnet_device_main; vnet_device_per_worker_data_t *pwd; pwd = vec_elt_at_index (vdm->workers, thread_index); pwd->aggregate_rx_packets += count; } static_always_inline vnet_device_and_queue_t * vnet_get_device_and_queue (vlib_main_t * vm, vlib_node_runtime_t * node) { vnet_device_input_runtime_t *rt = (void *) node->runtime_data; return rt->devices_and_queues; } static_always_inline uword vnet_get_device_input_thread_index (vnet_main_t * vnm, u32 hw_if_index, u16 queue_id) { vnet_hw_interface_t *hw = vnet_get_hw_interface (vnm, hw_if_index); ASSERT (queue_id < vec_len (hw->input_node_thread_index_by_queue)); return hw->input_node_thread_index_by_queue[queue_id]; } static_always_inline void vnet_device_input_set_interrupt_pending (vnet_main_t * vnm, u32 hw_if_index, u16 queue_id) { vlib_main_t *vm; vnet_hw_interface_t *hw; vnet_device_input_runtime_t *rt; vnet_device_and_queue_t *dq; uword idx; hw = vnet_get_hw_interface (vnm, hw_if_index); idx = vnet_get_device_input_thread_index (vnm, hw_if_index, queue_id); vm = vlib_mains[idx]; rt = vlib_node_get_runtime_data (vm, hw->input_node_index); idx = hw->dq_runtime_index_by_queue[queue_id]; dq = vec_elt_at_index (rt->devices_and_queues, idx); dq->interrupt_pending = 1; vlib_node_set_interrupt_pending (vm, hw->input_node_index); } #define foreach_device_and_queue(var,vec) \ for (var = (vec); var < vec_end (vec); var++) \ if (clib_smp_swap (&((var)->interrupt_pending), 0) || \ var->mode == VNET_HW_INTERFACE_RX_MODE_POLLING) #endif /* included_vnet_vnet_device_h */ /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */