Symbol: txinfo
usr/src/cmd/mdb/intel/modules/xhci/xhci.c
232
uint32_t info, info2, txinfo;
usr/src/cmd/mdb/intel/modules/xhci/xhci.c
247
txinfo = LE_32(epctx.xec_txinfo);
usr/src/cmd/mdb/intel/modules/xhci/xhci.c
270
mdb_printf("Average TRB Length: %d\n", XHCI_EPCTX_AVG_TRB_LEN(txinfo));
usr/src/cmd/mdb/intel/modules/xhci/xhci.c
271
mdb_printf("Max ESIT: %d\n", XHCI_EPCTX_GET_MAX_ESIT_PAYLOAD(txinfo));
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
1109
struct txinfo txinfo = {};
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
1136
rc = get_frame_txinfo(txq, &frame, &txinfo, coalescing);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
1163
add_to_txpkts(txq, &txpkts, frame, &txinfo) == 0) {
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
1165
write_ulp_cpl_sgl(pi, txq, &txpkts, &txinfo);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
1185
rc = write_txpkt_wr(pi, txq, frame, &txinfo);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
1197
free_txinfo_resources(txq, &txinfo);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
1207
txq->stats.txbytes += txinfo.len;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
131
struct txinfo *txinfo, int sgl_only);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
134
struct txinfo *txinfo);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
135
static inline void add_seg(struct txinfo *txinfo, uint64_t ba, uint32_t len);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
136
static inline int add_mblk(struct sge_txq *txq, struct txinfo *txinfo,
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
138
static void free_txinfo_resources(struct sge_txq *txq, struct txinfo *txinfo);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
140
struct txinfo *txinfo);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
143
struct txinfo *txinfo);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
146
struct txpkts *txpkts, struct txinfo *txinfo);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2440
get_frame_txinfo(struct sge_txq *txq, mblk_t **fp, struct txinfo *txinfo,
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2450
txinfo->flags = (flags & HCK_TX_FLAGS);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2452
mac_lso_get(m, &txinfo->mss, &flags);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2453
txinfo->flags |= (flags & HW_LSO_FLAGS);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2462
if (txinfo->flags != 0) {
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2463
mac_ether_offload_info(m, &txinfo->meoi);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2465
bzero(&txinfo->meoi, sizeof (txinfo->meoi));
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2469
txinfo->nsegs = 0;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2470
txinfo->hdls_used = 0;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2471
txinfo->txb_used = 0;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2472
txinfo->len = 0;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2479
txinfo->len += len;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2492
mac_hcksum_set(m, 0, 0, 0, 0, txinfo->flags);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2495
if (txinfo->len <= IMM_LEN && !sgl_only)
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2498
if (txinfo->len <= txq->copy_threshold &&
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2499
copy_into_txb(txq, m, txinfo->len, txinfo) == 0) {
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2512
(rc = copy_into_txb(txq, m, len, txinfo)) != 0) {
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2513
rc = add_mblk(txq, txinfo, m, len);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2517
(txinfo->nsegs == TX_SGL_SEGS && m->b_cont)) {
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2522
free_txinfo_resources(txq, txinfo);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2525
mac_hcksum_set(m, 0, 0, 0, 0, txinfo->flags);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2534
free_txinfo_resources(txq, txinfo);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2540
ASSERT(txinfo->nsegs > 0 && txinfo->nsegs <= TX_SGL_SEGS);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2548
n = txinfo->nsegs - 1;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2549
txinfo->nflits = (3 * n) / 2 + (n & 1) + 2;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2551
txinfo->sgl.sge[n / 2].len[1] = cpu_to_be32(0);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2553
txinfo->sgl.cmd_nsge = cpu_to_be32(V_ULPTX_CMD((u32)ULP_TX_SC_DSGL) |
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2554
V_ULPTX_NSGE(txinfo->nsegs));
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2583
copy_into_txb(struct sge_txq *txq, mblk_t *m, int len, struct txinfo *txinfo)
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2596
txinfo->txb_used += waste;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2606
add_seg(txinfo, txq->txb_ba + txq->txb_next, len);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2609
txinfo->txb_used += n;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2620
add_seg(struct txinfo *txinfo, uint64_t ba, uint32_t len)
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2622
ASSERT(txinfo->nsegs < TX_SGL_SEGS); /* must have room */
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2624
if (txinfo->nsegs != 0) {
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2625
int idx = txinfo->nsegs - 1;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2626
txinfo->sgl.sge[idx / 2].len[idx & 1] = cpu_to_be32(len);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2627
txinfo->sgl.sge[idx / 2].addr[idx & 1] = cpu_to_be64(ba);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2629
txinfo->sgl.len0 = cpu_to_be32(len);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2630
txinfo->sgl.addr0 = cpu_to_be64(ba);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2632
txinfo->nsegs++;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2651
add_mblk(struct sge_txq *txq, struct txinfo *txinfo, mblk_t *m, int len)
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2677
if (ccount + txinfo->nsegs > TX_SGL_SEGS) {
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2682
add_seg(txinfo, cookie.dmac_laddress, cookie.dmac_size);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2685
add_seg(txinfo, cookie.dmac_laddress, cookie.dmac_size);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2691
txinfo->hdls_used++;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2700
free_txinfo_resources(struct sge_txq *txq, struct txinfo *txinfo)
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2706
n = txinfo->txb_used;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2717
for (n = txinfo->hdls_used; n > 0; n--) {
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2738
struct txinfo *txinfo)
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2749
flits = TXPKTS_PKT_HDR_FLITS + txinfo->nflits;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2750
can_coalesce = (txinfo->flags & HW_LSO) == 0 &&
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2753
txpkts->plen + txinfo->len < 65536;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2760
txpkts->plen += txinfo->len;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2763
txsd->txb_used += txinfo->txb_used;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2764
txsd->hdls_used += txinfo->hdls_used;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2790
ASSERT(txinfo->len < 65536);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2792
flits = TXPKTS_WR_HDR_FLITS + txinfo->nflits;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2799
can_coalesce = (txinfo->flags & HW_LSO) == 0 &&
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2813
txpkts->plen = txinfo->len;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2817
txsd->txb_used = txinfo->txb_used;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2818
txsd->hdls_used = txinfo->hdls_used;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2902
csum_to_ctrl(const struct txinfo *txinfo, uint32_t chip_version,
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2905
const mac_ether_offload_info_t *meoi = &txinfo->meoi;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2906
const uint32_t tx_flags = txinfo->flags;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3003
struct txinfo *txinfo)
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3012
const mac_ether_offload_info_t *meoi = &txinfo->meoi;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3020
if (txinfo->flags & HW_LSO) {
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3026
if (txinfo->nsegs > 0)
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3027
nflits += txinfo->nflits;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3029
nflits += howmany(txinfo->len, FLIT_NUM_BYTES);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3030
ctrl += txinfo->len;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3056
if (txinfo->flags & HW_LSO &&
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3087
lso->mss = cpu_to_be16(txinfo->mss);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3090
lso->len = cpu_to_be32(txinfo->len);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3092
lso->len = cpu_to_be32(V_LSO_T5_XFER_SIZE(txinfo->len));
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3102
switch (csum_to_ctrl(txinfo,
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3122
cpl->len = cpu_to_be16(txinfo->len);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3128
txsd->txb_used = txinfo->txb_used;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3129
txsd->hdls_used = txinfo->hdls_used;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3132
txq->stats.txb_used += txinfo->txb_used / TXB_CHUNK;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3133
txq->stats.hdl_used += txinfo->hdls_used;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3139
if (txinfo->nsegs > 0) {
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3141
copy_to_txd(eq, (void *)&txinfo->sgl, &dst, txinfo->nflits * 8);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3150
ctrl = txinfo->len;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3206
struct txpkts *txpkts, struct txinfo *txinfo)
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3219
switch (csum_to_ctrl(txinfo,
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3249
sizeof (*cpl) + FLITS_TO_BYTES(txinfo->nflits), 16));
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3274
cpl->len = cpu_to_be16(txinfo->len);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3287
copy_to_txd(&txq->eq, (void *)&txinfo->sgl, &dst,
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3288
FLITS_TO_BYTES(txinfo->nflits));