aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2023-10-17 16:06:26 +0000
committerDamjan Marion <damarion@cisco.com>2023-11-02 13:41:32 +0000
commit38c619115b0399bae8b0dcf66e57e623cc50809c (patch)
tree2d40af83187c2dce0e971328ab7add4d9940ac57 /.clang-format
parentd3ef00098cd27e01bb24db15e3440fabbc025aa8 (diff)
dev: new device driver infra
Type: feature Change-Id: I20c56e0d3103624407f18365c2bc1273dea5c199 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format7
1 files changed, 7 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
index 03568413bf8..62791fad06c 100644
--- a/.clang-format
+++ b/.clang-format
@@ -21,15 +21,22 @@ ForEachMacros:
- 'vec_foreach_pointer'
- 'vlib_foreach_rx_tx'
- 'foreach_int'
+ - 'foreach_pointer'
- 'foreach_vlib_main'
- 'foreach_set_bit_index'
- 'foreach_vlib_frame_bitmap_set_bit_index'
- 'FOREACH_ARRAY_ELT'
- 'RTE_ETH_FOREACH_DEV'
+ - 'foreach_vnet_dev_rx_queue_runtime'
+ - 'foreach_vnet_dev_counter'
+ - 'foreach_vnet_dev_port_rx_queue'
+ - 'foreach_vnet_dev_port_tx_queue'
+ - 'foreach_vnet_dev_port'
StatementMacros:
- 'CLIB_MULTIARCH_FN'
- 'VLIB_NODE_FN'
+ - 'VNET_DEV_NODE_FN'
- 'VNET_DEVICE_CLASS_TX_FN'
- '__clib_section'
- '__clib_aligned'