Compute c.n_rx dynamically from the rx runtime parameter