clamp_t
#define clamp_val(val, lo, hi) clamp_t(typeof(val), val, lo, hi)
max_buf = clamp_t(uint16_t, max_buf, 1, 63);
max_buf_irq = clamp_t(uint16_t, softc->rx_coal_frames_irq, 1, 63);
max_buf = clamp_t(uint16_t, softc->tx_coal_frames, 1, 63);
max_buf_irq = clamp_t(uint16_t, softc->tx_coal_frames_irq, 1, 63);
entries = clamp_t(u32, entries, ctxm->min_entries, ctxm->max_entries);
#define clamp_val(val, lo, hi) clamp_t(__typeof(val), val, lo, hi)