Number of bytes to allocate for the buffer containing the packets.
| 227 | |
| 228 | /// Number of bytes to allocate for the buffer containing the packets. |
| 229 | RPC_ATTRS static constexpr uint64_t buffer_bytes(uint32_t port_count, |
| 230 | uint32_t lane_size) { |
| 231 | return port_count * lane_size * sizeof(Buffer); |
| 232 | } |
| 233 | |
| 234 | /// Offset of the inbox in memory. This is the same as the outbox if inverted. |
| 235 | RPC_ATTRS static constexpr uint64_t inbox_offset(uint32_t port_count) { |
nothing calls this directly
no outgoing calls
no test coverage detected