2 * Copyright (c) 2017 Cisco and/or its affiliates.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at:
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
16 #ifndef __included_tw_timer_2t_1w_2048sl_h__
17 #define __included_tw_timer_2t_1w_2048sl_h__
19 /* ... So that a client app can create multiple wheel geometries */
20 #undef TW_TIMER_WHEELS
21 #undef TW_SLOTS_PER_RING
24 #undef TW_TIMERS_PER_OBJECT
25 #undef LOG2_TW_TIMERS_PER_OBJECT
28 #define TW_TIMER_WHEELS 1
29 #define TW_SLOTS_PER_RING 2048
30 #define TW_RING_SHIFT 11
31 #define TW_RING_MASK (TW_SLOTS_PER_RING -1)
32 #define TW_TIMERS_PER_OBJECT 2
33 #define LOG2_TW_TIMERS_PER_OBJECT 1
34 #define TW_SUFFIX _2t_1w_2048sl
36 #include <vppinfra/tw_timer_template.h>
38 #endif /* __included_tw_timer_2t_1w_2048sl_h__ */
41 * fd.io coding-style-patch-verification: ON
44 * eval: (c-set-style "gnu")