Searched refs:sgec (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_ioctl.c | 1790 struct t4_sge_context sgec; in get_sge_context() local 1794 if (ddi_copyin(data, &sgec, sizeof (sgec), flags) < 0) { in get_sge_context() 1799 if (sgec.len < SGE_CTXT_SIZE || sgec.addr > M_CTXTQID) { in get_sge_context() 1804 if ((sgec.mem_id != T4_CTXT_EGRESS) && (sgec.mem_id != T4_CTXT_FLM) && in get_sge_context() 1805 (sgec.mem_id != T4_CTXT_INGRESS)) { in get_sge_context() 1811 -t4_sge_ctxt_rd(sc, sc->mbox, sgec.addr, sgec.mem_id, buff) : in get_sge_context() 1812 -t4_sge_ctxt_rd_bd(sc, sgec.addr, sgec.mem_id, buff); in get_sge_context() 1816 sgec.version = 4 | (sc->params.chip << 10); in get_sge_context() 1819 rc = ddi_copyout(buff, sgec.data, sgec.len, flags); in get_sge_context() 1821 rc = ddi_copyout(&sgec, data, sizeof (sgec), flags); in get_sge_context()
|