Searched refs:tc_to_txq (Results 1 – 5 of 5) sorted by relevance
633 net_dev->tc_to_txq[tc].offset = tc * efx->n_tx_channels; in efx_setup_tc()634 net_dev->tc_to_txq[tc].count = efx->n_tx_channels; in efx_setup_tc()
2279 struct netdev_tc_txq *tc_to_txq) in mlx5e_netdev_set_tcs() argument2297 count = tc_to_txq[tc].count; in mlx5e_netdev_set_tcs()2298 offset = tc_to_txq[tc].offset; in mlx5e_netdev_set_tcs()2327 struct netdev_tc_txq old_tc_to_txq[TC_MAX_QUEUE], *tc_to_txq; in mlx5e_update_netdev_queues() local2337 old_tc_to_txq[i] = netdev->tc_to_txq[i]; in mlx5e_update_netdev_queues()2342 tc_to_txq = priv->channels.params.mqprio.tc_to_txq; in mlx5e_update_netdev_queues()2344 err = mlx5e_netdev_set_tcs(netdev, nch, ntc, tc_to_txq); in mlx5e_update_netdev_queues()2867 static void mlx5e_mqprio_build_default_tc_to_txq(struct netdev_tc_txq *tc_to_txq, in mlx5e_mqprio_build_default_tc_to_txq() argument2872 memset(tc_to_txq, 0, sizeof(*tc_to_txq) * TC_MAX_QUEUE); in mlx5e_mqprio_build_default_tc_to_txq()2878 tc_to_txq[tc] = (struct netdev_tc_txq) { in mlx5e_mqprio_build_default_tc_to_txq()[all …]
266 struct netdev_tc_txq tc_to_txq[TC_MAX_QUEUE]; member
449 net_dev->tc_to_txq[tc].offset = tc * efx->n_tx_channels; in ef4_setup_tc()450 net_dev->tc_to_txq[tc].count = efx->n_tx_channels; in ef4_setup_tc()
8513 txq = vdev->tc_to_txq[tc].offset; in ixgbe_select_queue()8515 vdev->tc_to_txq[tc].count); in ixgbe_select_queue()