create_sg_component
ret = create_sg_component(sr, &sr->in, sr->in.sgmap_cnt);
ret = create_sg_component(sr, &sr->out, sr->out.sgmap_cnt);