Lines Matching defs:tc
56 int tc;
64 for (tc = 0; tc < tc_count; tc++) {
66 stats->qptc[tc] += IXGBE_READ_REG(hw, IXGBE_QPTC(tc));
68 stats->qbtc[tc] += IXGBE_READ_REG(hw, IXGBE_QBTC_L(tc));
69 stats->qbtc[tc] +=
70 (((u64)(IXGBE_READ_REG(hw, IXGBE_QBTC_H(tc)))) << 32);
72 stats->qprc[tc] += IXGBE_READ_REG(hw, IXGBE_QPRC(tc));
74 stats->qbrc[tc] += IXGBE_READ_REG(hw, IXGBE_QBRC_L(tc));
75 stats->qbrc[tc] +=
76 (((u64)(IXGBE_READ_REG(hw, IXGBE_QBRC_H(tc)))) << 32);
79 stats->qprdc[tc] += IXGBE_READ_REG(hw, IXGBE_QPRDC(tc));
97 int tc;
104 for (tc = 0; tc < tc_count; tc++) {
106 stats->pxofftxc[tc] += IXGBE_READ_REG(hw, IXGBE_PXOFFTXC(tc));
108 stats->pxoffrxc[tc] += IXGBE_READ_REG(hw, IXGBE_PXOFFRXCNT(tc));
121 * @map: priority to tc assignments indexed by priority
142 * map all UPs to TCs. up_to_tc_bitmap for each TC has corresponding
143 * bits sets for the UPs that needs to be mapped to that TC.
144 * e.g if priorities 6 and 7 are to be mapped to a TC then the
145 * up_to_tc_bitmap value for that TC will be 11000000 in binary.
193 /* Clear the per-Tx queue credits; we use per-TC instead */
232 * @map: priority to tc assignments indexed by priority
253 * map all UPs to TCs. up_to_tc_bitmap for each TC has corresponding
254 * bits sets for the UPs that needs to be mapped to that TC.
255 * e.g if priorities 6 and 7 are to be mapped to a TC then the
256 * up_to_tc_bitmap value for that TC will be 11000000 in binary.
294 * @map: priority to tc assignments indexed by priority
311 * X540 supports per TC Rx priority flow control. So
331 /* Configure PFC Tx thresholds per TC */
406 * Set all 16 queues of each TC to the same stat
407 * with TC 'n' going to stat 'n'.
417 * Set all queues of each TC to the same stat
418 * with TC 'n' going to stat 'n'.
446 * Set all 16 queues of each TC to the same stat
447 * with TC 'n' going to stat 'n'.
451 /* In 4 TC mode, odd 16-queue ranges are
462 * Set all queues of each TC to the same stat
463 * with TC 'n' going to stat 'n'.
483 * Queue Indexing in 32 VF with DCB mode maps 4 TC's to each
484 * pool. Set all 32 queues of each TC across pools to the same
485 * stat with TC 'n' going to stat 'n'.
493 * Queue Indexing in 32 VF with DCB mode maps 4 TC's to each
494 * pool. Set all 32 queues of each TC across pools to the same
495 * stat with TC 'n' going to stat 'n'.
596 * @map: priority to tc assignments indexed by priority