QM_SG_OFF_MASK
qm_sg_ptr->offset = cpu_to_be16(offset & QM_SG_OFF_MASK);
return be16_to_cpu(sg->offset) & QM_SG_OFF_MASK;