DPAA2_MAX_CHANNELS
sc->chan_n = num_chan > DPAA2_MAX_CHANNELS
? DPAA2_MAX_CHANNELS : num_chan;
struct dpaa2_channel *channels[DPAA2_MAX_CHANNELS];