From f52e231e3e71fa97276260d87f192701e2232614 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Sun, 6 Dec 2020 13:41:14 +0100 Subject: 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 Signed-off-by: Sander Vrijders --- src/ipcpd/unicast/fa.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ipcpd/unicast/fa.h') 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 */ -- cgit v1.2.3