Lines Matching +full:low +full:- +full:bandwidth

2   SPDX-License-Identifier: BSD-3-Clause
4 Copyright (c) 2001-2020, Intel Corporation
41 * ixgbe_dcb_get_tc_stats_82599 - Returns status for each traffic class
62 stats->qptc[tc] += IXGBE_READ_REG(hw, IXGBE_QPTC(tc)); in ixgbe_dcb_get_tc_stats_82599()
63 /* Transmitted Bytes (read low first to prevent missed carry) */ in ixgbe_dcb_get_tc_stats_82599()
64 stats->qbtc[tc] += IXGBE_READ_REG(hw, IXGBE_QBTC_L(tc)); in ixgbe_dcb_get_tc_stats_82599()
65 stats->qbtc[tc] += in ixgbe_dcb_get_tc_stats_82599()
68 stats->qprc[tc] += IXGBE_READ_REG(hw, IXGBE_QPRC(tc)); in ixgbe_dcb_get_tc_stats_82599()
69 /* Received Bytes (read low first to prevent missed carry) */ in ixgbe_dcb_get_tc_stats_82599()
70 stats->qbrc[tc] += IXGBE_READ_REG(hw, IXGBE_QBRC_L(tc)); in ixgbe_dcb_get_tc_stats_82599()
71 stats->qbrc[tc] += in ixgbe_dcb_get_tc_stats_82599()
75 stats->qprdc[tc] += IXGBE_READ_REG(hw, IXGBE_QPRDC(tc)); in ixgbe_dcb_get_tc_stats_82599()
82 * ixgbe_dcb_get_pfc_stats_82599 - Return CBFC status data
102 stats->pxofftxc[tc] += IXGBE_READ_REG(hw, IXGBE_PXOFFTXC(tc)); in ixgbe_dcb_get_pfc_stats_82599()
104 stats->pxoffrxc[tc] += IXGBE_READ_REG(hw, IXGBE_PXOFFRXCNT(tc)); in ixgbe_dcb_get_pfc_stats_82599()
111 * ixgbe_dcb_config_rx_arbiter_82599 - Config Rx Data arbiter
115 * @bwg_id: bandwidth grouping indexed by traffic class
174 * ixgbe_dcb_config_tx_desc_arbiter_82599 - Config Tx Desc. arbiter
178 * @bwg_id: bandwidth grouping indexed by traffic class
189 /* Clear the per-Tx queue credits; we use per-TC instead */ in ixgbe_dcb_config_tx_desc_arbiter_82599()
222 * ixgbe_dcb_config_tx_data_arbiter_82599 - Config Tx Data arbiter
226 * @bwg_id: bandwidth grouping indexed by traffic class
287 * ixgbe_dcb_config_pfc_82599 - Configure priority flow control
313 if (hw->mac.type >= ixgbe_mac_X540) in ixgbe_dcb_config_pfc_82599()
339 reg = (hw->fc.high_water[i] << 10) | IXGBE_FCRTH_FCEN; in ixgbe_dcb_config_pfc_82599()
340 fcrtl = (hw->fc.low_water[i] << 10) | IXGBE_FCRTL_XONE; in ixgbe_dcb_config_pfc_82599()
346 * to the Rx packet buffer size - 24KB. This allows in ixgbe_dcb_config_pfc_82599()
350 reg = IXGBE_READ_REG(hw, IXGBE_RXPBSIZE(i)) - 24576; in ixgbe_dcb_config_pfc_82599()
363 reg = hw->fc.pause_time | (hw->fc.pause_time << 16); in ixgbe_dcb_config_pfc_82599()
368 IXGBE_WRITE_REG(hw, IXGBE_FCRTV, hw->fc.pause_time / 2); in ixgbe_dcb_config_pfc_82599()
374 * ixgbe_dcb_config_tc_stats_82599 - Config traffic class statistics
390 tc_count = dcb_config->num_tcs.pg_tcs; in ixgbe_dcb_config_tc_stats_82599()
391 vt_mode = dcb_config->vt_mode; in ixgbe_dcb_config_tc_stats_82599()
415 * Tx queues are allocated non-uniformly to TCs: in ixgbe_dcb_config_tc_stats_82599()
447 /* In 4 TC mode, odd 16-queue ranges are in ixgbe_dcb_config_tc_stats_82599()
460 * Tx queues are allocated non-uniformly to TCs: in ixgbe_dcb_config_tc_stats_82599()
501 * ixgbe_dcb_config_82599 - Configure general DCB parameters
519 if (dcb_config->num_tcs.pg_tcs == 8) { in ixgbe_dcb_config_82599()
544 if (dcb_config->num_tcs.pg_tcs == 4) { in ixgbe_dcb_config_82599()
545 /* We support both VT-on and VT-off with 4 TCs. */ in ixgbe_dcb_config_82599()
546 if (dcb_config->vt_mode) in ixgbe_dcb_config_82599()
556 if (dcb_config->num_tcs.pg_tcs == 8) in ixgbe_dcb_config_82599()
559 /* We support both VT-on and VT-off with 4 TCs. */ in ixgbe_dcb_config_82599()
561 if (dcb_config->vt_mode) in ixgbe_dcb_config_82599()
585 * ixgbe_dcb_hw_config_82599 - Configure and enable DCB
590 * @bwg_id: bandwidth grouping indexed by traffic class