Searched refs:max_tc (Results 1 – 4 of 4) sorted by relevance
216 u8 max_tc = 0; in ixgbe_dcb_config_pfc_82599() local241 if (prio_tc[i] > max_tc) in ixgbe_dcb_config_pfc_82599()242 max_tc = prio_tc[i]; in ixgbe_dcb_config_pfc_82599()247 for (i = 0; i <= max_tc; i++) { in ixgbe_dcb_config_pfc_82599()
538 __u8 max_tc = 0; in ixgbe_dcbnl_ieee_setets() local560 if (ets->prio_tc[i] > max_tc) in ixgbe_dcbnl_ieee_setets()561 max_tc = ets->prio_tc[i]; in ixgbe_dcbnl_ieee_setets()568 if (max_tc) in ixgbe_dcbnl_ieee_setets()569 max_tc++; in ixgbe_dcbnl_ieee_setets()571 if (max_tc > adapter->dcb_cfg.num_tcs.pg_tcs) in ixgbe_dcbnl_ieee_setets()574 if (max_tc != netdev_get_num_tc(dev)) { in ixgbe_dcbnl_ieee_setets()575 err = ixgbe_setup_tc(dev, max_tc); in ixgbe_dcbnl_ieee_setets()
920 u8 max_tc; member
3705 bp->max_tc = resp->max_configurable_queues; in bnxt_hwrm_queue_qportcfg()3706 if (bp->max_tc > BNXT_MAX_QUEUE) in bnxt_hwrm_queue_qportcfg()3707 bp->max_tc = BNXT_MAX_QUEUE; in bnxt_hwrm_queue_qportcfg()3710 for (i = 0; i < bp->max_tc; i++) { in bnxt_hwrm_queue_qportcfg()5287 if (tc > bp->max_tc) { in bnxt_setup_tc()5289 tc, bp->max_tc); in bnxt_setup_tc()