diff options
author | Dimitri Staessens <[email protected]> | 2020-12-06 13:41:14 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2020-12-07 18:39:41 +0100 |
commit | f52e231e3e71fa97276260d87f192701e2232614 (patch) | |
tree | 8903f9d1c2b3166833b6960062df0c4f182975c6 /src/ipcpd/unicast/fa.h | |
parent | 37ebb798813514bc29b60ea7d28b99ad1036c68d (diff) | |
download | ouroboros-f52e231e3e71fa97276260d87f192701e2232614.tar.gz ouroboros-f52e231e3e71fa97276260d87f192701e2232614.zip |
ipcpd: Remove DT-FA bypass on receiver side
The DT will now post all packets for N+1 flows through the flow
allocator component. This means that N+1 flows can be monitored
through the flow allocator stats, and N-1 flows through the DT stats.
The DT component still keeps stats for the local components (FA and
DHT), but this can be removed once the DHT has its own RIB
output.
The flow allocator show statistics for
Sent packets: total packets that were presented for sending
on this specific flow
Send failed: packets that were unable to be sent
Received packets: total packets that were presented by the DT component
on this specific flow
Received failed: packets that were unable to be delivered
These stats are presented as both packet counts and byte counts. To
know how many were successful, the values for failed need to be
subtracted from the values for total.
Signed-off-by: Dimitri Staessens <[email protected]>
Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/ipcpd/unicast/fa.h')
-rw-r--r-- | src/ipcpd/unicast/fa.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ipcpd/unicast/fa.h b/src/ipcpd/unicast/fa.h index daba2a51..c5c1baec 100644 --- a/src/ipcpd/unicast/fa.h +++ b/src/ipcpd/unicast/fa.h @@ -47,8 +47,8 @@ int fa_alloc_resp(int fd, int fa_dealloc(int fd); -void fa_ecn_update(int eid, - uint8_t ecn, - size_t len); +void fa_np1_rcv(uint32_t eid, + uint8_t ecn, + struct shm_du_buff * sdb); #endif /* OUROBOROS_IPCPD_UNICAST_FA_H */ |