Commit 92545e65 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

wr_endpoint/rx_buffer: rise drop earlier when the buffer is getting full

Otherwise, FSM cannot react on time under a storm of traffic.
parent 0f976efa
......@@ -68,7 +68,7 @@ end ep_rx_buffer;
architecture behavioral of ep_rx_buffer is
constant c_drop_threshold : integer := g_size - 2;
constant c_drop_threshold : integer := g_size - 3;
constant c_release_threshold : integer := g_size * 7 / 8;
type t_write_state is(WAIT_FRAME, DATA);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment