Lines Matching refs:len16
154 u_int len16; /* # of 16B pieces used by this work request */
1967 set_mbuf_len16(struct mbuf *m, uint8_t len16)
1971 m->m_pkthdr.PH_loc.eigth[0] = len16;
2210 start_wrq_wr(struct sge_wrq *wrq, int len16, struct wrq_cookie *cookie)
2218 MPASS(len16 > 0);
2219 ndesc = howmany(len16, EQ_ESIZE / 16);
2230 wr = alloc_wrqe(len16 * 16, wrq);
2255 wrq->ss_len = len16 * 16;
3846 * len16 for a txpkt WR with a GL. Includes the firmware work request header.
3865 * len16 for a txpkts type 0 WR with a GL. Does not include the firmware work
3884 * len16 for a txpkts type 1 WR with a GL. Does not include the firmware work
3924 int len16, ndesc, pktlen, nsegs;
3931 len16 = mbuf_len16(m0);
3938 /* Immediate data. Recalculate len16 and set nsegs to 0. */
3940 len16 = howmany(sizeof(struct fw_eth_tx_pkt_wr) +
3944 ndesc = howmany(len16, EQ_ESIZE / 16);
3952 ctrl = V_FW_WR_LEN16(len16);
4054 txp->len16 = howmany(sizeof(struct fw_eth_tx_pkts_wr), 16) + l1 + l2;
4055 needed = howmany(txp->len16, EQ_ESIZE / 16);
4073 u_int plen, len16, needed, nsegs;
4086 len16 = txpkts0_len16(nsegs);
4088 len16 = txpkts1_len16();
4089 needed = howmany(txp->len16 + len16, EQ_ESIZE / 16);
4095 txp->len16 += len16;
4096 set_mbuf_len16(m, len16);
4126 MPASS(txp->len16 <= howmany(SGE_MAX_WR_LEN, 16));
4129 ndesc = howmany(txp->len16, EQ_ESIZE / 16);
4134 ctrl = V_FW_WR_LEN16(txp->len16);