| 146 | int eca_dynfield_offset = -1; |
| 147 | |
| 148 | static int |
| 149 | eca_dynfield_register(void) |
| 150 | { |
| 151 | static const struct rte_mbuf_dynfield eca_dynfield_desc = { |
| 152 | .name = ECA_DYNFIELD_NAME, |
| 153 | .size = sizeof(eca_dynfield_t), |
| 154 | .align = __alignof__(eca_dynfield_t), |
| 155 | .flags = 0, |
| 156 | }; |
| 157 | |
| 158 | eca_dynfield_offset = |
| 159 | rte_mbuf_dynfield_register(&eca_dynfield_desc); |
| 160 | return eca_dynfield_offset; |
| 161 | } |
| 162 | |
| 163 | static inline int |
| 164 | eca_valid_id(uint8_t id) |
no test coverage detected