CPORT_ID_MAX
BUILD_BUG_ON(CPORT_ID_MAX >= (long)CPORT_ID_BAD);
if (num_cports == 0 || num_cports > CPORT_ID_MAX + 1) {
if (cport_id > CPORT_ID_MAX)