Home
last modified time | relevance | path

Searched refs:tc_to_txq (Results 1 – 11 of 11) sorted by relevance

/linux-6.3-rc2/net/sched/
A Dsch_mqprio_lib.c111 qopt->count[tc] = dev->tc_to_txq[tc].count; in mqprio_qopt_reconstruct()
112 qopt->offset[tc] = dev->tc_to_txq[tc].offset; in mqprio_qopt_reconstruct()
A Dsch_taprio.c765 int offset = dev->tc_to_txq[tc].offset; in taprio_next_tc_txq()
766 int count = dev->tc_to_txq[tc].count; in taprio_next_tc_txq()
1421 offset = dev->tc_to_txq[i].offset; in tc_map_to_queue_mask()
1422 count = dev->tc_to_txq[i].count; in tc_map_to_queue_mask()
1750 if (dev->tc_to_txq[i].count != mqprio->count[i] || in taprio_mqprio_cmp()
1751 dev->tc_to_txq[i].offset != mqprio->offset[i]) in taprio_mqprio_cmp()
A Dsch_mqprio.c518 struct netdev_tc_txq tc = dev->tc_to_txq[cl & TC_BITMASK]; in mqprio_dump_class_stats()
/linux-6.3-rc2/drivers/net/ethernet/sfc/siena/
A Dtx.c383 net_dev->tc_to_txq[tc].offset = tc * efx->n_tx_channels; in efx_siena_setup_tc()
384 net_dev->tc_to_txq[tc].count = efx->n_tx_channels; in efx_siena_setup_tc()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Den_main.c2060 if (txq - tc_to_txq[tc].offset < tc_to_txq[tc].count) in mlx5e_mqprio_txq_to_tc()
2715 struct netdev_tc_txq *tc_to_txq) in mlx5e_netdev_set_tcs() argument
2733 count = tc_to_txq[tc].count; in mlx5e_netdev_set_tcs()
2734 offset = tc_to_txq[tc].offset; in mlx5e_netdev_set_tcs()
2765 struct netdev_tc_txq old_tc_to_txq[TC_MAX_QUEUE], *tc_to_txq; in mlx5e_update_netdev_queues() local
2775 old_tc_to_txq[i] = netdev->tc_to_txq[i]; in mlx5e_update_netdev_queues()
2779 tc_to_txq = priv->channels.params.mqprio.tc_to_txq; in mlx5e_update_netdev_queues()
2781 err = mlx5e_netdev_set_tcs(netdev, nch, ntc, tc_to_txq); in mlx5e_update_netdev_queues()
3344 memset(tc_to_txq, 0, sizeof(*tc_to_txq) * TC_MAX_QUEUE); in mlx5e_mqprio_build_default_tc_to_txq()
3350 tc_to_txq[tc] = (struct netdev_tc_txq) { in mlx5e_mqprio_build_default_tc_to_txq()
[all …]
A Den.h309 struct netdev_tc_txq tc_to_txq[TC_MAX_QUEUE]; member
/linux-6.3-rc2/drivers/net/ethernet/sfc/
A Dtx.c636 net_dev->tc_to_txq[tc].offset = tc * efx->n_tx_channels; in efx_setup_tc()
637 net_dev->tc_to_txq[tc].count = efx->n_tx_channels; in efx_setup_tc()
/linux-6.3-rc2/drivers/net/ethernet/sfc/falcon/
A Dtx.c450 net_dev->tc_to_txq[tc].offset = tc * efx->n_tx_channels; in ef4_setup_tc()
451 net_dev->tc_to_txq[tc].count = efx->n_tx_channels; in ef4_setup_tc()
/linux-6.3-rc2/net/core/
A Ddev.c2307 struct netdev_tc_txq *tc = &dev->tc_to_txq[0]; in netif_setup_tc()
2320 tc = &dev->tc_to_txq[q]; in netif_setup_tc()
2332 struct netdev_tc_txq *tc = &dev->tc_to_txq[0]; in netdev_txq_to_tc()
2763 memset(dev->tc_to_txq, 0, sizeof(dev->tc_to_txq)); in netdev_reset_tc()
2776 dev->tc_to_txq[tc].count = count; in netdev_set_tc_queue()
2777 dev->tc_to_txq[tc].offset = offset; in netdev_set_tc_queue()
2805 memset(sb_dev->tc_to_txq, 0, sizeof(sb_dev->tc_to_txq)); in netdev_unbind_sb_channel()
2828 sb_dev->tc_to_txq[tc].count = count; in netdev_bind_sb_channel_queue()
2829 sb_dev->tc_to_txq[tc].offset = offset; in netdev_bind_sb_channel_queue()
3191 qoffset = sb_dev->tc_to_txq[tc].offset; in skb_tx_hash()
[all …]
/linux-6.3-rc2/include/linux/
A Dnetdevice.h2347 struct netdev_tc_txq tc_to_txq[TC_MAX_QUEUE]; member
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_main.c8614 txq = vdev->tc_to_txq[tc].offset; in ixgbe_select_queue()
8616 vdev->tc_to_txq[tc].count); in ixgbe_select_queue()

Completed in 80 milliseconds