ds_port_add
if (ds_port_add(mdp, portp[idx], chanp[0]) != 0) {
static int ds_port_add(md_t *mdp, mde_cookie_t port, mde_cookie_t chan);