diff options
| author | songyanchao <[email protected]> | 2024-07-09 03:23:34 +0000 |
|---|---|---|
| committer | songyanchao <[email protected]> | 2024-07-12 02:21:03 +0000 |
| commit | e57941c81a739c323ed79a1c90028b7a516b0c51 (patch) | |
| tree | 2b734f6a110d1b689ec94bc49553053bd208c406 /include | |
| parent | e9dc535206b70c77d97046514a43e36d58e34cc7 (diff) | |
🎈 perf: Optimize health check conditions in eth ingress node.
Optimize health check conditions in eth ingress node.
Diffstat (limited to 'include')
| -rw-r--r-- | include/internal/mrb_define.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/internal/mrb_define.h b/include/internal/mrb_define.h index 1fd663c..be74c33 100644 --- a/include/internal/mrb_define.h +++ b/include/internal/mrb_define.h @@ -23,7 +23,8 @@ struct mrb_metadata /* status */ uint8_t dir : 1; uint8_t packet_create_from_nf : 1; - uint8_t no_use : 6; + uint8_t health_check : 1; + uint8_t no_use : 5; uint8_t is_ctrlbuf : 1; uint8_t adapter_type : 2; @@ -52,13 +53,14 @@ struct mrb_metadata uint8_t measurement_type; + /* data path trace buffer */ + void * dp_trace_buffer; + RTE_MARKER cacheline1 __rte_cache_min_aligned; /* pkt_parser result */ struct pkt_parser_result pkt_parser_result; - /* data path trace buffer */ - void * dp_trace_buffer; } __rte_cache_aligned; static inline void mrb_metadata_clear(struct mrb_metadata * mrb_meta) |
